{
"timeline": {
"tracks": [
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/branding/logo-watermark-wht.png"
},
"start": 0,
"length": 5,
"fit": "none",
"scale": 0,
"opacity": 0.5,
"position": "topRight",
"offset": {
"x": -0.04,
"y": -0.04
}
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/city-timelapse.mp4"
},
"start": 0,
"length": 5
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "hd"
}
}
Search the Pexels stock footage video library and the Shotstack API will automatically compile an edit with music and a title
Overlay a small video over the top of a background video to create a picture in picture video effect