Dub a video into other languages
localize_videoFull automatic dubbing of an uploaded video: transcribe once, translate, voice every target language with its own voice and render a dubbed video per language. Each language returns an audio_url (voice track aligned to the original timeline - upload it to YouTube Studio as a multi-language audio track) and a final_video_url. Takes several minutes: returns job_guids immediately; poll get_localization_status. Confirm the cost with estimate_video_localization for long videos.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_url": "<video_url>",
"source_language": "<source_language>",
"targets": "<targets>"
},
"name": "localize_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | One entry per target language (the server allows 10 per job by default). | |
| video_url | Yes | public_url from create_upload_url. | |
| source_language | Yes | Spoken language of the video, e.g. vi. | |
| original_audio_volume_percent | No | Keep the original sound (music/effects) under the new voice at this volume in the dubbed video. 0 = remove. |