Reference · Audio
Write down what is said in a recording, or translate it
Write down what is said in a recording, a sound or a clip — the Transcribe page: its words, with who said what and when, as lines, plain text and subtitles (SRT, VTT); or, with language, written in that language instead of as spoken (a translation has no times or speakers, so no subtitles). Recordings up to 60 minutes and 200 MB; it costs 1 credit a minute (each minute started), translated or not; its languages: GET /api/v1/models (studio "transcribe"). The first call measures the recording and quotes the price: show the person it. It comes back as a job (kind "transcript"): GET /api/v1/jobs/{jobId} hands back its words once heard.
- Key needs
create· Make things and spend credits- Price it first
POST /transcripts/quote· free- Answers
- A job to follow
curl -X POST https://vessero.com/api/v1/transcripts \ -H "Authorization: Bearer $VESSERO_API_KEY" \ -H "Idempotency-Key: 47f8f6f5-ea00-4fb1-925f-76aac956a0ec" \ -H "Content-Type: application/json" \ -d '{ "source": { "kind": "upload", "key": "text" }, "confirmCredits": 1 }'
{ "error": { "code": "insufficient_credits", "message": "The account has too few credits for this.", "retryable": false, "requestId": "req_7Lq2XbN0vT4mKc9P" } }
The same body without confirmCredits. It answers the price and your balance, and runs nothing.
Header
- Idempotency-KeystringYour id for this request: 8–64 letters, digits, - or _. A repeat within 10 minutes gets the first answer back and never runs twice. Use the same one for the quote and the run.
- Preferstring
wait=N(up to 60): hold the answer up to N seconds while the job is made, within 80 seconds for the whole call.
Body
- sourceobject · kind upload | video | media | cardrequiredThe recording to transcribe.
- languagestringWrite it in this language instead of as spoken; no times or speakers then. Leave it out for the words as spoken, in whatever language they are. en (English), fr (French), es (Spanish), pt (Portuguese), de (German), it (Italian), nl (Dutch), pl (Polish), ar (Arabic), hi (Hindi), zh (Chinese), ja (Japanese), ko (Korean), ru (Russian), uk (Ukrainian), sv (Swedish), da (Danish), fi (Finnish), el (Greek), he (Hebrew), th (Thai), cs (Czech), sk (Slovak), ro (Romanian), hu (Hungarian), bg (Bulgarian), hr (Croatian), sl (Slovenian), et (Estonian), lv (Latvian), lt (Lithuanian), mt (Maltese).
- namestringWhat to call the transcript in their list, e.g. the file’s name. Optional.
- confirmCreditsintegerrequiredThe price you agree to, in credits: the
creditsits quote gave. It runs at that price, or at a lower one when that figure was quoted for this Idempotency-Key; above the price now, nothing runs (409price_changed). Left out, nothing runs and the error carries the quote. - webhookUrlstring · httpsAn https address to POST the job to once it is done or has failed — or waits for a yes, as a UGC ad made step by step does once its previews are in — signed (see Webhooks).
Answers
- 202jobStarted: follow the job, or wait for its webhook.
- 200jobA job that ended at once: done, or failed (see error and charged).
- 400confirm_credits_requiredA run that spends needs confirmCredits: the quote is in details.
- 402insufficient_creditsThe account has too few credits for this.
- 409price_changedThe price is above the confirmCredits sent: nothing ran; the new quote is in details.
- 422content_refusedThe content check refused it.
- 429daily_cap_reachedThe key’s daily credit cap would be passed: see Retry-After.