hermosodocs

dub_video

Dub video

Area: post-production & analysis · Creative generation. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
videorequiredstringthe source video URL; a URL, not a local file path; use upload_file for local files
languagerequiredstringtarget language, e.g. 'Spanish', 'de', 'French (Canada)'
scriptstringOPTIONAL 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.
voicestringoptional, e.g. 'Aria' (woman) or 'George' (man): a native voice of that sex speaks. Default: the source speaker's sex.
dryRunbooleanquote only
get_costbooleantrue: return the price only; nothing runs or bills
expected_creditsnumberthe get_cost price; refused unbilled if the live price differs
idempotency_keystringchosen 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.

All 102 Creative generation tools · tools.json