Translate and caption
Translate a transcript into many languages with cue-accurate captions, and optionally dubbed audio. Priced per language-minute. One request can be twenty languages of a ten-minute cut — two independent multipliers, so both move the price.
Authorizations
A workspace API key.
Body
Send exactly one source: either transcript or assetId, not both and not neither. Priced per language-minute of the transcript that results.
1 - 20 elements1 - 20The transcript to translate. Send exactly one of transcript or assetId.
Translate a transcript this workspace has already had transcribed instead of sending one. Send exactly one of transcript or assetId. An asset in another workspace is reported as not found.
1 - 200Source language. Required with assetId when no language was recorded for that asset — there is no default, because guessing would mis-translate a non-English asset silently.
1 - 20srt, vtt 120604000The project to file this work under. Optional: omit it and one is created for you, and its id comes back on the response — read it from there rather than assuming. Pass the same id across calls when you want the script, the render and the thumbnail to land in one container. A project this workspace does not own answers not_found; the work is never silently filed somewhere else.
1 - 200Response
Success.
The project this work was filed under. Read it from here — a call that sent no projectId had one created, and this is where its id comes back.
"prj_9x2a4c"
What this call actually cost, which is not always what was quoted.
300
Per-language captions with the cue timing preserved, plus dubbed audio if asked.
What was billed: languages multiplied by transcript minutes.
Your balance after the charge. Absent when billing is disabled for the workspace.
3900