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

Get the result

Export a video

Get a download URL

Get auto-exported videos

Get subtitles

Auth Required

Subtitle captions for one language of a job, with their timings. Send format to also get a ready-made subtitle file (SRT, VTT, DFXP and more).

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

Path Parameters

idstring · uuidrequired

Job ID (jobId) returned by Start a job.

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

Query Parameters

languagestringrequired

Language of the subtitles: one of the job's target languages, or its source language. A BCP-47 code from List languages.

Example: hi-IN
formatstring

Also build a subtitle file in this format, returned in file. Leave it out to get only the captions.

Enum values:srtvttdfxpxmlstledltxttxt-timedjson
Example: srt

Responses

200The captions, plus a ready-made file in `file` when you sent `format`.
application/json
subtitlesSubtitleCaptionDto[]required

Every caption in the language, sorted by start time.

Show child attributes
typestringrequired

Always caption.

Enum values:caption
Example: caption
indexnumberrequired

Number of the caption. Captions are sorted by start, so numbers may not be in order.

Example: 1
startnumberrequired

Start time in seconds.

Example: 1.24
endnumberrequired

End time in seconds.

Example: 3.8
durationnumberrequired

Length in seconds.

Example: 2.56
contentstringrequired

Caption text, without formatting. A line break inside the caption is \n.

Example: नमस्ते, स्वागत है।
textstringrequired

Same as content.

Example: नमस्ते, स्वागत है।
fileSubtitleDownloadFileDto

Present only when you sent format: the captions as a ready-made file in that format.

Show child attributes
contentstringrequired

The whole subtitle file as text, ready to save under filename.

Example: 1 00:00:01,240 --> 00:00:03,800 नमस्ते, स्वागत है।
filenamestringrequired

Suggested file name, with the extension of format.

Example: subtitles(hi-IN).srt
mimeTypestringrequired

Media type to use when you serve or save the file.

Example: text/plain; charset=utf-8
400`language` is missing, `format` is not supported, `id` is not a UUID, or the job has no subtitles in that language (`No subtitles found for language <language>`).
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
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
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
GET/v1/galaxy/translate-video/process-log/{id}/subtitle-download
curl '{{API_BASE_URL}}/v1/galaxy/translate-video/process-log/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/subtitle-download?language=hi-IN&format=srt' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "subtitles": [
    {
      "type": "caption",
      "index": 1,
      "start": 1.24,
      "end": 3.8,
      "duration": 2.56,
      "content": "नमस्ते, स्वागत है।",
      "text": "नमस्ते, स्वागत है।"
    }
  ],
  "file": {
    "content": "1\n00:00:01,240 --> 00:00:03,800\nनमस्ते, स्वागत है।\n",
    "filename": "subtitles(hi-IN).srt",
    "mimeType": "text/plain; charset=utf-8"
  }
}

List lip-sync models

Save an export to assets

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