Lip-sync a video
lip_syncMake the person in a video say new words: their lips follow a speech or song track. Ask the user to confirm they may use the face and voice first, then set consent. Uses PopNow credits (from 12 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>",
"audio_url": "<audio_url>"
},
"name": "lip_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional: lip-sync-v1 (default), sync-lipsync-3 (clips up to 5 minutes), sync-lipsync-2 (clips up to 2 minutes), sync-lipsync-2-pro (sharper close-ups, billed by the audio length), bytedance-lip-sync or infinitetalk. All of them cost more than the default. | |
| 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. | |
| audio_url | Yes | The speech or song to match (popnow:// or https link, for example from create_speech). | |
| video_url | Yes | The video of the person whose lips to sync (popnow:// or https link). | |
| max_credits | No | The most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. |