Programmatically edit and create videos using the Shotstack video creation API. Launch video products faster using the API infrastructure.
Get StartedShotstack is the most user friendly, powerful and reliable infrastructure solution to automatically create video.
{
"timeline": {
"soundtrack": {
"src": "https://shotstack-ingest-api-v1-au.s3.ap-southeast-2.amazonaws.com/62hne3bb81/zzyb4sgv-09kv-d808-1t8z-2s5uk70lgpli/source.mp3",
"effect": "fadeInFadeOut"
},
"fonts": [
{
"src": "https://templates.shotstack.io/basic/asset/font/raleway-regular.ttf"
},
{
"src": "https://templates.shotstack.io/basic/asset/font/raleway-bold.ttf"
}
],
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>Wild tiger numbers 40% higher than thought, says conservation group</p>",
"css": "p { color: #ffffff; font-size: 60px; font-family: Montserrat ExtraBold; text-align: left; }",
"width": 457,
"height": 680
},
"fit": "none",
"scale": 1,
"offset": {
"x": -0.264,
"y": 0.009
},
"position": "center",
"transition": {
"in": "wipeRight",
"out": "wipeLeft"
},
"start": 1,
"length": 5
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>Improved monitoring has shown nearly 6,000 tigers, says the International Union for Conservation of Nature, with the population ‘stable or increasing</p>",
"css": "p { color: #ffffff; font-size: 55px; font-family: Montserrat ExtraBold; text-align: left; }",
"width": 539,
"height": 759
},
"fit": "none",
"scale": 1,
"offset": {
"x": -0.226,
"y": -0.006
},
"position": "center",
"transition": {
"in": "wipeRight",
"out": "wipeLeft"
},
"start": 7,
"length": 5
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>There are thought to be between 3,726 and 5,578 wild tigers – 40% more than at the last assessment in 2015.</p>",
"css": "p { color: #ffffff; font-size: 55px; font-family: Montserrat ExtraBold; text-align: center; }",
"width": 1024,
"height": 395
},
"fit": "none",
"scale": 1,
"offset": {
"x": -0.006,
"y": -0.357
},
"position": "center",
"transition": {
"in": "wipeRight",
"out": "wipeLeft"
},
"start": 13,
"length": 5
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-ingest-api-v1-au.s3.ap-southeast-2.amazonaws.com/62hne3bb81/zzyb4sry-0vvq-pb3j-droa-3yuxf90cmlve/source.jpg"
},
"transition": {
"in": "fade",
"out": "fade"
},
"offset": {
"x": 0.077,
"y": 0.006
},
"position": "center",
"fit": "crop",
"scale": 1,
"start": 0,
"filter": "darken",
"opacity": 1,
"effect": "zoomInSlow",
"length": 6
},
{
"asset": {
"type": "image",
"src": "https://shotstack-ingest-api-v1-au.s3.ap-southeast-2.amazonaws.com/62hne3bb81/zzyb4sri-2ex2-vd1m-jt70-2p6asr0085pv/source.jpg"
},
"transition": {
"in": "fadeSlow",
"out": "fadeSlow"
},
"offset": {
"x": 0.212,
"y": 0.001
},
"position": "center",
"filter": "darken",
"opacity": 1,
"effect": "zoomInSlow",
"fit": "crop",
"scale": 1,
"start": 6,
"length": 6.5
},
{
"asset": {
"type": "image",
"src": "https://shotstack-ingest-api-v1-au.s3.ap-southeast-2.amazonaws.com/62hne3bb81/zzyb4slz-3u7b-8x0e-vt0z-0fli8x0u7ddw/source.jpg"
},
"transition": {
"in": "fadeSlow",
"out": "fadeSlow"
},
"offset": {
"x": 0.233,
"y": -0.001
},
"position": "center",
"filter": "darken",
"opacity": 1,
"effect": "zoomInSlow",
"start": 12.5,
"length": 6.5
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1080,
"height": 1080
}
}
}
Learn how to automatically create video 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