Video Export Gif
video_export_gifExports a video (or a [start_ms,end_ms] slice of it) to an optimized looping GIF — for README/social. fps (default 12) and width (default 640, height auto) control size. Returns the output path, frame count, and size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second in the GIF (default 12). | |
| input | Yes | Path to the source video. | |
| width | No | Output width in px, 64–1920 (a value outside is clamped to the nearest end); height scales to keep aspect (default 640). | |
| end_ms | No | Slice end (default: end of video). | |
| output | No | Output path (default: <input>.gif). Missing parent folders are created. | |
| confirm | No | Ignored; kept for older clients. | |
| start_ms | No | Slice start (default 0). | |
| overwrite | No | Replace an existing file at output. Without it an existing output is refused. The input is never overwritten. |