Powered by WebAssembly
Convert MP4 to GIF via API
Create animated GIFs from video clips with fine-grained control over frame rate and palette. Ideal for product demos, social previews, and documentation.
Try it in your browser
Loading FFmpeg engine... (~31 MB)
Use the API
curl -X POST https://renderio.dev/v1/commands \
-H "X-API-KEY: ffsk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"ffmpeg_command": "-i {in_video} -vf \"fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse\" {out_video}",
"input_files": {
"in_video": "https://example.com/input.mp4"
},
"output_files": {
"out_video": "output.gif"
}
}'Need an API key? Get your free API key to start processing files programmatically.
Common Variations
Higher frame rate (15fps)
-i input.mp4 -vf "fps=15,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gifFirst 3 seconds only
-i input.mp4 -t 3 -vf "fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gifSmall thumbnail GIF (240px)
-i input.mp4 -t 5 -vf "fps=8,scale=240:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gifLoop 3 times then stop
-i input.mp4 -vf "fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 3 output.gifRelated Operations
Need to process at scale?
Automate this with the RenderIO FFmpeg API. Process thousands of files programmatically or through no-code video automation.