{
"timeline": {
"fonts": [
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/MovieLetters.ttf"
}
],
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "text",
"text": "HELLO {{ NAME }}",
"font": {
"family": "Clear Sans",
"color": "#ffffff",
"size": 80
},
"alignment": {
"horizontal": "center"
},
"width": 720,
"height": 212
},
"start": 4,
"length": "end",
"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,
"volume": 1
},
"start": 0,
"length": "auto",
"transition": {
"in": "fade",
"out": "fade"
},
"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": "end"
}
]
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"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 | Variable duration |
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.