Convert Video Clip to Palette-Optimized GIF
media_to_gifConvert a local video segment into a two-pass palettegen animated GIF using local FFmpeg, with control over start time, duration, frame rate, and width—files stay on disk.
Instructions
Convert a local video segment into a crisp two-pass palettegen animated GIF via local FFmpeg.
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": {
"inputPath": "<inputPath>"
},
"name": "media_to_gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| width | No | ||
| startSec | No | ||
| inputPath | Yes | Local video file path | |
| outputPath | No | ||
| durationSec | No |