Dynamic Ad Variant

One square layout, infinite variants: hook, offer, code and accent color are all variables.

Type
Video
Format
Instagram Post · 1:1
Orientation
Square
Duration
10.4s
Scenes
3
Render cost
$0.0026 / render
VariablesConditional scenes
Open in editor

Free template · opens in the editor, no account required.

Customize Dynamic Ad Variant

Dynamic Ad Variant is a ready-to-render Ad creative / agency video design formatted for Instagram Post · 1:1 with 3 scenes and support for variables, conditional scenes. Open it in the editor to replace its copy and media, then render variations through the Zvid API.

10 variables: Every value below is a variable you can override — send them in the variables field of the render request (or edit them in the editor) to generate on-brand versions at scale.

brandNameText
NORDIC NEST
audienceHookText
Your living room called.
offerText
25% off everything ceramic
offerCodeText
COZY25
showCodeToggle
on
ctaTextText
Shop the drop
accentColorColor
#8FA8FF
variantLabelText
Audience: apartment renters · Offer: spring
productImageMedia URL
musicUrlMedia URL

The exact JSON payload

This is the full render config — POST it to the API, or open it in the editor to tweak.

Open in editor ↗
{
  "name": "agency-dynamic-ad",
  "resolution": "instagram-post",
  "frameRate": 30,
  "backgroundColor": "#101014",
  "outputFormat": "mp4",
  "variables": {
    "brandName": "NORDIC NEST",
    "audienceHook": "Your living room called.",
    "offer": "25% off everything ceramic",
    "offerCode": "COZY25",
    "showCode": true,
    "ctaText": "Shop the drop",
    "accentColor": "#8FA8FF",
    "variantLabel": "Audience: apartment renters · Offer: spring",
    "productImage": "https://images.pexels.com/photos/15791100/pexels-photo-15791100.jpeg?auto=compress&cs=tinysrgb&w=1620",
    "musicUrl": "https://cdn.pixabay.com/audio/2025/03/19/audio_56ae1dae5f.mp3"
  },
  "scenes": [
    {
      "id": "hook",
      "duration": 3,
      "backgroundColor": "#101014",
      "transition": "smoothleft",
      "transitionId": "offer",
      "transitionDuration": 0.5,
      "visuals": [
        {
          "type": "SVG",
          "width": 1080,
          "height": 1080,
          "track": 0,
          "enterBegin": 0,
          "exitEnd": 3,
          "svg": "<svg width='1080' height='1080' viewBox='0 0 1080 1080' xmlns='http://www.w3.org/2000/svg'><defs><radialGradient id='adaGlow' cx='0.3' cy='0.25' r='0.9'><stop offset='0' stop-color='#232330'/><stop offset='1' stop-color='#101014'/></radialGradient></defs><rect width='1080' height='1080' fill='url(#adaGlow)'/><circle cx='920' cy='170' r='220' fill='rgba(143,168,255,0.1)'/><circle cx='120' cy='950' r='180' fill='rgba(143,168,255,0.07)'/><path d='M80 360 H220' stroke='#8FA8FF' stroke-width='5'/></svg>"
        },
        {
          "type": "TEXT",
          "x": 80,
          "y": 400,
          "width": 920,
          "anchor": "top-left",
          "track": 2,
          "enterBegin": 0.15,
          "enterEnd": 0.6,
          "enterAnimation": "smoothup",
          "exitEnd": 3,
          "style": {
            "fontFamily": "Sora"
          },
          "html": "<div style='color:#FFFFFF; font-size:88px; line-height:1.02; font-weight:800; letter-spacing:-2px;'>{{audienceHook}}</div><div style='margin-top:22px; color:#9DA2B8; font-size:32px; font-weight:600;'>It wants something from {{brandName}}.</div>"
        },
        {
          "type": "TEXT",
          "x": 80,
          "y": 96,
          "anchor": "center-left",
          "track": 1,
          "enterBegin": 0,
          "exitEnd": 3,
          "style": {
            "fontFamily": "Sora"
          },
          "html": "<div style='color:{{accentColor}}; font-size:24px; font-weight:800; letter-spacing:6px;'>{{brandName}}</div>"
        }
      ]
    },
    {
      "id": "offer",
      "duration": 4.6,
      "backgroundColor": "#101014",
      "transition": "smoothup",
      "transitionId": "cta",
      "transitionDuration": 0.5,
      "visuals": [
        {
          "type": "IMAGE",
          "src": "{{productImage}}",
          "width": 1080,
          "height": 1080,
          "position": "center-center",
          "resize": "cover",
          "zoom": true,
          "track": 0,
          "enterBegin": 0,
          "exitEnd": 4.6
        },
        {
          "type": "SVG",
          "width": 1080,
          "height": 1080,
          "track": 1,
          "enterBegin": 0,
          "exitEnd": 4.6,
          "svg": "<svg width='1080' height='1080' viewBox='0 0 1080 1080' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='adaShade' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='#101014' stop-opacity='0.3'/><stop offset='0.55' stop-color='#101014' stop-opacity='0.05'/><stop offset='1' stop-color='#101014' stop-opacity='0.85'/></linearGradient></defs><rect width='1080' height='1080' fill='url(#adaShade)'/></svg>"
        },
        {
          "type": "TEXT",
          "x": 70,
          "y": 760,
          "width": 940,
          "anchor": "top-left",
          "track": 2,
          "enterBegin": 0.35,
          "enterEnd": 0.8,
          "enterAnimation": "smoothup",
          "exitEnd": 4.6,
          "style": {
            "fontFamily": "Sora"
          },
          "html": "<div style='color:#FFFFFF; font-size:62px; line-height:1.05; font-weight:800; letter-spacing:-1px;'>{{offer}}</div>"
        },
        {
          "type": "TEXT",
          "condition": "{{showCode}}",
          "x": 70,
          "y": 930,
          "anchor": "top-left",
          "track": 3,
          "enterBegin": 0.85,
          "enterEnd": 1.25,
          "enterAnimation": "smoothleft",
          "exitEnd": 4.6,
          "style": {
            "fontFamily": "Sora"
          },
          "html": "<div style='display:inline-block; border:2px dashed {{accentColor}}; color:{{accentColor}}; border-radius:14px; padding:14px 34px; font-size:32px; font-weight:800; letter-spacing:5px;'>{{offerCode}}</div>"
        }
      ]
    },
    {
      "id": "cta",
      "duration": 3.8,
      "backgroundColor": "#101014",
      "visuals": [
        {
          "type": "SVG",
          "width": 1080,
          "height": 1080,
          "track": 0,
          "enterBegin": 0,
          "exitEnd": 3.8,
          "svg": "<svg width='1080' height='1080' viewBox='0 0 1080 1080' xmlns='http://www.w3.org/2000/svg'><defs><radialGradient id='adaEnd' cx='0.5' cy='0.4' r='0.9'><stop offset='0' stop-color='#1D1D28'/><stop offset='1' stop-color='#101014'/></radialGradient></defs><rect width='1080' height='1080' fill='url(#adaEnd)'/><rect x='60' y='60' width='960' height='960' rx='40' fill='none' stroke='rgba(143,168,255,0.35)' stroke-width='1.5'/></svg>"
        },
        {
          "type": "TEXT",
          "x": 540,
          "y": 380,
          "width": 900,
          "anchor": "top-center",
          "track": 1,
          "enterBegin": 0.2,
          "enterEnd": 0.65,
          "enterAnimation": "smoothup",
          "exitEnd": 3.8,
          "style": {
            "fontFamily": "Sora"
          },
          "html": "<div style='text-align:center; color:#FFFFFF; font-size:64px; line-height:1.08; font-weight:800;'>{{offer}}.<br><span style='color:{{accentColor}};'>This week only.</span></div>"
        },
        {
          "type": "TEXT",
          "x": 540,
          "y": 640,
          "anchor": "top-center",
          "track": 2,
          "enterBegin": 0.7,
          "enterEnd": 1.1,
          "enterAnimation": "circleopen",
          "exitEnd": 3.8,
          "style": {
            "fontFamily": "Sora"
          },
          "html": "<div style='display:inline-block; background:{{accentColor}}; color:#101014; border-radius:999px; padding:26px 66px; font-size:38px; font-weight:800;'>{{ctaText}} →</div>"
        },
        {
          "type": "TEXT",
          "x": 540,
          "y": 950,
          "width": 900,
          "anchor": "top-center",
          "track": 3,
          "enterBegin": 1.1,
          "enterEnd": 1.5,
          "enterAnimation": "fade",
          "exitEnd": 3.8,
          "style": {
            "fontFamily": "JetBrains Mono"
          },
          "html": "<div style='text-align:center; color:#5F6377; font-size:19px; letter-spacing:1px;'>{{variantLabel}}</div>"
        }
      ]
    }
  ],
  "audios": [
    {
      "src": "{{musicUrl}}",
      "volume": 0.18,
      "track": 0
    }
  ]
}

More Ad creative / agency templates

View all ↗

Ready to ship video at scale?

Start free — your first render is only a JSON payload away.