Video Dubbing API
Download OpenAPI DocumentUpload a video, dub it into other languages with matched voices, and download the result.
Dub, subtitle or transcribe videos: upload the source, start a job, poll it, then collect the result. New here? Read Video Dubbing for the whole flow, then make your first call with the Quickstart.
Every request
Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.
Jobs run in the background, so every call returns straight away. Endpoints that charge credits say so on their page, with the current price; without enough credits they return 402 and nothing is created. See Credits.
Uploads
Every job starts from an upload. Send files up to about 100 MB with Upload files. For larger files, use a multipart upload: start it, PUT each part to its presigned URL, then complete it. Files already in your organization's assets can be used without uploading them again.
- POST/v1/galaxy/translate-video/upload
- POST/v1/galaxy/translate-video/upload/multipart/init
- POST/v1/galaxy/translate-video/upload/multipart/complete
- POST/v1/galaxy/translate-video/upload/multipart/abort
- POST/v1/galaxy/translate-video/upload/from-assets
- GET/v1/galaxy/translate-video/upload
- GET/v1/galaxy/translate-video/upload/{id}
- POST/v1/galaxy/translate-video/upload/multipart/part-urls
Upload files
Start a multipart upload
Complete a multipart upload
Abort a multipart upload
Upload from your assets
List uploads
Get an upload
Refresh multipart part URLs
Jobs
A job does the work: dubbing, subtitles or a translated transcript. Start it with your uploads and languages, then poll it until it finishes. Jobs run in the background, so every call returns straight away.
- POST/v1/galaxy/translate-video/process-log/run
- GET/v1/galaxy/translate-video/process-log/run/{id}
- GET/v1/galaxy/translate-video/process-log/{id}/status
- GET/v1/galaxy/translate-video/process-log
- POST/v1/galaxy/translate-video/process-log/{id}/add-languages
- POST/v1/galaxy/translate-video/process-log/{id}/human-validation
- POST/v1/galaxy/translate-video/process-log/{id}/retry
- PUT/v1/galaxy/translate-video/process-log/{id}
Start a job
Get a job
Get detailed progress
List jobs
Add target languages
Approve speaker voices
Confirm the voice for each speaker so a job that is waiting for approval (awaitingHumanValidation: true in Get detailed progress) can continue, or reject them to cancel the job. Returns 409 if the job is not waiting for approval.
Permission: translate_video.process_log:create. An API key acts with the role of the member who created it.
Credits: Approving more speakers than the job was charged for charges the multi-speaker difference for the dub. Rejecting keeps the credits already charged.
| Rate | What it covers | Price |
|---|---|---|
| Video Dubbing | Dubbing a video, with or without instant voice cloning. Per minute of source video; a multi-speaker run is charged a third more, since each speaker is separately transcribed, voice-matched and synthesized. | 300 credits per minute |
Path Parameters
Job ID (jobId) returned by Start a job.
Bodyrequiredapplication/json
The step waiting for approval: send humanValidationTaskIdentifier from Get detailed progress.
true approves the voices and the job continues. false rejects them and cancels the job (the response is a 400); credits are kept.
The voice for each speaker, keyed by speaker ID, then by BCP-47 code. Use the speaker IDs in inputData.speakers of Get detailed progress, and give each speaker a voice under every target language: a voiceId or voiceName, or voiceType: instant-clone with a voiceName to clone them. What you send is merged into the speakers the job found. Approving more speakers than the job was charged for charges the difference.
Responses
200The voices were approved and the job continues.
ID of the job that continues.
Type of the job.
Always false. Kept for compatibility: the job continues with the voices you sent, whether they are cloned or catalog voices.
400A field failed validation, or you rejected the voices (`approved: false`): the job **was cancelled** and the response is `Human validation rejected`. Credits are kept.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
402More speakers were assigned than were charged at start, and there are not enough credits for the difference. The job keeps waiting for approval.
HTTP status code.
Always InsufficientCredits.
What happened, in plain words.
Credits this request needs.
Credits your organization can spend now.
Credits your organization owes from earlier jobs (0 when nothing is owed). While anything is owed, every paid request is refused until it is repaid.
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
404No job with this `id` in your organization, or it was deleted (`Process <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
409The job is not waiting for approval (`Process <id> is not awaiting human validation`), or it has stopped (`Process <id> is <status> — its voice review can no longer be answered`).
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
413The request body is larger than 25 MB.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
500The approval could not be saved or the job could not be resumed. Retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl '{{API_BASE_URL}}/v1/galaxy/translate-video/process-log/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/human-validation' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"taskIdentifier": "INSTANT-VOICE-CLONING-ENGINE",
"approved": true,
"speakers": {
"1": {
"en-US": {
"label": "Host",
"gender": "female"
},
"hi-IN": {
"voiceName": "Host",
"voiceType": "instant-clone"
}
},
"2": {
"en-US": {
"label": "Guest",
"gender": "male"
},
"hi-IN": {
"voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
"voiceType": "standard"
}
}
}
}'{
"processId": "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"processType": "VIDEO_TO_SPEECH_TRANSLATION",
"downgraded": false
}Retry a failed job
Rename a job
Results
Once a job has finished, read its output, render the dubbed video for each language, and download files and subtitles.
- GET/v1/galaxy/translate-video/process-log/{id}/result
- POST/v1/galaxy/translate-video/process-log/export-video
- POST/v1/galaxy/translate-video/process-log/presigned-export-url
- GET/v1/galaxy/translate-video/process-log/{id}/exports
- GET/v1/galaxy/translate-video/process-log/{id}/subtitle-download
- GET/v1/galaxy/translate-video/process-log/export-lip-sync
- POST/v1/galaxy/translate-video/process-log/{id}/save-to-drive
Get the result
Export a video
Get a download URL
Get auto-exported videos
Get subtitles
List lip-sync models
Save an export to assets
Voices
The voices a dub can use: the standard and native catalogs, and the voices cloned for your organization.
- GET/v1/galaxy/translate-video/voice
- GET/v1/galaxy/translate-video/voice/accents
- GET/v1/galaxy/translate-video/voice/standard
- GET/v1/galaxy/translate-video/voice/standard/{id}
- GET/v1/galaxy/translate-video/voice/native
- GET/v1/galaxy/translate-video/voice/native/{id}
- GET/v1/galaxy/translate-video/voice/cloned
- GET/v1/galaxy/translate-video/voice/cloned/{id}
- PUT/v1/galaxy/translate-video/voice/cloned/{id}
- POST/v1/galaxy/translate-video/sync-api/text-to-speech
List voices
List accents
List standard voices
Get a standard voice
List native voices
Get a native voice
List cloned voices
Get a cloned voice
Update a cloned voice
Generate speech
Pronunciation dictionaries
Rules that tell generated voices how to say a word everywhere in your organization, such as a brand or product name.
List pronunciation rules
Create a pronunciation rule
Languages
Languages are identified by keys such as english_united_states, not ISO codes. List languages returns the keys a job accepts.