Translate a video
translate_videoDub a video with speech into another language, keeping the speaker's voice and syncing the lips. Ask the user to confirm they may use the face and voice first, then set consent. One language per call (use run_batch for several). Uses PopNow credits (from 5 credits per second with the default model). Call it once for the price, then again with max_credits after the user agrees.
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>",
"target_language": "<target_language>"
},
"name": "translate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional: video-translator-v1 (default), heygen-video-translate (higher lip-sync precision, costs more) or elevenlabs-dubbing (replaces only the soundtrack, up to 15 minutes, no subtitles). | |
| consent | No | Required. Set true only after the user confirms all of this: the face and voice are theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own. | |
| speakers | No | Optional number of people speaking, 1 to 4. | |
| video_url | Yes | The video with speech to translate (popnow:// or https link). | |
| keep_voice | No | Keep the speaker's own voice in the new language (default true). | |
| max_credits | No | The most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. | |
| source_language | No | Optional spoken language of the video (code). Leave empty to detect it. | |
| target_language | Yes | The language to dub into, as a code or a name: es or Spanish, ja or Japanese, de, fr, pt, zh-CN and so on. | |
| keep_background_audio | No | Keep music and background sound (default true). |