Edit and make videos using the Shotstack video editing API. Build video apps using the cloud based API infrastructure.
Get StartedShotstack is the most user friendly, powerful and reliable infrastructure solution to automatically edit and make videos.
{
"timeline": {
"soundtrack": {
"src": "https://feeds.soundcloud.com/stream/1038044245-unminus-waveform.mp3"
},
"fonts": [
{
"src": "https://templates.shotstack.io/basic/asset/font/quicksand-regular.ttf"
},
{
"src": "https://templates.shotstack.io/basic/asset/font/quicksand-bold.ttf"
}
],
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Grand Pacific Hotel</p>",
"css": "p { font-family: 'Quicksand'; color: #ffffff; font-weight: bold; font-size: 60px; text-align: center; }",
"width": 1200,
"height": 600
},
"start": 0,
"length": 4,
"effect": "zoomIn",
"transition": {
"in": "slideUp",
"out": "slideDown"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Grand Pacific Hotel</p>",
"css": "p { font-family: 'Quicksand'; color: #CC000000; font-weight: bold; font-size: 60px; text-align: center; }",
"width": 1200,
"height": 600
},
"start": 0,
"length": 4,
"effect": "zoomIn",
"filter": "blur",
"transition": {
"in": "slideUp",
"out": "slideDown"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-down-45.mp4"
},
"start": 4,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://cdn.pixabay.com/photo/2018/10/28/10/52/imatra-3778397_960_720.jpg"
},
"start": 0,
"length": 5,
"effect": "zoomIn",
"transition": {
"in": "fade"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'The room was clean and the breakfast is good'</p> <br> <span>Kim, Thailand</span>",
"css": "p { font-family: 'Quicksand'; color: #ffffff; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #ffffff; font-size: 36px; text-align: center;}",
"width": 1400,
"height": 600
},
"start": 5,
"length": 3,
"effect": "zoomIn",
"transition": {
"in": "slideDown",
"out": "slideUp"
},
"fit": "none",
"scale": 1,
"offset": {
"x": 0,
"y": 0
},
"position": "center"
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'The room was clean and the breakfast is good'</p> <br> <span>Kim, Thailand</span>",
"css": "p { font-family: 'Quicksand'; color: #CC000000; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #CC000000; font-size: 36px; text-align: center;}",
"width": 1400,
"height": 600
},
"start": 5,
"length": 3,
"effect": "zoomIn",
"filter": "blur",
"transition": {
"in": "slideDown",
"out": "slideUp"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-up-45.mp4"
},
"start": 8,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://images.pexels.com/photos/262048/pexels-photo-262048.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940"
},
"start": 4,
"length": 5,
"effect": "zoomIn",
"offset": {
"x": 0,
"y": 0
},
"position": "center"
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-left-45.mp4"
},
"start": 10,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://images.pexels.com/photos/2789328/pexels-photo-2789328.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940"
},
"start": 8,
"length": 3,
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'Staff were very accommodating'</p> <br> <span>Charles, Australia</span>",
"css": "p { font-family: 'Quicksand'; color: #ffffff; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #ffffff; font-size: 36px; text-align: center;}",
"width": 1400,
"height": 600
},
"start": 11,
"length": 3,
"effect": "zoomIn",
"transition": {
"in": "slideLeft",
"out": "slideRight"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'Staff were very accommodating'</p> <br> <span>Charles, Australia</span>",
"css": "p { font-family: 'Quicksand'; color: #CC000000; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #CC000000; font-size: 36px; text-align: center;}",
"width": 1400,
"height": 600,
"background": "transparent"
},
"start": 11,
"length": 3,
"effect": "zoomIn",
"filter": "blur",
"transition": {
"in": "slideLeft",
"out": "slideRight"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-right-45.mp4"
},
"start": 14,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://images.pexels.com/photos/2696064/pexels-photo-2696064.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940"
},
"start": 10,
"length": 6,
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-down-45.mp4"
},
"start": 16,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://images.pexels.com/photos/3771087/pexels-photo-3771087.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940"
},
"start": 14,
"length": 4,
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'Highly recommended. I would definitely stay here again!'</p> <br> <span>Gabe, United Kingdom</span>",
"css": "p { font-family: 'Quicksand'; color: #ffffff; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #ffffff; font-size: 36px; text-align: center; }",
"width": 1400,
"height": 600
},
"start": 17,
"length": 3,
"effect": "zoomIn",
"transition": {
"in": "slideDown",
"out": "slideUp"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'Highly recommended. I would definitely stay here again!'</p> <br> <span>Gabe, United Kingdom</span>",
"css": "p { font-family: 'Quicksand'; color: #CC000000; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #CC000000; font-size: 36px; text-align: center; }",
"width": 1400,
"height": 600
},
"start": 17,
"length": 3,
"effect": "zoomIn",
"filter": "blur",
"transition": {
"in": "slideDown",
"out": "slideUp"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-up-45.mp4"
},
"start": 20,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://images.pexels.com/photos/6394711/pexels-photo-6394711.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940"
},
"start": 16,
"length": 6,
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-left-45.mp4"
},
"start": 22,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://cdn.pixabay.com/photo/2018/11/09/13/00/furniture-3804535_960_720.jpg"
},
"start": 20,
"length": 3,
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'Great experience. Strongly recommended'</p> <br> <span>Peter, United States</span>",
"css": "p { font-family: 'Quicksand'; color: #ffffff; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #ffffff; font-size: 36px; text-align: center; }",
"width": 1400,
"height": 600
},
"start": 23,
"length": 3,
"effect": "zoomIn",
"transition": {
"in": "slideLeft",
"out": "slideUp"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>'Great experience. Strongly recommended'</p> <br> <span>Peter, United States</span>",
"css": "p { font-family: 'Quicksand'; color: #CC000000; font-weight: bold; font-size: 60px; text-align: center; } span {font-family: 'Quicksand'; color: #CC000000; font-size: 36px; text-align: center; }",
"width": 1400,
"height": 600
},
"start": 23,
"length": 3,
"effect": "zoomIn",
"filter": "blur",
"transition": {
"in": "slideLeft",
"out": "slideUp"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/basic/asset/video/luma/double-arrow/double-arrow-up-45.mp4"
},
"start": 25,
"length": 2
},
{
"asset": {
"type": "image",
"src": "https://cdn.pixabay.com/photo/2016/11/14/02/28/apartment-1822409_960_720.jpg"
},
"start": 22,
"length": 5,
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Book Now</p>",
"css": "p { font-family: 'Quicksand'; color: #ffffff; font-weight: bold; font-size: 72px; text-align: center; }",
"width": 800,
"height": 200
},
"start": 25.8,
"length": 4.2,
"effect": "zoomIn",
"transition": {
"in": "slideUp"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Book Now</p>",
"css": "p { font-family: 'Quicksand'; color: #CC000000; font-weight: bold; font-size: 72px; text-align: center; }",
"width": 800,
"height": 200
},
"start": 25.8,
"length": 4.2,
"effect": "zoomIn",
"filter": "blur",
"transition": {
"in": "slideUp"
}
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1920,
"height": 1080
}
}
}
Learn how to automatically edit and make videos 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