Convert video to GIF API
Convert video to GIF using the Shotstack cloud based video to gif API. Integrate media conversion features in your product.
The internet's most advanced image and video editing API
Shotstack 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
}
}Tutorials & Resources
Learn how to automatically convert video to gif via API
Demo's & Code Examples
Automatically convert video to gif by using demo code
-
Pexels Video Maker
Search the Pexels stock footage video library and the Shotstack API will automatically compile an edit with music and a title
Go to demo -
Watermark Video
Add a watermark to a video using the Shotstack API. This free demo lets you upload a video and add a watermark
Go to demo