dub_video
Translates a video’s speech into another language, re-voices it with a synthetic voice, lowers the original audio, and can burn translated subtitles; runs as a background job with status polling.
Instructions
Translate a video's speech and re-voice it in another language: transcribe, translate sentence by sentence, speak with one synthetic voice, lower the original audio and write translated subtitles (no voice cloning, no lip-sync). It runs in the background: the call returns a job_id, so poll get_render_status until it is 'completed' or 'failed'. The text to speak is sent to the voice service (Edge or ElevenLabs) and the transcript to the AI text provider; nothing is posted. Use extract_clips instead to cut shorts without changing the language.
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": {
"source_video": "<source_video>",
"target_lang": "<target_lang>"
},
"name": "dub_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dub_voice | No | The voice for the target language. | female |
| target_lang | Yes | The language to dub into. Required. | |
| dub_captions | No | Burn the translated subtitles into the dubbed video (re-encodes). | |
| source_video | Yes | Local video file path or a video URL to dub. Required. |