Video Dubbing
Dub, subtitle or transcribe videos. Upload the source, start a job, track it, then collect the result.
Video Dubbing turns a video into dubbed audio, subtitles or a transcript in the languages you choose. Every job follows the same four steps.
Upload the source
Send the video with Upload files (up to about 100 MB) or a multipart upload for larger files. Already in your organization's assets? Use Upload from your assets. Each upload returns an id and a fileKey.
Start a job
Call Start a job with the processType, the uploads in files, the sourceLanguage and one target language in targetLanguages. You get a jobId back straight away. Credits are charged at this point. To get more languages, call Add target languages: you can call it while the job is still running, and each new language starts once the original job has succeeded.
Track it
Poll Get a job until status is COMPLETED, COMPLETED_WITH_ERRORS, FAILED, TIMED_OUT or TERMINATED. Every 5 to 30 seconds is enough.
Collect the result
Read Get the result, then export the video or get subtitles. To keep a finished export in your organization's assets, call Save an export to assets.
Process types
Set processType when you start a job. Current prices, from the same rate table that charges you, are on Start a job; your organization may have its own rates.
processType | What you get |
|---|---|
VIDEO_TO_SPEECH_TRANSLATION | The video dubbed into the target language, with or without cloned voices. A job with several speakers costs more. |
SUBTITLE_TO_TRANSCRIPT_TRANSLATION | A subtitle file in, a translated transcript out. No video needed. |
VIDEO_TO_SUBTITLE | Subtitles for the video. |
Languages
Send BCP-47 language codes such as en-US and hi-IN. Call List languages with group=source-target and use each language’s code.
Job statuses
| Status | Meaning |
|---|---|
DRAFT | Saved and waiting to be submitted. |
SCHEDULED | Accepted and waiting to start. |
RUNNING | In progress. Read stage and progress. |
PAUSED | Waiting for a review or approval. |
COMPLETED | Finished. Collect the result. |
COMPLETED_WITH_ERRORS | Finished with some items in error. |
FAILED | Stopped with an error. Read error for details. |
TIMED_OUT | Stopped after reaching the time limit. |
TERMINATED | Stopped before completion. |
While a job runs, stage names the step in progress:
stage | What is happening |
|---|---|
DOWNLOAD | Fetching the uploaded files. |
AUDIO-EXTRACTOR | Extracting the audio track. |
AUDIO-SOURCE-SEPARATOR | Separating speech from music and background sound. |
TRANSCRIPTION-ENGINE | Transcribing the speech. |
TRANSCREATION-ENGINE | Translating the transcript into each target language. |
INSTANT-VOICE-CLONING-ENGINE | Cloning the speakers' voices. |
SUBTITLE-ENGINE | Building subtitles. |
SPEECH-GENERATION-ENGINE | Generating the dubbed speech. |
AGGREGATE | Assembling the outputs. |
STITCH-ENGINE | Rendering the exported video. |
STITCH-SUBTITLE-ENGINE | Burning subtitles into the exported video. |
EXPORT-ENGINE | Saving the exported file. |
Permissions
Each endpoint page lists the permission it needs. The API key needs them on the role of the person who created it.
| Resource | Covers | Actions used |
|---|---|---|
translate_video.voice | Browse and manage the voice catalogs — unified, cloned, native and standard voices. | delete, read, update |
translate_video.process_log | Run and manage video-translation processes — transcripts, speakers, voices, subtitles, languages and stitched-video exports. | create, delete, export, read, update |
translate_video.pronunciation_dictionary | Manage pronunciation rules and per-segment pronunciation overrides. | create, delete, read |
translate_video.upload | Upload source media (direct + multipart) and manage upload records. | create, delete, read |
Credits
Jobs are charged when they start. Without enough credits, Start a job returns 402 and nothing starts. Retrying a failed job is free. Each endpoint that can charge credits says so on its page. See Credits.