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

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

Auth Required

Speak a line of text with one of the dubbing voices and get the audio straight back. The call waits until the audio is ready (usually a few seconds). Use it to audition a voice before you start a job, or to voice short lines of your own. It does not change any job.

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

Credits: Free by default. If your organization has its own price for it, it is charged per character when the call starts, refunded if generation fails, and refused with 402 when your credits are short.

Rate What it covers Price
Line Re-TTS Synthesizing speech for one line in the editor (re-TTS or standalone) — free. 0 credits per 100 character

Bodyrequiredapplication/json

textstringrequired

The text to speak, in targetLanguage. Pronunciation aliases in the text are spoken as plain words.

Example: नमस्ते, हमारे नए उत्पाद में आपका स्वागत है।
targetLanguagestringrequired

BCP-47 code of the text, from List languages. The voice must support it.

Example: hi-IN
voiceNamestring

Name of a standard or native voice, as List voices returns it. Send voiceName or voiceId; voiceId wins when you send both.

Example: Aarav
voiceIdstring

ID of the voice, as List voices returns it (id). Required for a cloned voice. For a standard or native voice the provider's voice ID also works.

Example: 6a1f0c2e-8b3d-4e5f-9a7b-2c3d4e5f6a7b
voiceTypestring

Catalog the voice is in: standard (default), native, or cloned (also accepted as instant-clone) for a voice cloned for your organization.

Enum values:standardnativeclonedinstant-clone
Default: standardExample: standard
transcriptIdstring

Optional ID of your own for this line. Calls with the same ID share one working folder. Default: a new ID each call, returned as processId.

Example: 4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8
fk_parentProcessIdstring · uuid

Optional job ID (jobId) the line belongs to, recorded with the generation.

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

Accepted for compatibility; this endpoint does not use it.

Example: happy
voiceSettingsElevenLabsVoiceSettingsDto

Fine-tuning for the voice. Leave it out for the voice defaults. Used by ElevenLabs voices.

Show child attributes
voiceConsistencynumber

Stability of the voice, 0 to 1. Higher is more even; lower is more expressive.

Example: 0.6Min: 0Max: 1
voiceMatchnumber

How closely the speech sticks to the sound of the chosen voice, 0 to 1.

Example: 0.6Min: 0Max: 1
styleEmphasisnumber

How strongly the style of the voice is exaggerated, 0 to 1.

Example: 0.6Min: 0Max: 1
enhancedVoiceMatchboolean

Boost the similarity to the original voice, at a small cost in speed.

Example: true
speednumber

Speaking speed, 0.7 to 1.2 (1 is normal). Some voice models ignore it.

Example: 1Min: 0.7Max: 1.2

Responses

200The audio is ready.
application/json
successbooleanrequired

Always true.

Example: true
processIdstringrequired

ID of the line: the transcriptId you sent, or a new one.

Example: 4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8
dataobjectrequired

The audio, keyed by targetLanguage (one key).

Example: {"hi-IN":{"audio":"{{CDN_BASE_URL}}/3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f/translate-video/_sync/4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8/speech.mp3","duration":3.42}}
400Nothing was generated. A field failed validation, or: - `Text is empty`: `text` has nothing to speak. - `Voice is required for speech generation.`: send `voiceId` or `voiceName`. - `id is required when voiceType is cloned or instant-clone`: a cloned voice needs `voiceId`. - `Could not resolve the voice provider.`
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
402Only when your organization has its own price for speech: not enough credits, or your organization owes credits. Nothing was generated.
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
404The voice was not found: `No <standard|native> voice found for language "<targetLanguage>" with id <voiceId>` (or `named "<voiceName>"`), or `Cloned voice <voiceId> 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
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
500Generation failed (`Could not generate audio.`). Any credits charged 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/sync-api/text-to-speech
curl '{{API_BASE_URL}}/v1/galaxy/translate-video/sync-api/text-to-speech' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "नमस्ते, हमारे नए उत्पाद में आपका स्वागत है।",
  "targetLanguage": "hi-IN",
  "voiceName": "Aarav",
  "voiceId": "6a1f0c2e-8b3d-4e5f-9a7b-2c3d4e5f6a7b",
  "voiceType": "standard",
  "transcriptId": "4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8",
  "fk_parentProcessId": "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
  "emotion": "happy",
  "voiceSettings": {
    "voiceConsistency": 0.6,
    "voiceMatch": 0.6,
    "styleEmphasis": 0.6,
    "enhancedVoiceMatch": true,
    "speed": 1
  }
}'
{
  "success": true,
  "processId": "4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8",
  "data": {
    "hi-IN": {
      "audio": "{{CDN_BASE_URL}}/3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f/translate-video/_sync/4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8/speech.mp3",
      "duration": 3.42
    }
  }
}

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