Edit a real video: swap or add anything
edit_videoChange one thing in a real video and keep everything else: the product from a photo in someone's hand instead of what they hold, one can swapped for another, a bottle put on the desk, a car driving past. The first 10 s are used; the people, motion, camera, light and the video's own sound stay. Name the photos photo1.jpg, photo2.jpg in the prompt in the order given, and say what happens to things around the swapped object (e.g. "and remove the earbuds"). 2 credits. Poll list_creations.
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": "<video>",
"prompt": "<prompt>"
},
"name": "edit_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | The video to edit (mp4, webm or mov): a CartViral /u/ link, or any public https link to the file (downloaded once) | |
| aspect | No | Frame: 9:16 vertical (TikTok, Reels, Shorts), 4:5, 1:1, 16:9 (YouTube, covers, banners) | 9:16 |
| prompt | Yes | What changes, e.g. "replace the cup in her hand with the tumbler from photo1.jpg" | |
| product_images | No | Photos of the product or object to put in, referred to as photo1.jpg, photo2.jpg: CartViral /u/ links or public https file links, up to 5 |