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 succeeded, failed or cancelled. 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.

processTypeWhat you get
VIDEO_TO_SPEECH_TRANSLATIONThe video dubbed into the target language, with or without cloned voices. A job with several speakers costs more.
SUBTITLE_TO_TRANSCRIPT_TRANSLATIONA subtitle file in, a translated transcript out. No video needed.
VIDEO_TO_SUBTITLESubtitles for the video.

Languages

Languages are identified by keys, not ISO codes: for example english_united_states, hindi_india or spanish_spain. Get the full list, split into source and target languages, from List languages with group=source-target, and use each language's name.

Job statuses

statusMeaning
queuedAccepted and waiting to start.
runningIn progress. stage and progress (0 to 100) show how far it has got.
succeededFinished. Collect the result.
failedStopped with an error. error says why. You can retry it from the failed step.
cancelledStopped at your request.

While a job runs, stage names the step in progress:

stageWhat is happening
DOWNLOADFetching the uploaded files.
AUDIO-EXTRACTORExtracting the audio track.
AUDIO-SOURCE-SEPARATORSeparating speech from music and background sound.
TRANSCRIPTION-ENGINETranscribing the speech.
TRANSCREATION-ENGINETranslating the transcript into each target language.
INSTANT-VOICE-CLONING-ENGINECloning the speakers' voices.
SUBTITLE-ENGINEBuilding subtitles.
SPEECH-GENERATION-ENGINEGenerating the dubbed speech.
AGGREGATEAssembling the outputs.
STITCH-ENGINERendering the exported video.
STITCH-SUBTITLE-ENGINEBurning subtitles into the exported video.
EXPORT-ENGINESaving 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.

ResourceCoversActions used
translate_video.voiceBrowse and manage the voice catalogs — unified, cloned, native and standard voices.delete, read, update
translate_video.process_logRun and manage video-translation processes — transcripts, speakers, voices, subtitles, languages and stitched-video exports.create, delete, export, read, update
translate_video.pronunciation_dictionaryManage pronunciation rules and per-segment pronunciation overrides.create, delete, read
translate_video.uploadUpload 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.

Last updated on

On this page