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

Approve speaker voices

Auth Required

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

idstring · uuidrequired

Job ID (jobId) returned by Start a job.

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

Bodyrequiredapplication/json

taskIdentifierstringrequired

The step waiting for approval: send humanValidationTaskIdentifier from Get detailed progress.

Enum values:DOWNLOADAUDIO-EXTRACTORAUDIO-SOURCE-SEPARATORTRANSCRIPTION-ENGINESUBTITLE-GENERATION-ENGINETRANSCREATION-ENGINEINSTANT-VOICE-CLONING-ENGINESPEECH-GENERATION-ENGINESYNC-TRANSCREATION-ENGINESYNC-SPEECH-GENERATION-ENGINESYNC-SUBTITLE-GENERATION-ENGINEFFMPEG-STITCHINGANIMATED-SUBTITLE-STITCHINGAGGREGATE-STITCHINGAGGREGATE
Example: INSTANT-VOICE-CLONING-ENGINE
approvedbooleanrequired

true approves the voices and the job continues. false rejects them and cancels the job (the response is a 400); credits are kept.

Default: trueExample: true
speakersobject

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.

Example: {"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"}}}

Responses

200The voices were approved and the job continues.
application/json
processIdstring · uuidrequired

ID of the job that continues.

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

Type of the job.

Example: VIDEO_TO_SPEECH_TRANSLATION
downgradedbooleanrequired

Always false. Kept for compatibility: the job continues with the voices you sent, whether they are cloned or catalog voices.

Example: false
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.
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
402More speakers were assigned than were charged at start, and there are not enough credits for the difference. The job keeps waiting for approval.
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
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`).
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 approval could not be saved or the job could not be resumed. 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
POST/v1/galaxy/translate-video/process-log/{id}/human-validation
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

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