New: AI video tools. Cut, clip, caption and dub your videos. See all video tools →
Dubs

Dub a video

POST
/v1/dubs

Dubs a video of up to 30 minutes into another language. Each speaker gets a voice cloned from their own lines unless clone_voices is false. Returns a job whose result is a DubResult.

Estimated cost: 225 tokens per second of video, plus lip sync.

Authorization

bearer
headerAuthorizationBearer <API key>

An API key from Settings, starting vcp_live_.

Header Parameters

Idempotency-Key?string

Optional. Up to 255 characters, scoped to your account and kept for 90 days. Sending the same key with the same body again returns the original job. The same key with a different body is rejected with 409.

Lengthlength <= 255

Request Body

application/json
  1. body
video_file_id*string

A file_id from POST /v1/uploads of an MP4, MOV, MKV or WEBM video up to 2 GB and 30 minutes long.

Length1 <= length
target_language*string

The language to dub into.

Value in"es""fr""de""ja""ko""zh""zh-Hant""pt""ru""it""ar""hi""th""vi""id""tr""pl""nl""uk""cs""en""Spanish""French""German""Japanese""Korean""Chinese""Traditional Chinese""Portuguese""Russian""Italian""Arabic""Hindi""Thai""Vietnamese""Indonesian""Turkish""Polish""Dutch""Ukrainian""Czech""English""Standard Arabic"
source_language?string

The spoken language of the video, such as English. Leave it out to detect it.

Default"auto"
keep_background?boolean

Keep the music and sound effects under the new voices.

Defaulttrue
clone_voices?boolean

Give each speaker a voice cloned from their own lines.

Defaulttrue
voice?string

A saved voice id, a saved voice name or a preset id. Used for speakers that are not cloned, and for every speaker when clone_voices is false. Required when clone_voices is false.

model?string

A model id from GET /v1/models. A preset voice uses its own model.

speakers?integer

How many people speak. Leave it out to detect it.

Range1 <= value <= 6
lipsync?boolean

Match the lips to the new voices. Only for videos up to 60 seconds. A longer video is dubbed without it and lipsynced is false.

Defaultfalse

Response Body

Accepted. Returns the job.

application/json
  1. response
id*string

Job id.

type*JobType
Value in"speech""voice_design""voice_clone""voice_change""transcription""dub""avatar_video""cut"
status*JobStatus
Value in"queued""running""succeeded""failed""cancelled"
progress*|

From 0 to 1 while an avatar video renders, a dub runs or a video is cut, otherwise null.

Range0 <= value <= 1
result*||||||

The result of a succeeded job, or null. Speech, voice designs and the voice changer give AudioResult, kept for 24 hours after the job finishes, then this is null. Transcriptions give TranscriptionResult. Voice clones give VoiceCloneResult. Avatar videos give AvatarVideoResult, dubs give DubResult and cuts give CutResult, all kept for 24 hours after the job was created.

error*|

Why the job failed, or null.

tokens_charged*|

Tokens billed, or null until billing has run.

Range0 <= value
resource_id*|

The voice id for voice clones, the project id for dubs and cuts, and the video id for avatar videos.

created_at*string

When the job was created.

Formatdate-time
finished_at*|

When the job finished, or null while it runs.

Formatdate-time
Example Request
curl -X POST 'https://api.vcp.name/v1/dubs' \  -H 'Content-Type: application/json' \  -d '{  "video_file_id": "8383fc02-625a-4b71-a226-cbb2d19aaf17",  "target_language": "es"}'
Example Response
{  "id": "04bd0571-e2c8-4d5b-a3cc-e56f85773abf",  "type": "dub",  "status": "queued",  "progress": null,  "result": null,  "error": null,  "tokens_charged": null,  "resource_id": "857fcb81-9073-4f26-97c7-a388979fcdca",  "created_at": "2026-10-30T00:10:42Z",  "finished_at": null}