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

  1. Browse Templates - Navigate to the Templates section
  2. Preview - Click any template to see a preview
  3. Customize - Replace text, upload your media, adjust colors
  4. 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

  1. Mark any overlay as isDynamic: true in the template
  2. The overlay's name field becomes the replacement key
  3. The replaced field depends on the overlay type:
    • Text/Shape overlays: the content field is replaced
    • Video/Image/Sound overlays: the src field is replaced

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.