extract_frames
Export numbered image frames from a video for COLMAP or matting. Use the fps option to thin long clips before processing.
Instructions
Export numbered frames (00001.jpg ...) for COLMAP or matting. Use fps to thin long clips.
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>",
"out_dir": "<out_dir>"
},
"name": "extract_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | jpg | |
| fps | No | ||
| input | Yes | ||
| start | No | ||
| out_dir | Yes | ||
| duration | No |