Generate videos with overlays API
Automatically generate videos with overlays by using the Shotstack API infrastructure
The internet's most advanced image and video editing API
Shotstack is the most user friendly, powerful and reliable infrastructure solution to automatically generate videos with overlays.
{
"timeline": {
"soundtrack": {
"src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/private/epic.mp3"
},
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "title",
"text": "Overlay",
"style": "minimal",
"size": "small"
},
"start": 0,
"length": 5,
"transition": {
"in": "fade",
"out": "fade"
},
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/overlay.mov"
},
"start": 0,
"length": 5
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/footage/cat.hd.mp4",
"trim": 5
},
"start": 0,
"length": 5
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "sd"
}
}Tutorials & Resources
Learn how to automatically generate videos with overlays via API
Demo's & Code Examples
Automatically generate videos with overlays 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