dub_video
Dub video
Description
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. Only the SPOKEN words change: for the same video with its on-screen words in that language too, also call edit_video with textChanges (every line and its translation, in one call); never re-make the ad to translate it.
Parameters
| Parameter | Type | Description |
|---|---|---|
videorequired | string | the source video URL; a URL, not a local file path; use upload_file for local files |
languagerequired | string | target language, e.g. 'Spanish', 'de', 'French (Canada)' |
script | string | 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. |
voice | string | optional, e.g. 'Aria' (woman) or 'George' (man): a native voice of that sex speaks. Default: the source speaker's sex. |
dryRun | boolean | quote only |
get_cost | boolean | true: return the price only; nothing runs or bills |
expected_credits | number | the get_cost price; refused unbilled if the live price differs |
idempotency_key | string | chosen once, resent unchanged on retries: the same key never buys twice |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/dub_video.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dub_video","arguments":{"video":"<string>","language":"<string>"}}}
CLI
hermoso call dub_video --json '{"video":"<string>","language":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
edit_videoEdit a video cliprewrite_ad_lineChange the hook or call to actionchange_voiceChange narrator voicehook_variantsNew opening hooks for a videorecast_motionRecast motionlist_winning_adsWinning ads to start fromproduct_photoshootProduct photoshootmultiply_adMultiply an adface_swap_videoSwap only the face in a videotrack_objectsTrack objects in a video