{
"timeline": {
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"width": 720,
"height": 212,
"position": "bottom",
"html": "<p data-html-type=\"text\">HELLO {{ NAME }}</p>",
"css": "p { color: #ffffff; font-size: 80px; font-family: 'Movie Letters'; text-align: center; }"
},
"start": 4,
"length": 11,
"transition": {
"in": "fade",
"out": "fade"
},
"fit": "none",
"scale": 1,
"offset": {
"x": -0.206,
"y": -0.138
},
"position": "center",
"effect": "zoomIn"
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/earth.mp4",
"trim": 5
},
"start": 0,
"length": 15,
"transition": {
"in": "fade",
"out": "fade"
},
"offset": {
"x": 0,
"y": 0
},
"position": "center",
"scale": 1
}
]
},
{
"clips": [
{
"asset": {
"type": "audio",
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzy8xbmk-1il3-dk4w-qubt-0p4qjs31tpw2/source.mp3",
"volume": 1,
"effect": "fadeOut"
},
"start": 0,
"length": 15
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1280,
"height": 720
}
},
"merge": [
{
"find": "NAME",
"replace": "World"
}
]
}
This simple Hello World demo template will show you how to use a merge filed text placeholder to replace text in a video. The video also demonstrates how to use a video clip, audio clip and how to add motion effects and transitions.
Type | Video |
---|---|
Resolution | 1280 x 720 |
Format | MP4 |
Duration | 15 seconds |
Frame Rate | 25fps |
Open this template in the Shotstack Studio online video editor and customise it to your needs. Add and edit merge fields and placeholders to customise and automatically generate unique videos.
Use this template in a Shotstack Workflow, our no-code media automation tool, to generate videos automatically using AI to generate assets, and share the video online.
Integrate this template in to your own application or workflow using the Shotstack Video Editing API. Work with the easy to use JSON editing schema or build with our SDKs.