All prebuilt tools VIDEO TO GIF API

Convert Video to GIF Online or by API

Turn a short video section into a smooth, palette-optimized animated GIF. Run the preset directly on this page or call the same agent-ready endpoint from your product.

LIVE TOOL
Run convert video to gif
Paste a public media URL, choose your settings and download the result here.

The URL must be reachable without a login and remain available while the job runs.

Already have an account? Sign in

BEFORE / AFTER

See what the tool changes.

A visual guide to the transformation. Run the live form above to generate and download the real result from your own media.

BeforeVideo clip
MP4 · 4 seconds
AfterAnimated GIF
Ready
GIF · 15 FPS
GIF · 15 fps · loop
BUILT FOR AUTOMATION

Useful defaults, typed options.

The tool slug stays stable while your agent supplies named media inputs and a narrow set of documented options.

  • Palette-based GIF quality
  • Controlled width and frame rate
  • Looping downloadable output
What this preset does
  1. 01Trim a short source section
  2. 02Resize with Lanczos scaling
  3. 03Generate a color palette
  4. 04Render a loopable GIF with palette dithering
Stable endpointPOST /api/v1/tools/convert-video-to-gif
Live API request
{
  "inputs": [{ "id": "main", "url": "https://example.com/video.mp4" }],
  "options": { "start": 2, "duration": 4, "fps": 15, "width": 640 }
}
Successful output example
{
  "result": {
    "output": {
      "filename": "output.gif",
      "contentType": "image/gif",
      "downloadUrl": "https://storage.googleapis.com/…"
    }
  }
}
CONSTRAINTS

Know the boundaries before you run.

GIF duration is limited to 30 seconds.
Width must be between 160 and 1280 pixels.
Frame rate must be between 5 and 30 fps.
FAQ

About video to gif

Why does the tool generate a palette?

GIF supports a limited color palette. Generating it from the selected clip produces cleaner gradients and fewer artifacts.

How do I keep the GIF small?

Use a short duration, a width around 480–640 pixels and 10–15 frames per second.

Does the GIF loop?

Yes. The generated file is configured to loop continuously.

KEEP BUILDING

Related media tools

Video Thumbnail Generator API
Generate a sharp thumbnail or poster frame at an exact timestamp.
Trim Video with an API
Cut a precise segment from a source video using start and end times.
Compress Video for Web
Reduce video file size while preserving a crisp, web-ready image.