video erase
cli_video_eraseErase specified x,y,w,h regions from a video across all or selected frames, with optional tracking to remove moving watermarks or objects.
Instructions
Erase user-directed (x,y,w,h) region(s) from a video across all or selected frames.
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": {
"source": "<source>",
"regions": "<regions>"
},
"name": "cli_video_erase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | No | Track moving watermark/object box(es) across video frames from the starting frame. | |
| dilate | No | Grow each box in pixels. | |
| frames | No | Inclusive 0-based START:END frame range (default: all frames). | |
| output | No | Output path (default: <source>_clean with the same container). | |
| source | Yes | source | |
| as_json | No | Emit the result as JSON. | |
| backend | No | Inpaint backend for unrecovered core pixels. | auto |
| regions | Yes | x,y,w,h box to erase (repeatable). | |
| strip_metadata | No | Strip AI metadata from the transcoded output. | |
| temporal_consistency | No | Enable multi-frame YCrCb unblending, optical-flow clean-plate recovery, and temporal stabilization. |