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

Video Dubbing API

Video dubbing API for 21 languages, in each speaker's own voice

Send a video and a target language and get back a dubbed file where each speaker keeps their own voice.

Cloud API on the Starter and Premium plans, or the Desktop API on your own computer.

POST/v1/dubs
# 1. Get an upload link, then PUT the file to upload_url
curl -X POST https://api.vcp.name/v1/uploads \
-H "Authorization: Bearer $VCP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content_type": "video/mp4", "size": 284023112}'
 
curl -X PUT "UPLOAD_URL" -H "Content-Type: video/mp4" --data-binary @launch.mp4
 
# 2. Dub it into French, keeping the music
curl -X POST https://api.vcp.name/v1/dubs \
-H "Authorization: Bearer $VCP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"video_file_id": "FILE_ID",
"target_language": "fr",
"keep_background": true
}'
 
# 3. Get the subtitles of the dub
curl "https://api.vcp.name/v1/dubs/JOB_ID/subtitles?format=srt" -H "Authorization: Bearer $VCP_API_KEY"

What developers build with it

A dub runs transcription, translation, speaker separation and re-voicing in one request. The Cloud API takes videos up to 30 minutes long.

  • Translated versions of a YouTube back catalog, one language per run
  • Localized training and product videos without booking voice actors
  • A separate dubbed audio track for platforms that support multiple languages
See the product page

Dub your users' videos from one API call.

Endpoints

Dubbing endpoints

MethodPathWhat it does
POST/v1/uploadsGet an upload link for a file
POST/v1/dubsDub a video into another language
GET/v1/jobs/{id}Get a job, or wait for it to finish
GET/v1/dubs/{id}/subtitlesGet the subtitles as SRT, VTT or JSON

Desktop API

Run the API on your own computer

Every desktop plan includes a local API on Windows and Mac. It needs no key and answers requests from your computer while the app is open.

POST/api/v1/dubbing/projects
# 1. Create a project from a video on this computer
curl -X POST "http://127.0.0.1:8100/api/v1/dubbing/projects" \
-H "Content-Type: application/json" \
-d '{
"name": "Launch video (French)",
"source_video_path": "/Users/you/Videos/launch.mp4",
"target_lang": "fr",
"clone_voices": true,
"keep_background": true
}'
 
# 2. Run the dub, then export the video with subtitles
curl -X POST "http://127.0.0.1:8100/api/v1/dubbing/projects/PROJECT_ID/run"
curl -X POST "http://127.0.0.1:8100/api/v1/dubbing/projects/PROJECT_ID/export" \
-H "Content-Type: application/json" \
-d '{ "subtitles": true }'

Desktop API endpoints

MethodPathWhat it does
POST/api/v1/dubbing/projectsCreate a dub from a video on this computer
POST/api/v1/dubbing/projects/youtubeCreate a dub from a YouTube link
POST/api/v1/dubbing/projects/{project_id}/runRun the dubbing pipeline
POST/api/v1/dubbing/projects/{project_id}/lipsyncLip sync a finished dub
POST/api/v1/dubbing/projects/{project_id}/exportExport the video, with subtitles if you want them

Create a key and send your first request in a few minutes.

FAQ

Common Questions

21 languages, English included, in both APIs. In the Desktop API, GET /api/v1/dubbing/translation-languages returns the current list, so your code never sends one that isn't supported.

Yes. With clone_voices on, the pipeline separates the speakers and clones each one, so every voice stays distinct. The Cloud API turns it on by default and handles up to 6 speakers.

Yes. A Cloud API dub returns audio_url with the new voices alone and background_url with the music and effects. In the Desktop API, GET /api/v1/dubbing/projects/{project_id}/audio-url returns the dubbed track.

In the Desktop API, yes. POST /api/v1/dubbing/projects/youtube takes the video's URL and a target language. The Cloud API dubs a file you upload with POST /v1/uploads.