Professionally built templates to get you started.
{
"timeline": {
"soundtrack": {
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/berlin.mp3",
"effect": "fadeInFadeOut"
},
"tracks": [
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/logos/shotstack/small/logo-reverse.png"
},
"start": 0,
"length": 1.96,
"opacity": 0.85,
"scale": 0.15,
"transition": {
"in": "fade",
"out": "fade"
}
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/logos/shotstack/small/logo-reverse.png"
},
"start": 2,
"length": 1.96,
"scale": 0.15,
"opacity": 0.75,
"transition": {
"in": "slideLeft",
"out": "slideRight"
}
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/logos/shotstack/small/logo-reverse.png"
},
"start": 4,
"length": 1.96,
"scale": 0.15,
"opacity": 0.5,
"transition": {
"in": "zoom",
"out": "zoom"
}
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/logos/shotstack/small/logo-reverse.png"
},
"start": 6,
"length": 1.96,
"scale": 0.15,
"opacity": 0.25,
"transition": {
"in": "slideUp",
"out": "slideDown"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/footage/cat.hd.mp4",
"trim": 5
},
"start": 0,
"length": 10
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "sd"
}
}
Template for adding opacity to an asset.
New to Shotstack? Sign up to use this template and start automatically generating videos.
Test and modify this template directly in Postman by forking our public Collection.
Customise the template and integrate it in to your application or workflow using the programming language of your choice.
Use this template as the starting point for integration with our SDKs. Port the JSON to PHP, Node or Ruby and integrate in to your code base.
Unlimited developer sandbox
Free tier (no watermarks)
No credit card required