sam2_video_inpaint
Erase unwanted objects from video frames spatially: SAM2 segments the target from point prompts, OpenCV Telea fills the region per frame, with silent output.
Instructions
SAM2 + OpenCV Telea: spatial erasure. No generative model, and no guaranteed temporal consistency. Silent video.
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": {
"input": "<input>",
"output": "<output>",
"points": "<points>"
},
"name": "sam2_video_inpaint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | ||
| input | Yes | ||
| labels | No | ||
| output | Yes | ||
| points | Yes | ||
| erosion | No |