Generate Videos With Overlays Via API

Build automated image and video editing workflows and applications with Shotstack.

GET STARTED FOR FREE Example

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.

GET STARTED FOR FREE

The only thing you need is some JSON

{
"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

How to auto generate watermarked videos using Integromat
How to auto generate watermarked videos using Integromat

Automatically watermark videos from Google Drive using Integromat.

Read more

Merge videos using FFmpeg concat
Merge videos using FFmpeg concat

How to use the FFmpeg concat command to merge videos together to create a simple video edit.

Read more

Hello World - Edit your first video using the Shotstack API
Hello World - Edit your first video using the Shotstack API

Get started with the Shotstack video editing API and create your first video in 10 minutes.

Read more

Demo's & Code Examples

Automatically Generate videos with overlays by using demo code

Pexels Video Maker
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

Picture in Picture Video Editor
Picture in Picture Video Editor

Overlay a small video over the top of a background video to create a picture in picture video effect

Go to demo

Watermark Video
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