Edit a video
edit_videoChange a short video with words: swap the subject, outfit, setting, style or weather while keeping the motion. Charged in USD to your PopNow balance. Call it without max_usd for a quote, then again with max_usd after the user approves.
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>",
"prompt": "<prompt>"
},
"name": "edit_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model that can edit videos (list_models with category video shows them). Leave empty for the default, Kling O3. | |
| prompt | Yes | What to change, in plain words: the subject, outfit, setting, style or weather. What you don't mention stays the same. | |
| max_usd | No | Approved maximum in USD as a decimal string with up to 9 fractional digits, copied from the quoted cost_usd. Set it only after the user approves; leave it out to get a quote. Nothing is charged without it. | |
| currency | No | Optional. Always USD for this endpoint. | |
| video_url | Yes | The clip to change (3 to 10 seconds works best): a popnow:// link from an earlier result, or a public https link. | |
| reference_image_urls | No | Optional reference pictures (https or popnow:// links) for a new character, outfit, object or place. |