v1.0.0OpenAPI 3.1.1

Video Dubbing API

Download OpenAPI Document

Upload 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.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Start a job

Auth Required

Start dubbing, subtitling or translating the subtitles of an uploaded file. Choose the processType, pass the upload's id and fileKey in files, and set sourceLanguage and targetLanguages using BCP-47 codes from List languages. A job translates into one target language; add more with Add target languages. Options such as automatic export and voice approval go in inputData. If you leave out tmId, the translation memory for that language pair is used, or created. Credits are charged when the job starts: without enough, the API returns 402 and nothing starts. Returns a jobId straight away.

Permission: translate_video.process_log:create. An API key acts with the role of the member who created it.

Credits: Charged when the job starts: the measured length of the input at the rate of its processType (dubbing with more than one speaker costs more). Refunded in full if the job fails on our side; kept if you cancel it.

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
Video → Subtitle Subtitling a video. Charged per minute of source video. 100 credits per minute
Subtitle → Transcript Translation Translating an uploaded subtitle file. Charged per minute of subtitle timeline (the file carries its own timings — there is no source video). 60 credits per minute

Bodyrequiredapplication/json

processTypestringrequired

What the job does. VIDEO_TO_SPEECH_TRANSLATION: dub a video or audio file into the target language. VIDEO_TO_SUBTITLE: transcribe a video or audio file and make subtitles. SUBTITLE_TO_TRANSCRIPT_TRANSLATION: translate a subtitle file (.srt or .vtt), keeping its timing. VIDEO_TO_TRANSCRIPT is accepted by validation but cannot be started yet (400).

Enum values:VIDEO_TO_SPEECH_TRANSLATIONVIDEO_TO_SUBTITLESUBTITLE_TO_TRANSCRIPT_TRANSLATION
Example: VIDEO_TO_SPEECH_TRANSLATION
filesProcessFileDto[]required

The file to process, as returned by an upload: its id and fileKey, ideally with mediaType and extension. Usually a single file.

Show child attributes
idstringrequired

The id of the upload, from Upload files or Complete a multipart upload.

Example: 4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38
fileKeystringrequired

The fileKey of the same upload: where the file is stored. Send it exactly as the upload returned it.

Example: 0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/uploads/4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38/launch.mp4
urlstring

Optional. An https:// URL of the same file, used when it cannot be read through fileKey. Leave it out for files you uploaded.

Example: https://storage.example.com/media/launch.mp4
checksumstring

Optional SHA-256 of the file, as 64 hex characters. Recorded with the job; the file is not checked against it at present.

Example: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
mediaTypestring

Kind of file, from the upload's mediaType. Send it: the job is priced by measuring the first video or audio file (or, without one, the first file).

Enum values:videoaudioimagesubtitletext
Example: video
extensionstring

File extension without the dot, from the upload's extension, such as mp4, mov, mp3, wav, srt or vtt. If left out, it is read from fileKey.

Example: mp4
sourceLanguagestringrequired

Language spoken (or written) in the file: a BCP-47 code from List languages.

Example: en-US
targetLanguagesstring[]required

Language to translate into: a BCP-47 code from List languages. Send one. The job translates only the first language in the list; any others are recorded on the job but not translated, and cannot be added later because they are already on it. Add more languages with Add target languages.

Example: ["hi-IN"]
processNamestring

A name for the job, shown in List jobs. Defaults to the job ID.

Example: Product launch video
compressboolean

Ignored. Whether the video is re-encoded is set by your organization's settings, whatever you send.

Example: false
metadataobject

Your own data to attach to the job, such as an ID from your system. It is stored with the job files but is not returned by any endpoint.

Example: {"externalId":"cms-48213"}
inputDataStartInputDataDoc

Options for the job. All optional; the keys listed here are the ones the job reads. Each key notes the process types it applies to. files, optimize and compress are set by the server and cannot be overridden.

Show child attributes
autoExportboolean

Dubbing only. Set to true to export a finished video for every target language as soon as the dub succeeds: 1080p, no lip-sync, no burned-in subtitles. Fetch the videos with Get auto-exported videos. Plain exports are free.

Default: falseExample: true
autoQeboolean

Dubbing only. Set to true to run the QE report on the translated transcript as soon as the dub succeeds, so you do not have to start it yourself. Needs the aiqe:create permission (403 otherwise, before anything is charged) and is charged on its own when it starts, per source word. What became of it is in the job's metadata.autoQe.

Default: falseExample: true
qeScopestring

With autoQe: which transcript segments the QE report checks.

Enum values:allunverified
Default: allExample: unverified
voicePolicystring

Dubbing only. Who answers the voice review after the speakers are found. ask: the job pauses (awaitingHumanValidation: true) until you call Approve speaker voices. clone_all: every speaker is cloned from their own voice and the job carries on without pausing; with more than 4 speakers it pauses for approval instead. catalog_auto: nobody is cloned and the job carries on without pausing. Each speaker then needs a catalog voice in speakers under the target language, or the job fails when it generates speech. An unknown value counts as ask.

Enum values:askclone_allcatalog_auto
Default: askExample: clone_all
voiceModestring

