{
"timeline": {
"soundtrack": {
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/berlin.mp3"
},
"tracks": [
{
"clips": [
{
"asset": {
"type": "title",
"text": "Hello World",
"style": "minimal",
"size": "large"
},
"start": 0,
"length": 2.5,
"transform": {
"rotate": {
"angle": 45
}
}
},
{
"asset": {
"type": "title",
"text": "Hello World",
"style": "minimal",
"size": "large"
},
"start": 2.5,
"length": 2.5,
"transform": {
"rotate": {
"angle": 135
}
}
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/images/wave-barrel.jpg"
},
"start": 5,
"length": 2.5,
"transform": {
"rotate": {
"angle": 90
}
}
},
{
"asset": {
"type": "video",
"src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/footage/cat.hd.mp4",
"trim": 5
},
"start": 7.5,
"length": 2.5,
"transform": {
"rotate": {
"angle": 180
}
}
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "sd"
}
}
A rotate transformation that allows you to flip your assets.
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.
Customize 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.