Before / After Reveal
Transformation reveal with wipe transition, BEFORE/AFTER chips and split-frame proof.
- Type
- Video
- Format
- Instagram Reel · 9:16
- Orientation
- Portrait
- Duration
- 13.3s
- Scenes
- 4
- Render cost
- $0.00333 / render
VariablesConditional scenes
Open in editor
Free template · opens in the editor, no account required.
Customize Before / After Reveal
Before / After Reveal is a ready-to-render E-commerce video design formatted for Instagram Reel · 9:16 with 4 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.
9 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.
brandNameTextHAVEN & CO
hookLineTextOne room. One weekend.
claimTextA full makeover for less than the price of a sofa.
timeframeTextStyled in 48 hours
showTimeframeToggleon
ctaTextTextBook a free design call
beforeImageMedia URLafterImageMedia URLmusicUrlMedia URLThe exact JSON payload
This is the full render config — POST it to the API, or open it in the editor to tweak.
{
"name": "ecom-before-after",
"resolution": "instagram-reel",
"frameRate": 30,
"backgroundColor": "#10141A",
"outputFormat": "mp4",
"variables": {
"brandName": "HAVEN & CO",
"hookLine": "One room. One weekend.",
"claim": "A full makeover for less than the price of a sofa.",
"timeframe": "Styled in 48 hours",
"showTimeframe": true,
"ctaText": "Book a free design call",
"beforeImage": "https://images.pexels.com/photos/30992365/pexels-photo-30992365.jpeg?auto=compress&cs=tinysrgb&w=1620",
"afterImage": "https://images.pexels.com/photos/34992756/pexels-photo-34992756.jpeg?auto=compress&cs=tinysrgb&w=1620",
"musicUrl": "https://cdn.pixabay.com/audio/2026/02/24/audio_3f375fdf97.mp3"
},
"scenes": [
{
"id": "hook",
"duration": 2.8,
"backgroundColor": "#10141A",
"transition": "fade",
"transitionId": "before",
"transitionDuration": 0.5,
"visuals": [
{
"type": "SVG",
"width": 1080,
"height": 1920,
"track": 0,
"enterBegin": 0,
"exitEnd": 2.8,
"svg": "<svg width='1080' height='1920' viewBox='0 0 1080 1920' xmlns='http://www.w3.org/2000/svg'><rect width='1080' height='1920' fill='#10141A'/><path d='M540 0 V1920' stroke='rgba(47,191,113,0.5)' stroke-width='2' stroke-dasharray='14 12'/><rect x='140' y='806' width='340' height='108' rx='54' fill='rgba(255,255,255,0.07)' stroke='rgba(255,255,255,0.2)'/><rect x='600' y='806' width='340' height='108' rx='54' fill='rgba(47,191,113,0.14)' stroke='rgba(47,191,113,0.6)'/><text x='310' y='876' text-anchor='middle' font-family='Arial' font-size='38' font-weight='700' fill='#9AA4B2'>BEFORE</text><text x='770' y='876' text-anchor='middle' font-family='Arial' font-size='38' font-weight='700' fill='#2FBF71'>AFTER</text></svg>"
},
{
"type": "TEXT",
"x": 540,
"y": 1050,
"width": 920,
"anchor": "top-center",
"track": 1,
"enterBegin": 0.2,
"enterEnd": 0.65,
"enterAnimation": "smoothup",
"exitEnd": 2.8,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='text-align:center; color:#FFFFFF; font-size:80px; line-height:1.05; font-weight:800; letter-spacing:-1px;'>{{hookLine}}</div><div style='margin-top:18px; text-align:center; color:#9AA4B2; font-size:30px; font-weight:500;'>Wait for the after…</div>"
}
]
},
{
"id": "before",
"duration": 3.4,
"backgroundColor": "#10141A",
"transition": "wiperight",
"transitionId": "after",
"transitionDuration": 0.8,
"visuals": [
{
"type": "IMAGE",
"src": "{{beforeImage}}",
"width": 1080,
"height": 1920,
"position": "center-center",
"resize": "cover",
"zoom": true,
"track": 0,
"filter": {
"saturate": 0.55,
"brightness": 0.92
},
"enterBegin": 0,
"exitEnd": 3.4
},
{
"type": "SVG",
"width": 1080,
"height": 1920,
"track": 1,
"enterBegin": 0,
"exitEnd": 3.4,
"svg": "<svg width='1080' height='1920' viewBox='0 0 1080 1920' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='befShade' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='#10141A' stop-opacity='0.4'/><stop offset='0.5' stop-color='#10141A' stop-opacity='0.05'/><stop offset='1' stop-color='#10141A' stop-opacity='0.6'/></linearGradient></defs><rect width='1080' height='1920' fill='url(#befShade)'/></svg>"
},
{
"type": "TEXT",
"x": 90,
"y": 150,
"anchor": "top-left",
"track": 2,
"enterBegin": 0.15,
"enterEnd": 0.5,
"enterAnimation": "smoothleft",
"exitEnd": 3.4,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='display:inline-block; background:rgba(16,20,26,0.85); border:1.5px solid rgba(255,255,255,0.3); color:#E5E9EF; border-radius:999px; padding:18px 44px; font-size:34px; font-weight:800; letter-spacing:5px;'>BEFORE</div>"
},
{
"type": "TEXT",
"x": 90,
"y": 1660,
"width": 900,
"anchor": "top-left",
"track": 3,
"enterBegin": 0.6,
"enterEnd": 1,
"enterAnimation": "smoothup",
"exitEnd": 3.4,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='color:#E5E9EF; font-size:34px; font-weight:600;'>Dated. Cluttered. No plan.</div>"
}
]
},
{
"id": "after",
"duration": 4.4,
"backgroundColor": "#10141A",
"transition": "smoothup",
"transitionId": "cta",
"transitionDuration": 0.6,
"visuals": [
{
"type": "IMAGE",
"src": "{{afterImage}}",
"width": 1080,
"height": 1920,
"position": "center-center",
"resize": "cover",
"zoom": true,
"track": 0,
"enterBegin": 0,
"exitEnd": 4.4
},
{
"type": "SVG",
"width": 1080,
"height": 1920,
"track": 1,
"enterBegin": 0,
"exitEnd": 4.4,
"svg": "<svg width='1080' height='1920' viewBox='0 0 1080 1920' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='aftShade' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='#10141A' stop-opacity='0.35'/><stop offset='0.5' stop-color='#10141A' stop-opacity='0'/><stop offset='1' stop-color='#10141A' stop-opacity='0.72'/></linearGradient></defs><rect width='1080' height='1920' fill='url(#aftShade)'/></svg>"
},
{
"type": "TEXT",
"x": 90,
"y": 150,
"anchor": "top-left",
"track": 2,
"enterBegin": 0.3,
"enterEnd": 0.65,
"enterAnimation": "smoothleft",
"exitEnd": 4.4,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='display:inline-block; background:#2FBF71; color:#08110C; border-radius:999px; padding:18px 44px; font-size:34px; font-weight:800; letter-spacing:5px;'>AFTER ✨</div>"
},
{
"type": "TEXT",
"condition": "{{showTimeframe}}",
"x": 90,
"y": 290,
"anchor": "top-left",
"track": 3,
"enterBegin": 0.8,
"enterEnd": 1.15,
"enterAnimation": "fade",
"exitEnd": 4.4,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='display:inline-block; background:rgba(16,20,26,0.8); color:#FFFFFF; border-radius:14px; padding:14px 30px; font-size:27px; font-weight:700;'>⚡ {{timeframe}}</div>"
},
{
"type": "TEXT",
"x": 90,
"y": 1560,
"width": 900,
"anchor": "top-left",
"track": 4,
"enterBegin": 1,
"enterEnd": 1.5,
"enterAnimation": "smoothup",
"exitEnd": 4.4,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='color:#FFFFFF; font-size:56px; line-height:1.1; font-weight:800;'>Same room.<br><span style='color:#2FBF71;'>Completely new life.</span></div>"
}
]
},
{
"id": "cta",
"duration": 4.6,
"backgroundColor": "#10141A",
"visuals": [
{
"type": "IMAGE",
"src": "{{beforeImage}}",
"x": 270,
"y": 620,
"width": 460,
"height": 700,
"anchor": "center-center",
"radius": {
"tl": 32,
"tr": 32,
"bl": 32,
"br": 32
},
"filter": {
"saturate": 0.55
},
"track": 1,
"enterBegin": 0.2,
"enterEnd": 0.6,
"enterAnimation": "smoothright",
"exitEnd": 4.6
},
{
"type": "IMAGE",
"src": "{{afterImage}}",
"x": 810,
"y": 620,
"width": 460,
"height": 700,
"anchor": "center-center",
"radius": {
"tl": 32,
"tr": 32,
"bl": 32,
"br": 32
},
"track": 2,
"enterBegin": 0.35,
"enterEnd": 0.75,
"enterAnimation": "smoothleft",
"exitEnd": 4.6
},
{
"type": "SVG",
"width": 1080,
"height": 1920,
"track": 0,
"enterBegin": 0,
"exitEnd": 4.6,
"svg": "<svg width='1080' height='1920' viewBox='0 0 1080 1920' xmlns='http://www.w3.org/2000/svg'><defs><radialGradient id='ctaBg' cx='0.5' cy='0.35' r='0.9'><stop offset='0' stop-color='#1A222E'/><stop offset='1' stop-color='#10141A'/></radialGradient></defs><rect width='1080' height='1920' fill='url(#ctaBg)'/><circle cx='540' cy='620' r='64' fill='#2FBF71'/><path d='M516 620 H564 M540 596 V644' stroke='#08110C' stroke-width='0' fill='none'/><path d='M521 606 L540 632 L559 606' fill='none' stroke='#08110C' stroke-width='7' stroke-linecap='round' stroke-linejoin='round' transform='rotate(270 540 620)'/></svg>"
},
{
"type": "TEXT",
"x": 540,
"y": 1080,
"width": 920,
"anchor": "top-center",
"track": 3,
"enterBegin": 0.7,
"enterEnd": 1.2,
"enterAnimation": "smoothup",
"exitEnd": 4.6,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='text-align:center; color:#FFFFFF; font-size:52px; line-height:1.2; font-weight:800;'>{{claim}}</div>"
},
{
"type": "TEXT",
"x": 540,
"y": 1360,
"anchor": "top-center",
"track": 4,
"enterBegin": 1.25,
"enterEnd": 1.65,
"enterAnimation": "circleopen",
"exitEnd": 4.6,
"style": {
"fontFamily": "Outfit"
},
"html": "<div style='display:inline-block; background:#2FBF71; color:#08110C; border-radius:999px; padding:28px 66px; font-size:38px; font-weight:800;'>{{ctaText}}</div><div style='margin-top:20px; text-align:center; color:#9AA4B2; font-size:24px; font-weight:600; letter-spacing:3px;'>{{brandName}}</div>"
}
]
}
],
"audios": [
{
"src": "{{musicUrl}}",
"volume": 0.18,
"track": 0
}
]
}More E-commerce templates
View all ↗Ready to ship video at scale?
Start free — your first render is only a JSON payload away.









