Extract frame
extract_frameExtract a specific frame from a video and save it as a thumbnail or still image. Use to create previews or cover images.
Instructions
Save a single frame of the video as an image (thumbnail/still). Good for previews and cover images.
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_path": "<input_path>"
},
"name": "extract_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format (default jpg) | |
| timestamp | No | Time of the frame to grab (default: 1 second in) | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the image |