Edit a video
vids_edit_videoChange a generated clip with a prompt (colours, objects, style); returns up to 15 s of it, from the start. A job, like vids_create_video. POST /videos/edit.
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": "vids_edit_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | A video mediaId, from a finished video job's result (vids_create_video, vids_get_job). | |
| prompt | Yes | The change to make. | |
| duration | No | Seconds of the clip to edit. Default: the clip's length, up to 15, 3-15. | |
| resolution | No | Default: the source clip's. | |
| aspectRatio | No | Default: the source clip's. |