Working with Templates
Learn how to use and customize video templates with dynamic overlays
Working with Templates
Templates are the fastest way to create professional videos in Renderly.
Using a Template
- Browse Templates - Navigate to the Templates section
- Preview - Click any template to see a preview
- Customize - Replace text, upload your media, adjust colors
- Export - Click Export to render your video
Dynamic Overlays (isDynamic)
Templates use the isDynamic flag on overlays to mark them as replaceable variables. Each dynamic overlay's name field becomes the variable key in the replacements object.
How It Works
- Mark any overlay as
isDynamic: truein the template - The overlay's
namefield becomes the replacement key - The replaced field depends on the overlay type:
- Text/Shape overlays: the
contentfield is replaced - Video/Image/Sound overlays: the
srcfield is replaced
- Text/Shape overlays: the
Example Template
{
"replacements": {
"companyName": "Your Company",
"backgroundVideo": "default-background.mp4"
},
"overlays": [
{
"type": "text",
"name": "companyName",
"content": "Your Company",
"isDynamic": true
},
{
"type": "video",
"name": "backgroundVideo",
"src": "default-background.mp4",
"isDynamic": true
},
{
"type": "text",
"content": "Static watermark text",
"isDynamic": false
}
]
}API Usage
Send a replacements object to override dynamic overlay values:
{
"replacements": {
"companyName": "Acme Corp",
"backgroundVideo": "https://cdn.example.com/acme-bg.mp4"
}
}The system generates personalized videos by matching replacement keys to dynamic overlay names and swapping the appropriate field values.