Dubbing only. Whether you mean to clone the speakers (instant_clone) or use catalog voices (standard). It is recorded on the job and reported as usesInstantClone until the voices are approved. It does not pick voices by itself: the voices you approve, or voicePolicy, decide who is cloned.

Enum values:instant_clonestandard
Default: instant_cloneExample: instant_clone
speakersobject

Dubbing only. Voices for each speaker, keyed by speaker ID, then by BCP-47 code. Speaker IDs are assigned when the job detects the speakers, so you usually send voices with Approve speaker voices instead. When you do send this map, the job is priced for that many speakers from the start (dubbing with more than one speaker costs more).

Example: {"1":{"hi-IN":{"voiceName":"Speaker 1","voiceType":"instant-clone"}},"2":{"hi-IN":{"voiceId":"6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9","voiceType":"standard"}}}
speakerCountinteger

How many people speak in the video, if you know. Speech recognition then looks for exactly that many. For dubbing it also sets the start price when speakers is not sent (dubbing with more than one speaker costs more). Leave it out to detect the number.

Example: 2Min: 1
diarizationboolean

Dubbing and VIDEO_TO_SUBTITLE. Detect who speaks each line, so each speaker can get a voice of their own. A dubbing job turns it on itself once voices are approved.

Default: falseExample: true
detectEmotionboolean

Dubbing and VIDEO_TO_SUBTITLE. Tag each line with an emotion, such as happy or sad (otherwise neutral). Voices that support it then speak with that emotion.

Default: falseExample: false
voiceIdstring

Dubbing only. One voice for the whole video, for a single speaker: a voice ID from List cloned voices, List standard voices or List native voices. Once speakers are detected and approved, each speaker uses their own voice in speakers and this is only the fallback.

Example: 6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9
voiceNamestring

Dubbing only. Name of a catalog voice for the whole video, used when voiceId is not sent. It must support the target language.

Example: Aria
voiceTypestring

Dubbing only. Which list voiceId or voiceName comes from: standard or native catalog voices, or instant-clone for a voice ID from List cloned voices.

Enum values:standardnativeinstant-clone
Default: standardExample: standard
audioConfigStartAudioConfigDoc

Dubbing only. Fine-tuning for ElevenLabs voices; other voices ignore it.

Show child attributes
voiceConsistencynumber

How steady the voice sounds from line to line. Lower values are more expressive.

Default: 0.5Example: 0.5Min: 0Max: 1
voiceMatchnumber

How closely the speech keeps to the original voice.

Default: 0.75Example: 0.75Min: 0Max: 1
styleEmphasisnumber

How strongly the voice's speaking style is exaggerated.

Default: 0Example: 0Min: 0Max: 1
enhancedVoiceMatchboolean

Boost similarity to the original speaker.

Default: trueExample: true
cplinteger

VIDEO_TO_SUBTITLE and SUBTITLE_TO_TRANSCRIPT_TRANSLATION. The most characters a subtitle line may hold before it is split.

Default: 42Example: 42Min: 1
breakSubtitlesboolean

VIDEO_TO_SUBTITLE and SUBTITLE_TO_TRANSCRIPT_TRANSLATION. true re-splits subtitles to fit cpl. false keeps one subtitle per line on its original timing and only wraps long lines. Defaults to false for SUBTITLE_TO_TRANSCRIPT_TRANSLATION, so the translated file lines up cue for cue with yours, and true otherwise.

Example: true
tmIdstring

ID of a translation memory in your organization to translate through. Leave it out to use the translation memory for this language pair, which is created if there is none.

Example: b7d1e9a2-4c3f-4a8b-9e6d-1f2a3b4c5d6e
projectIdstring · uuid

Project to file this job under; omit for none. See List projects. Projects only group jobs; they do not change who can see them.

Example: 7e57d004-2b97-4e7a-b45f-5387367791cd
durationSecondsnumber

Length of the file in seconds, if you know it. The job is priced by the length we measure; this is used only if the file cannot be measured. Without either, the request fails with 400.

Example: 92.4Min: 0

Responses

201The job was created, its credits charged, and it is queued. Poll it with Get a job.
application/json
jobIdstring · uuidrequired

ID of the new job. Use it to poll the job or fetch results.

Example: 9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b
statusstringrequired

Always SCHEDULED: the job is waiting to start.

Enum values:SCHEDULED
Example: SCHEDULED
processTypestringrequired

The processType you sent.

Enum values:VIDEO_TO_SPEECH_TRANSLATIONVIDEO_TO_SUBTITLESUBTITLE_TO_TRANSCRIPT_TRANSLATION
Example: VIDEO_TO_SPEECH_TRANSLATION
400Nothing was started or charged. A field failed validation, or: - `No Conductor workflow for process type VIDEO_TO_TRANSCRIPT`: this `processType` cannot be started yet. - `Select a translation memory for this translation.`: no `tmId` was sent and none could be found or created for the language pair. - `We couldn't read this file's length`: an input's duration could not be measured and no `durationSeconds` was sent, so the job cannot be priced. A plain-text script gets `…: a plain-text script has no timings. Upload it as an .srt or .vtt file.`
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
402Not enough credits for the measured duration, or your organization owes credits. Nothing was created.
application/json
statusCodenumberrequired

