Programmatically generate slideshow videos API
Programatically automate slideshow video generation using the Shotstack API.
The internet's most advanced image and video editing API
Shotstack is the most user friendly, powerful and reliable infrastructure solution to automatically programmatically generate slideshow videos.
{
"timeline": {
"soundtrack": {
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/music/unminus/ambisax.mp3",
"effect": "fadeOut"
},
"fonts": [
{
"src": "https://templates.shotstack.io/basic/asset/font/manrope-extrabold.ttf"
},
{
"src": "https://templates.shotstack.io/basic/asset/font/manrope-light.ttf"
}
],
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/images/realestate1.jpg"
},
"start": 0,
"length": 6,
"effect": "zoomInSlow",
"transition": {
"in": "fade"
},
"offset": {
"x": 0,
"y": 0
},
"position": "center"
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/images/realestate2.jpg"
},
"start": 6,
"length": 6,
"effect": "slideLeftSlow"
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/images/realestate3.jpg"
},
"start": 12,
"length": 6,
"effect": "slideRightSlow"
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/images/realestate4.jpg"
},
"start": 18,
"length": 6,
"effect": "slideUpSlow"
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/images/realestate5.jpg"
},
"start": 24,
"length": 6,
"effect": "slideLeftSlow"
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/images/realestate1.jpg"
},
"start": 30,
"length": 6,
"effect": "zoomInSlow"
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1280,
"height": 720
}
}
}Tutorials & Resources
Learn how to automatically programmatically generate slideshow videos via API
Demo's & Code Examples
Automatically programmatically generate slideshow videos 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