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
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
A short-lived link to download an exported file: the result.video or result.audio of a finished export job, or an auto-export videoUrl.
Permission: translate_video.process_log:export. An API key acts with the role of the member who created it.
Bodyrequiredapplication/json
URL of an exported file in your organization: result.video or result.audio of a finished export job (Get a job), or an export's videoUrl. Must include https://.
File name the download is saved as, up to 500 characters. If it has no extension, the extension of the file is added. Defaults to the name of the stored file, such as hi-IN.mp4.
Responses
200A download link for the file.
The download link.
Show child attributes
Download link, valid for 1 hour. It downloads as an attachment named after downloadFileName. If a link cannot be signed, the s3Url you sent is returned unchanged.
400Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).
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.
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.
404`s3Url` does not point to a file in your organization (`Export 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.
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.
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
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/presigned-export-url' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"s3Url": "https://storage.example.com/0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/video-translator/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/EXPORT-ENGINE-3c7e2a91-5b4d-4f60-a8e2-0d9b1c6f7e34/exports/hindi_india.mp4",
"downloadFileName": "My Video - Hindi.mp4"
}'{
"data": {
"url": "https://storage.example.com/0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/video-translator/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/EXPORT-ENGINE-3c7e2a91-5b4d-4f60-a8e2-0d9b1c6f7e34/exports/hindi_india.mp4?X-Amz-Expires=3600&X-Amz-Signature=…"
}
}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.