Dub video
dub_videoLocalize a finished video into another language without re-rendering: spoken lines stay in place with native, lip-synced voices and original background; returns the localized video URL.
Instructions
Localize a finished video into another language WITHOUT re-rendering it: each spoken line is said where it was said, in a native voice, lip-synced, background kept. Pass the video and the language; the script is read off the source (script only overrides it). Paid by length; dryRun quotes. Returns the localized video URL.
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": "<video>",
"language": "<language>"
},
"name": "dub_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | the source video URL; a URL, not a local file path; use upload_file for local files | |
| voice | No | optional, e.g. 'Aria' (woman) or 'George' (man): a native voice of that sex speaks. Default: the source speaker's sex. | |
| dryRun | No | quote only | |
| script | No | OPTIONAL override for the original spoken words. Leave this out — the source video is transcribed automatically. Only pass it when you already know the exact script and the auto-transcript got it wrong. | |
| get_cost | No | true: return the price only; nothing runs or bills | |
| language | Yes | target language, e.g. 'Spanish', 'de', 'French (Canada)' | |
| idempotency_key | No | chosen once, resent unchanged on retries: the same key never buys twice | |
| expected_credits | No | the get_cost price; refused unbilled if the live price differs |