gif
Convert a video segment into an optimized animated image with two-pass palette processing; set width, FPS, start time, and duration.
Instructions
Convert video segment to high-quality GIF with two-pass palette optimization. Control size, FPS, and duration.
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>"
},
"name": "gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second | |
| input | Yes | Input video file path | |
| start | No | Start time (HH:MM:SS or seconds) | |
| width | No | Output width (-1 for auto) | |
| output | No | Output GIF file path | |
| duration | No | Duration in seconds | 5 |