Change one thing in a video
edit_video_regionChange one thing in an existing video and keep the rest as it was: recolor something to an exact color, remove, replace or add an object, swap the background, or change the lighting, weather or style. Name the thing in target. Uses PopNow credits (from 142 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>",
"instruction": "<instruction>"
},
"name": "edit_video_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What kind of change: auto (default, decide from the instruction), recolor, remove, replace, add, background (keep the subject, change everything around it), relight, weather or style. | |
| model | No | Optional model that can edit videos or swap objects in them (list_models with category video shows them). Leave empty to let PopNow pick one for the kind of change. | |
| target | No | Optional: the thing to change, in a few words as it looks in the clip, for example: the coat, the car on the left. For background, the subject to keep. | |
| color_hex | No | Optional exact color as #RRGGBB, for example #C8553D. Used with recolor. | |
| 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. | |
| resolution | No | Optional output resolution the model offers, for example 480p, 720p or 768p (list_models with the model shows them). Leave empty for the default. Higher costs more. | |
| instruction | Yes | The one change to make, in plain words, for example: make the coat burnt orange, remove the cyclist, put a red umbrella in her hand, turn it into a snowy evening. | |
| max_credits | No | OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. | |
| reference_image_urls | No | Optional pictures (https or popnow:// links) of the new look, object or place, up to 4. |