HTTP status code.

Example: 402
errorstringrequired

Always InsufficientCredits.

Example: InsufficientCredits
messagestringrequired

What happened, in plain words.

Example: You don't have enough credits to start this. It needs 120; you have 45.
requirednumberrequired

Credits this request needs.

Example: 120
availablenumberrequired

Credits your organization can spend now.

Example: 45
owednumberrequired

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.

Example: 0
403`inputData.autoQe` was sent by a member without the `aiqe:create` permission (`Auto QE report needs permission to run AI quality evaluations. …`). Nothing was created or charged.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404`projectId` is not a project in your organization (`Project not found`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
413The request body is larger than 25 MB.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500The job could not be set up or started, for example because `tmId` is not a translation memory you can use. If it was already charged, the job is marked failed and its credits are refunded.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
POST/v1/galaxy/translate-video/process-log/run
curl '{{API_BASE_URL}}/v1/galaxy/translate-video/process-log/run' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "processType": "VIDEO_TO_SPEECH_TRANSLATION",
  "files": [
    {
      "id": "4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38",
      "fileKey": "0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/uploads/4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38/launch.mp4",
      "mediaType": "video",
      "extension": "mp4"
    }
  ],
  "sourceLanguage": "en-US",
  "targetLanguages": [
    "hi-IN"
  ],
  "processName": "Product launch video",
  "compress": false,
  "metadata": {
    "externalId": "cms-48213"
  },
  "inputData": {
    "autoExport": true,
    "voicePolicy": "clone_all",
    "speakerCount": 2
  },
  "tmId": "b7d1e9a2-4c3f-4a8b-9e6d-1f2a3b4c5d6e",
  "projectId": "7e57d004-2b97-4e7a-b45f-5387367791cd",
  "durationSeconds": 92.4
}'
{
  "jobId": "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
  "status": "SCHEDULED",
  "processType": "VIDEO_TO_SPEECH_TRANSLATION"
}

Get a job

Get detailed progress

List jobs

Add target languages

Approve speaker voices

Retry a failed job

Rename a job

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.

List languages

Get transliteration suggestions

Models

AddedLanguageDto
AddLanguageItemDto
AddLanguagesDto
AddLanguagesResponseDto
AddLanguageVoiceDto
AutoExportItemDto
AutoExportsResponseDto
CatalogVoiceResponseDto
ClonedVoiceResponseDto
ClonedVoiceTrainingAudioResponseDto
CompleteMultipartUploadItemDto
CompleteMultipartUploadResponseDto
CreateOrgRuleDto
CropFocusDto
ElevenLabsVoiceSettingsDto
ExportLipSyncInfoResponseDto
ExportVideoDto
ExportVideoJobDto
ExportVideoResponseDto
HumanValidationResponseDto
InitMultipartUploadDto
InitMultipartUploadFileDto
InitMultipartUploadItemResponseDto
InitMultipartUploadResponseDto
InsufficientCreditsErrorDto
LanguageCapabilitiesDto
LanguageCatalogItemDto
LanguageListItemDto
LanguageListResponseDto
LipSyncModelOptionDto
MultipartPresignedPartDto
MultipartUploadedPartDto
PaginatedCatalogVoiceResponseDto
PaginatedClonedVoiceResponseDto
PaginatedProcessListResponseDto
PaginatedUploadListResponseDto
PaginatedVoiceResponseDto
PaginationMetaDto
PresignedExportUrlDataDto
PresignedExportUrlDto
PresignedExportUrlResponseDto
ProcessDataDto
ProcessDataResponseDto
ProcessFileDto
ProcessListAssigneeDto
ProcessListItemResponseDto
ProcessResultResponseDto
ProcessRunResponseDto
ProcessStatusResponseDto
ProcessStatusTaskItemDto
PronunciationRuleResponseDto
ProvidersDto
RejectedLanguageDto
RetryProcessResponseDto
SaveExportToDriveResponseDto
SourceTargetLanguagesDto
SpeakerLanguageProfileDto
SpeechCapabilityDto
StartAudioConfigDoc
StartInputDataDoc
StartProcessDto
StartProcessResponseDto
SubmitHumanValidationDto
SubtitleCaptionDto
SubtitleDownloadFileDto
SubtitleDownloadResponseDto
SyncPmExecutionResponseDto
SyncSpeechAudioDto
SyncTextToSpeechDto
TargetLanguageItemDto
TransliterationSuggestionsResponseDto
TvAbortMultipartUploadDto
TvCompleteMultipartUploadDto
TvMultipartPartUrlsDto
TvMultipartPartUrlsResponseDto
UpdateClonedVoiceDto
UpdateProcessDataDto
UploadedFileResponseDto
UploadFilesResponseDto
UploadFromAssetsDto
UploadListMetaDto
UploadSuccessResponseDto
VoiceAccentDto
VoiceAccentsResponseDto
VoiceListMetaDto
VoiceTypeProvidersDto