video_to-gif
Convert a video fragment to a GIF by setting start, duration, fps, and width. A per-video palette prevents image noise.
Instructions
Video to GIF. Build a GIF from a fragment. The palette is generated for your specific video in a separate pass — without that you get noise instead of a picture. Accepts video/*, .mp4, .mov, .mkv, .webm, .avi, .m4v; up to 500 MB per file.
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": {
"paths": "<paths>"
},
"name": "video_to-gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second. More is smoother and heavier | |
| from | No | Start point. 1:30 or 90 both work | 0 |
| paths | Yes | Paths to the files to process, absolute or relative to the working directory. | |
| width | No | Width in pixels. Height follows | |
| seconds | No | How many seconds to take | |
| outputDir | No | Where to put the results. Defaults to the folder each source file came from. Existing files are never overwritten. |