Convert video to GIF using the Shotstack cloud based video to gif API. Integrate media conversion features in your product.
Get StartedShotstack is the most user friendly, powerful and reliable infrastructure solution to automatically convert video to gif.
{
"timeline": {
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-ingest-api-v1-au.s3.ap-southeast-2.amazonaws.com/62hne3bb81/zzyb58zg-3s0j-440g-hf9o-0hvxy73joauh/source.m4v",
"trim": 3
},
"offset": {
"x": 0,
"y": 0
},
"position": "center",
"length": 4,
"start": 0
}
]
}
]
},
"output": {
"size": {
"width": 250,
"height": 250
},
"format": "gif",
"repeat": true,
"quality": "low",
"fps": 12
}
}
Learn how to automatically convert video to gif via API
Search the Pexels stock footage video library and the Shotstack API will automatically compile an edit with music and a title
Create a personalised video with a Christmas message using the Shotstack API. Merge text and video from a form to generate a video
Unlimited developer sandbox
No credit card required