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

Uploads

Every job starts from an upload. Send files up to about 100 MB with Upload files. For larger files, use a multipart upload: start it, PUT each part to its presigned URL, then complete it. Files already in your organization's assets can be used without uploading them again.

Upload files

Start a multipart upload

Auth Required

Begin uploading a large file in parts. Send each file's name, MIME type and size in bytes; you get back an uploadId, the part size (10,485,760 bytes), and a presigned URL for each part. PUT each part's bytes to its URL without your API key and keep the ETag header from each response. The URLs expire after 6 hours. Then call Complete a multipart upload, or Abort a multipart upload if you stop.

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

Bodyrequiredapplication/json

filesInitMultipartUploadFileDto[]required

The files to upload, one entry per file. Each file gets its own uploadId and part URLs.

Show child attributes
originalnamestringrequired

File name, including its extension (note the lowercase n in originalname). It becomes the upload's originalName, and its extension is kept in the storage key. Up to 512 characters.

Example: product-launch.mp4
mimetypestringrequired

MIME type of the file. Together with the extension, it decides the upload's mediaType, so send the real type (for example video/mp4 or audio/mpeg). Up to 128 characters.

Example: video/mp4
sizeBytesnumberrequired

Exact size of the whole file in bytes. It sets how many parts you get: sizeBytes divided by the part size of 10,485,760 bytes (10 MiB), rounded up. The largest file you can upload this way is 104,857,600,000 bytes (10,000 parts).

Example: 524288000Min: 1
filenamestring

Name to use only when originalname is blank (only spaces). You can leave it out.

Example: product-launch.mp4
partCountnumber

Number of part URLs to return for this file. Leave it out to get exactly the number the file needs. If you set it, it must be at least sizeBytes divided by 10,485,760, rounded up, and at most 10,000. The part size stays 10,485,760 bytes either way, so extra URLs simply go unused.

Example: 50Min: 1Max: 10000

Responses

201One multipart session per file, each with its part size and a presigned URL per part.
application/json
uploadsInitMultipartUploadItemResponseDto[]required

One multipart session per file, in the order you sent them.

Show child attributes
uploadIdstringrequired

Opaque token for this multipart session (not a UUID). Pass it unchanged to complete or abort the upload.

Example: eyJrIjoiOWIxZjZjMmUtM2Q0YS00ZThiLWE1YzctMWYyZTNkNGM1YjZhLzBkN2MzZThhLTZmMjEtNGI5ZS04YTNkLTVjMWYyZTRiN2E5MC5tcDQiLCJ1IjoiMn5IcTNmVDhzS3BYdzFMbVpiTjdjUnZZMGRFYSIsIm4iOiJwcm9kdWN0LWxhdW5jaC5tcDQiLCJzIjo1MjQyODgwMDAsIm0iOiJ2aWRlby9tcDQifQ
originalNamestringrequired

The file name you sent in originalname (or filename when originalname was blank).

Example: product-launch.mp4
fileKeystringrequired

Storage key the file will have. The completed upload reports the same fileKey.

Example: 9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/0d7c3e8a-6f21-4b9e-8a3d-5c1f2e4b7a90.mp4
partSizeBytesnumberrequired

Split the file into parts of exactly this many bytes (the last part may be smaller). Always 10,485,760 (10 MiB).

Example: 10485760
partsMultipartPresignedPartDto[]required

One presigned URL per part, in partNumber order. Upload every part before you complete the upload; parts can go in parallel.

Show child attributes
partNumbernumberrequired

Position of the part in the file, starting at 1. Part 1 is bytes 0 to 10,485,759, part 2 the next 10,485,760 bytes, and so on.

Example: 1Min: 1
uploadUrlstringrequired

Presigned URL to PUT this part to, without your API key or any other auth header. Valid for 6 hours. Keep the ETag header of the response: you send it when you complete the upload.

Example: {{PRESIGNED_URL}}
400A field failed validation, or `partCount` does not fit the file: `partCount must be between 1 and 10000`, or `partCount must be at least <n> for a <size>-byte file with part size 10485760`.
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
403Your organization needs its own storage credentials to use this feature (`Your organization needs its own storage credentials to use this feature.`), or the key lacks the permission.
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/upload/multipart/init
curl '{{API_BASE_URL}}/v1/galaxy/translate-video/upload/multipart/init' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "files": [
    {
      "originalname": "product-launch.mp4",
      "filename": "product-launch.mp4",
      "mimetype": "video/mp4",
      "sizeBytes": 524288000,
      "partCount": 50
    }
  ]
}'
{
  "uploads": [
    {
      "uploadId": "eyJrIjoiOWIxZjZjMmUtM2Q0YS00ZThiLWE1YzctMWYyZTNkNGM1YjZhLzBkN2MzZThhLTZmMjEtNGI5ZS04YTNkLTVjMWYyZTRiN2E5MC5tcDQiLCJ1IjoiMn5IcTNmVDhzS3BYdzFMbVpiTjdjUnZZMGRFYSIsIm4iOiJwcm9kdWN0LWxhdW5jaC5tcDQiLCJzIjo1MjQyODgwMDAsIm0iOiJ2aWRlby9tcDQifQ",
      "originalName": "product-launch.mp4",
      "fileKey": "9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/0d7c3e8a-6f21-4b9e-8a3d-5c1f2e4b7a90.mp4",
      "partSizeBytes": 10485760,
      "parts": [
        {
          "partNumber": 1,
          "uploadUrl": "{{PRESIGNED_URL}}"
        }
      ]
    }
  ]
}

Complete a multipart upload

Abort a multipart upload

Upload from your assets

List uploads

Get an upload

Refresh multipart part URLs

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