video_to_gif
Convert a video clip into an optimized GIF with adjustable fps, start time, width, and duration. Uses a two-pass palette to balance quality and file size.
Instructions
Convert a video clip to an optimized GIF using a two-pass palette for better quality/size.
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": {
"video_path": "<video_path>"
},
"name": "video_to_gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| start | No | 00:00:00 | |
| width | No | ||
| duration | No | ||
| video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |