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

Get a job

Get detailed progress

List jobs

Add target languages

Auth Required

Add more target languages to a job. The whole list is checked first: if any language is invalid, nothing starts. Each accepted language runs as its own job, one at a time, once the original job has succeeded.

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

Credits: Every language is charged when the request is accepted, for the original job's length: at the original job's rate, or at the subtitle-language rate when you add subtitles only. All languages are charged together, or none. Refunded if a language fails on our side.

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
Add Subtitle Language Adding a subtitle-only target language to an existing run. Charged per minute of source video, instead of the parent run's rate — no audio is synthesized. 60 credits per minute

Path Parameters

idstring · uuidrequired

Job ID (jobId) returned by Start a job.

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

Bodyrequiredapplication/json

languagesAddLanguageItemDto[]required

The languages to add, 1 to 20, no duplicates. Each runs as its own job, one after another, in this order.

Show child attributes
targetLanguagestringrequired

Language to add: a BCP-47 code from List languages. It must not be the source language or a language the job already has.

Example: hi-IN
voiceAddLanguageVoiceDto

The voice for this language when diarization is not true: every speaker is dubbed with it. Falls back to defaultVoice.

Show child attributes
voiceIdstring

ID of the voice: a voice from List cloned voices, or a catalog voice from List standard voices or List native voices that supports the new language.

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

Name of a catalog voice, used when voiceId is not sent. With voiceType: instant-clone and no voiceId, the name of a new voice cloned from the speaker.

Example: Aria
voiceTypestring

instant-clone to clone the speaker's own voice, or standard / native for a catalog voice from that list. Leave it out for a cloned voice ID or a standard voice.

Enum values:instant-clonestandardnative
Example: standard
genderstring

Gender of the voice, such as male or female.

Example: female
providernumber

Accepted but ignored.

Example: 4
voicesobject

Voices for this language when diarization is true, keyed by speaker ID (the IDs in inputData.speakers of Get detailed progress). Falls back to defaultVoices. An empty object counts as sent and does not fall back.

Example: {"1":{"voiceName":"Aria","voiceType":"standard"},"2":{"voiceId":"6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"}}
subtitlesboolean

Set to true to add the languages as translated subtitles only, with no dubbed speech; no voices are needed. Required for VIDEO_TO_SUBTITLE and SUBTITLE_TO_TRANSCRIPT_TRANSLATION jobs: without it, each language needs a voice.

Default: falseExample: false
diarizationboolean

Dubbing only. true: give each speaker their own voice with voices (or defaultVoices), which must not be empty. Otherwise one voice (or defaultVoice) with a voiceId or voiceName dubs every speaker.

Default: falseExample: false
defaultVoicesobject

Voices by speaker ID for every language that has no voices of its own. Used when diarization is true.

Example: {"1":{"voiceName":"Aria","voiceType":"standard"},"2":{"voiceId":"6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"}}
defaultVoiceAddLanguageVoiceDto

One voice for every language that has no voice of its own. Used when diarization is not true.

Show child attributes
voiceIdstring

ID of the voice: a voice from List cloned voices, or a catalog voice from List standard voices or List native voices that supports the new language.

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

Name of a catalog voice, used when voiceId is not sent. With voiceType: instant-clone and no voiceId, the name of a new voice cloned from the speaker.

Example: Aria
voiceTypestring

instant-clone to clone the speaker's own voice, or standard / native for a catalog voice from that list. Leave it out for a cloned voice ID or a standard voice.

Enum values:instant-clonestandardnative
Example: standard
genderstring

Gender of the voice, such as male or female.

Example: female
providernumber

Accepted but ignored.

Example: 4
operationstring

Optional label. DUB_VIDEO marks the languages as dubs in operation of the response; it does not change what runs or what it costs.

Enum values:DUB_VIDEO
Example: DUB_VIDEO

Responses

201Every language was accepted and charged; each runs as its own job. `rejected` is always empty: any problem fails the whole request instead.
application/json
acceptedAddedLanguageDto[]required

One entry per language, in the order you sent them.

Show child attributes
idstring · uuidrequired

ID of the job that adds this language. Poll it with Get a job; when it succeeds, the language is part of the original job.

Example: 1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d
targetLanguagestringrequired

The language this job adds.

Example: es-ES
processTypestringrequired

Type of the original job.

Example: VIDEO_TO_SPEECH_TRANSLATION
operationstringrequired

ADD_SUBTITLE_LANGUAGE when you sent subtitles: true, DUB_VIDEO when you sent that operation, otherwise ADD_LANGUAGE.

Enum values:ADD_LANGUAGEADD_SUBTITLE_LANGUAGEDUB_VIDEO
Example: ADD_LANGUAGE
rejectedRejectedLanguageDto[]required

Always empty: if any language is invalid, the whole request fails with 400 and nothing is added.

Show child attributes
targetLanguagestringrequired

The language that was not added.

Example: hi-IN
reasonstringrequired

Why it was not added.

Example: Target language already exists on process: hi-IN
targetLanguagesstring[]required

The original job's target languages after this request, including the new ones.

Example: ["hi-IN","es-ES","fr-FR"]
400Nothing was started or charged. A field failed validation (1 to 20 `languages`), or: - `Duplicate languages in request: <languages>` - `Languages can't be added to a failed process` (or `cancelled process`) - `Target language cannot be the same as source language: <language>` - `Target language already exists on process: <language>` - `Speaker voice map is required when diarization is enabled`, or `Voice is required`
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 all the languages, or your organization owes credits. Nothing was started.
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
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.
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
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`).
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
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
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/{id}/add-languages
curl '{{API_BASE_URL}}/v1/galaxy/translate-video/process-log/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/add-languages' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "languages": [
    {
      "targetLanguage": "es-ES",
      "voice": {
        "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
      }
    },
    {
      "targetLanguage": "fr-FR",
      "voice": {
        "voiceName": "Aria"
      }
    }
  ],
  "subtitles": false,
  "diarization": false,
  "defaultVoices": {
    "1": {
      "voiceName": "Aria",
      "voiceType": "standard"
    },
    "2": {
      "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
    }
  },
  "defaultVoice": {
    "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
  },
  "operation": "DUB_VIDEO"
}'
{
  "accepted": [
    {
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "targetLanguage": "es-ES",
      "processType": "VIDEO_TO_SPEECH_TRANSLATION",
      "operation": "ADD_LANGUAGE"
    }
  ],
  "rejected": [],
  "targetLanguages": [
    "hi-IN",
    "es-ES",
    "fr-FR"
  ]
}

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