sam2_object_track
Tracks a single object across video frames using SAM2 point prompts, outputting masks and a JSONL track with bounding boxes and centroids to enable object-aware editing workflows.
Instructions
SAM2: masks plus a JSONL track (boxes and centroids) for one object.
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_object_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | ||
| input | Yes | ||
| labels | No | ||
| output | Yes | ||
| points | Yes | ||
| erosion | No |