Convert Video to GIF
Convert a short video segment into an optimized animated GIF.
POST /api/free/video-to-gifUse Convert Video to GIF online
Upload, configure, preview and download without an API key.
1. Upload and settings
Use this tool online without an API key. Files are sent only when you run the request.
2. Preview and download
Preview, size changes and download controls are shown here
Integrate with the API
Only programmatic calls require an API key. Parameters, responses and errors are documented below.
POST /api/free/video-to-gifOnline use is keyless. Programmatic calls to this endpoint require an APIAny key.
- GIF duration is limited to 10 seconds and width to 960 pixels.
- A generated palette improves color quality while controlling size.
Response
A successful request returns a image response with the Content-Type described by this page.
Common errors
- 400
- A file or parameter is missing, invalid or outside the documented limit.
- 401
- The API key is missing, invalid or disabled for programmatic API calls.
- 429
- The online or authenticated shared rate limit has been reached.
Parameters and limits
| Parameter | Requirement | Default | Accepted values |
|---|---|---|---|
videoVideo file | Required | — | file |
startStart time in seconds | Optional | 0 | number |
durationDuration in seconds | Optional | 3 | number |
widthGIF width | Optional | 640 | number |
fpsFrames per second | Optional | 10 | 6, 8, 10, 12, 15 |
API example
Use this authenticated example in code. The online Playground above intentionally does not request or expose your key.
curl -X POST "https://apiany.ai/api/free/video-to-gif" \ -H "Authorization: Bearer $API_KEY" \ -F "video=@input.mp4" \ -F "duration=3" \ -F "width=640" \ --output clip.gif
Frequently asked questions
Do I need an API key for Convert Video to GIF?
No key is required in the online Playground. Programmatic requests use Authorization: Bearer or X-API-Key.
What are the limits for Convert Video to GIF?
Online use is limited to 3 requests per minute and 30 per day. Authenticated free accounts receive 5 RPM and paid accounts receive 500 RPM across free APIs.
Which inputs does Convert Video to GIF accept?
Use the required and optional fields in the parameter table. Unsupported formats and out-of-range values are rejected.
What does Convert Video to GIF return?
Successful requests return a image response. Errors use the HTTP status codes listed above.