API & MCP
Everything a person can do on Video to GIF Creator, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://videotogifcreator.usefulweb.site/api/v1/calculate– run Video to GIF CreatorGET https://videotogifcreator.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Video to GIF Creator
Makes a GIF or animated WebP from up to 15 seconds of a video. Choose start, length, frame rate and width; GIFs use ffmpeg's two-stage palette (palettegen/paletteuse) with selectable dithering for much better colours than a default conversion. Shows the size, frame count and a preview.
| Field | Type | Default | Description |
|---|---|---|---|
file (required) | file | — | Video file. MP4, MOV, MKV, WebM, AVI; max 250 MB and 20 minutes. |
start | text | — | Start time. Seconds, mm:ss or hh:mm:ss.mmm. |
duration | number | 3 | Length. At most 15 seconds. |
fps | integer | 12 | Frame rate. 10–15 fps is typical for GIFs; more frames = larger file. |
width | integer | 480 | Width. Height follows the aspect ratio. Never wider than the source. |
format | select (gif, webp) | "gif" | Output format |
dither | select (sierra2_4a, floyd_steinberg, bayer, none) | "sierra2_4a" | Dithering (GIF) |
colors | integer | 256 | Palette colours (GIF) |
statsMode | select (full, diff) | "full" | Palette from (GIF) |
loop | boolean | true | Loop forever |
webpQuality | integer | 75 | WebP quality |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://videotogifcreator.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
video_to_gif_creator - Local stdio connector:
node src/mcp-stdio.ts --tool=video-to-gif-creator
{
"mcpServers": {
"video-to-gif-creator": { "type": "http", "url": "https://videotogifcreator.usefulweb.site/mcp" }
}
}