{
"timeline": {
"fonts": [
{
"src": "https://templates.shotstack.io/electric-car-for-sale/005e8330-4e6a-4115-8d63-82fe4b0268b3/source.ttf"
},
{
"src": "https://templates.shotstack.io/electric-car-for-sale/79984860-9f68-470c-b534-39c8b50b2584/source.ttf"
}
],
"background": "#ffffff",
"tracks": [
{
"clips": [
{
"asset": {
"type": "image",
"src": "{{ LOGO }}"
},
"start": 0,
"offset": {
"x": -0.364,
"y": 0.358
},
"position": "center",
"length": 10,
"transition": {
"in": "slideUp"
},
"fit": "none",
"scale": 0.12
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "Lease starting at {{ PRICE }}/month",
"font": {
"family": "Roboto",
"size": 44,
"color": "#373737",
"opacity": 1,
"weight": 400,
"style": "normal",
"lineHeight": 1
},
"align": {
"horizontal": "left",
"vertical": "middle"
}
},
"start": 0.28,
"fit": "none",
"scale": 1,
"offset": {
"x": -0.236,
"y": -0.368
},
"position": "center",
"transition": {
"in": "slideRight"
},
"length": 9.72,
"width": 840,
"height": 83
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{ MODEL }}",
"font": {
"family": "Roboto",
"size": 100,
"color": "#4abe36",
"opacity": 1,
"weight": 400,
"style": "normal",
"lineHeight": 1
},
"align": {
"horizontal": "left",
"vertical": "middle"
}
},
"start": 0,
"fit": "none",
"scale": 1,
"offset": {
"x": -0.236,
"y": -0.032
},
"position": "center",
"length": 10,
"transition": {
"in": "carouselRight"
},
"width": 840,
"height": 356
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "TESLA",
"font": {
"family": "Roboto Black",
"size": 80,
"color": "#121212",
"opacity": 1,
"weight": 400,
"style": "normal",
"lineHeight": 1
},
"align": {
"horizontal": "left",
"vertical": "middle"
}
},
"start": 0,
"fit": "none",
"scale": 1,
"offset": {
"x": -0.236,
"y": 0.175
},
"position": "center",
"length": 10,
"transition": {
"in": "slideDown"
},
"width": 840,
"height": 144
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://templates.shotstack.io/electric-car-for-sale/bad6eca8-53dd-4b26-b8fd-d64c4ade3d52/source.png"
},
"start": 0,
"offset": {
"x": -0.214,
"y": 0.01
},
"position": "center",
"length": 10,
"scale": 0.67,
"transition": {
"in": "slideUp"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "{{ IMAGE }}"
},
"start": 0.3,
"offset": {
"x": 0.311,
"y": 0
},
"position": "center",
"length": 9.7,
"effect": "zoomInSlow",
"transition": {
"in": "slideLeft"
},
"fit": "contain"
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://templates.shotstack.io/electric-car-for-sale/a22fa93d-aeee-4a79-a29d-0fa6334f771c/source.jpg"
},
"start": 0,
"offset": {
"x": 0.06,
"y": -0.166
},
"position": "center",
"scale": 1.37,
"length": 10,
"opacity": 0.7
}
]
},
{
"clips": [
{
"asset": {
"type": "audio",
"src": "https://templates.shotstack.io/electric-car-for-sale/eed78e07-26f5-4b78-8724-b611cd4a99ab/just-cool.mp3",
"effect": "fadeOut",
"volume": 1
},
"start": 0,
"length": 10
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1920,
"height": 1080
},
"destinations": [
{
"provider": "shotstack"
}
]
},
"merge": [
{
"find": "IMAGE",
"replace": "https://templates.shotstack.io/electric-car-for-sale/a7bc8cd1-1cf6-4020-841f-5b47b0d0f3b8/source.jpg"
},
{
"find": "LOGO",
"replace": "https://templates.shotstack.io/electric-car-for-sale/bac152a4-d053-47d8-bd87-b2ca5152cc35/source.png"
},
{
"find": "MAKE",
"replace": "TESLA"
},
{
"find": "MODEL",
"replace": "MODEL S"
},
{
"find": "PRICE",
"replace": "$329"
}
]
}A dynamic video template for a car lease, for use by a car finance or leasing business. The template includes placeholder merge fields for an image, make, model, logo and monthly lease price.
No account needed until you render.
Render with your AI assistant
Add the Shotstack MCP server to your editor, then paste the prompt
| Output | MP4 |
|---|---|
| Size | 1920 × 1080 (16:9) |
| Length | 10s |
| Frame rate | default (25 fps) |
| Tracks / clips | 8 / 8 |
| Assets used | 1 audio, 4 image, 3 rich-text |
| Soundtrack | no |
| Merge fields | 5 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ IMAGE }} | https://templates.shotstack.io/electric-car-for-sale/a7bc8cd1-1cf6-4020-841f-5b47b0d0f3b8/source.jpg |
{{ LOGO }} | https://templates.shotstack.io/electric-car-for-sale/bac152a4-d053-47d8-bd87-b2ca5152cc35/source.png |
{{ MAKE }} | TESLA |
{{ MODEL }} | MODEL S |
{{ PRICE }} | $329 |
Save the JSON above as template.json, then render in the free sandbox:
# Save the JSON above as template.json, then:
curl -X POST https://api.shotstack.io/edit/stage/render \
-H "x-api-key: $SHOTSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d @template.json
# Poll until status is "done", then download response.url
curl https://api.shotstack.io/edit/stage/render/RENDER_ID -H "x-api-key: $SHOTSTACK_API_KEY"import { readFileSync } from 'node:fs';
const headers = { 'x-api-key': process.env.SHOTSTACK_API_KEY, 'Content-Type': 'application/json' };
const edit = JSON.parse(readFileSync('template.json', 'utf8'));
const { response } = await fetch('https://api.shotstack.io/edit/stage/render', {
method: 'POST', headers, body: JSON.stringify(edit)
}).then((r) => r.json());
let render;
do {
await new Promise((r) => setTimeout(r, 3000));
render = (await fetch(`https://api.shotstack.io/edit/stage/render/${response.id}`, { headers }).then((r) => r.json())).response;
} while (!['done', 'failed'].includes(render.status));
console.log(render.status, render.url);import json, os, time, requests
headers = {"x-api-key": os.environ["SHOTSTACK_API_KEY"]}
with open("template.json") as f:
edit = json.load(f)
render_id = requests.post("https://api.shotstack.io/edit/stage/render", json=edit, headers=headers).json()["response"]["id"]
while True:
render = requests.get(f"https://api.shotstack.io/edit/stage/render/{render_id}", headers=headers).json()["response"]
if render["status"] in ("done", "failed"):
break
time.sleep(3)
print(render["status"], render.get("url"))npm install -g @shotstack/cli
export SHOTSTACK_API_KEY=your_sandbox_key
shotstack validate template.json # offline schema check, free
shotstack render template.json --env stage --watchSandbox renders are free and watermarked. Production: the v1 endpoint and key. SDKs
Point it at your inventory feed and each vehicle gets its own video as soon as it is listed.
Paste into Claude, ChatGPT or Cursor — your AI assistant builds the workflow around your data.
Node.js, one render per CSV row, wired to this template's 5 merge fields. Setup steps in the header.
Guides: Bulk-create from a CSV · Webhooks · Templates endpoint · Render your first video
AI assistants: Markdown () · · · CLI skill: SKILL.md () · MCP server
Use the 5 merge fields listed above. Send a merge array with your own values for each field and the API swaps them in at render time, so one template can produce thousands of unique videos.
Yes. This template renders 1920×1080 by default. Set output.resolution to "1080" or output.size to a larger 16:9 size in the JSON; the layout scales with it.
Yes. The template uses 4 images; replace each image asset's src with a public URL of your own file (JPG, PNG or WebP). Keep the timing and effects, or adjust them per clip.
Edit the text on each rich-text asset in the JSON. Fonts come from the timeline fonts list or the asset's font family; add your own font file URL to timeline.fonts to use a brand typeface.