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

Complete a multipart upload

Abort a multipart upload

Upload from your assets

Auth Required

Use files that are already in your organization's assets as job inputs. They are copied on the server, so nothing is uploaded again, and later changes to the originals do not affect the job.

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

Bodyrequiredapplication/json

assetIdsstring · uuid[]required

IDs of files in your organization's assets. Each file is copied into a new upload, returned in the same order. Use the new uploads' id and fileKey (not these asset IDs) when you start a job.

Example: ["7a3e9c41-2b6d-4f8a-9e15-c0d2b4a6f817","e5b1d7f3-8c2a-4a69-b0e4-3f9d1c6a2b58"]

Responses

201The assets were copied. One entry per asset, in the order of `assetIds`; `url` and `sha256` are null for copies.
application/json
uploadsUploadedFileResponseDto[]required

One upload per file, in the order you sent them. Keep each id and fileKey to start a job.

Show child attributes
idstring · uuidrequired

ID of the upload. Pass it as files[].id when you start a job, and use it to get or delete the upload.

Example: 4c7e2a90-5b1d-4f3e-9a6c-2d8b1e0f7a35
originalNamestringrequired

File name, including its extension.

Example: product-launch.mp4
fileKeystringrequired

Storage key of the file. Pass it as files[].fileKey.

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

URL of the file in your organization's storage bucket. It is not signed, so it opens only when the bucket allows public reads. Null when it could not be built, and always null in the response of Upload from your assets (get the upload to see it).

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

Kind of file, worked out from its MIME type and extension: gif for GIFs, then video, audio or image by MIME type, subtitle for .srt, .vtt, .ass and .ssa files, text for other text/* types, and document for anything else.

Enum values:videoaudioimagedocumentsubtitletextgif
Example: video
mimeTypestring | nullrequired

MIME type of the file, or null when it is not known.

Example: video/mp4
extensionstring | nullrequired

File extension in lower case, without the dot. Null when the file has none.

Example: mp4
sizeBytesnumber | nullrequired

File size in bytes. Null when it is not known (0 in the response of Upload from your assets).

Example: 52428800
statusstringrequired

State of the upload. Stored uploads are uploaded: the file is ready to use in a job.

Enum values:uploadinguploadedprocessingreadyfaileddeleted
Example: uploaded
sha256string | nullrequired

SHA-256 of the file as lowercase hex, when known. The server computes it for Upload files; for a multipart upload it is the checksum you sent to complete it. Null for copies from your assets and for files uploaded before checksums were recorded.

Example: 437daae8e613363b2ccda01714582824c21f416b368cfbcc9c85f55fd773e4d1
400Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).
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
404One of the `assetIds` is not a file in your organization (`Asset 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
500An asset could not be copied (`Could not copy the selected file`). Retry; nothing was created for that asset.
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/from-assets
curl '{{API_BASE_URL}}/v1/galaxy/translate-video/upload/from-assets' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "assetIds": [
    "7a3e9c41-2b6d-4f8a-9e15-c0d2b4a6f817",
    "e5b1d7f3-8c2a-4a69-b0e4-3f9d1c6a2b58"
  ]
}'
{
  "uploads": [
    {
      "id": "4c7e2a90-5b1d-4f3e-9a6c-2d8b1e0f7a35",
      "originalName": "product-launch.mp4",
      "fileKey": "9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/0d7c3e8a-6f21-4b9e-8a3d-5c1f2e4b7a90.mp4",
      "url": "{{STORAGE_BASE_URL}}/9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/0d7c3e8a-6f21-4b9e-8a3d-5c1f2e4b7a90.mp4",
      "mediaType": "video",
      "mimeType": "video/mp4",
      "extension": "mp4",
      "sizeBytes": 52428800,
      "status": "uploaded",
      "sha256": "437daae8e613363b2ccda01714582824c21f416b368cfbcc9c85f55fd773e4d1"
    }
  ]
}

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