{
"timeline": {
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"length": "end",
"asset": {
"type": "audio",
"src": "{{ AUDIO_SRC }}",
"volume": 1
},
"start": 0
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": " {{CTA}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 32,
"weight": 400,
"color": "{{ TEXT_FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
}
},
"start": 0.8,
"length": "end",
"offset": {
"x": -0.215,
"y": -0.425
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 449,
"height": 75
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 100 5\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"100\" height=\"5\" fill=\"{{ TEXT_FONT_COLOR_2 }}\"/></svg>"
},
"start": 0.6,
"length": "end",
"offset": {
"x": -0.368,
"y": -0.395
},
"position": "center",
"transition": {
"in": "fade"
},
"width": 100,
"height": 5
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 540 960\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"540\" height=\"960\" fill=\"{{ TEXT_FONT_COLOR }}\"/></svg>"
},
"start": 0.4,
"length": "end",
"offset": {
"x": -0.267,
"y": -0.323
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 540,
"height": 960
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/chic-luxury-apartment-rent/17460cf0-03bd-42b4-b491-0a9f741cbe69/source.png"
},
"start": 0.4,
"length": 11.48
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": " {{DESCRIPTION}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 30,
"weight": 400,
"color": "{{ TEXT_FONT_COLOR }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 0.4,
"length": "end",
"offset": {
"x": -0.277,
"y": -0.323
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 220,
"height": 50
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{TITLE}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 88,
"weight": 500,
"color": "{{ TEXT_FONT_COLOR }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
},
"animation": {
"preset": "slideIn",
"direction": "right",
"style": "word"
}
},
"start": 0.2,
"length": "end",
"offset": {
"x": -0.053,
"y": -0.242
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 800,
"height": 200
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 1920\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"1920\" fill=\"#000000\"/></svg>"
},
"start": 0,
"length": "end",
"width": 1080,
"height": 1920
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/chic-luxury-apartment-rent/ddfd0149-1b70-4aa7-b70e-80af4e12f903/source.png"
},
"start": 0,
"length": 11.88
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 1920\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"1920\" fill=\"#000000\" fill-opacity=\"0.14\"/></svg>"
},
"start": 0,
"length": "end",
"width": 1080,
"height": 1920
}
]
},
{
"clips": [
{
"length": 11.88,
"asset": {
"type": "video",
"src": "{{ VIDEO_SRC }}",
"volume": 1
},
"start": 0,
"fit": "contain",
"scale": 1,
"width": 1080,
"height": 1920,
"offset": {
"x": 0,
"y": 0
}
}
]
}
],
"fonts": [
{
"src": "https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm45xW5rygbi49c.ttf"
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"size": {
"width": 1080,
"height": 1920
},
"destinations": [
{
"provider": "shotstack"
}
]
},
"merge": [
{
"find": "TITLE",
"replace": "LUXURY APARTMENT"
},
{
"find": "DESCRIPTION",
"replace": "- FOR RENT"
},
{
"find": "CTA",
"replace": "CONTACT +123 456 7890"
},
{
"find": "TEXT_FONT_COLOR",
"replace": "#ffae00"
},
{
"find": "TEXT_FONT_COLOR_2",
"replace": "#ffffff"
},
{
"find": "AUDIO_SRC",
"replace": "https://templates.shotstack.io/chic-luxury-apartment-rent/40711cb1-d5ac-43ef-8ef2-17acc2d0e74d/shotstack-proxy.mp3"
},
{
"find": "VIDEO_SRC",
"replace": "https://templates.shotstack.io/chic-luxury-apartment-rent/df4c0139-fdd0-445d-b2b9-e46c4d9dddba/source.mp4"
}
]
}Promote high-end rental listings with this sleek video template tailored for luxury apartments. Perfect for real estate agents, property managers, and developers marketing premium spaces. Easily customize the visuals, price, and contact info to create stunning rental ads across Instagram, TikTok, YouTube, and more — ideal for scaling multiple listings with a consistent, polished look.
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 | 1080 × 1920 (9:16) |
| Length | 11.9s |
| Frame rate | 25 fps |
| Tracks / clips | 9 / 11 |
| Assets used | 1 audio, 2 luma, 3 rich-text, 4 svg, 1 video |
| Soundtrack | no |
| Merge fields | 7 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ TITLE }} | LUXURY APARTMENT |
{{ DESCRIPTION }} | - FOR RENT |
{{ CTA }} | CONTACT +123 456 7890 |
{{ TEXT_FONT_COLOR }} | #ffae00 |
{{ TEXT_FONT_COLOR_2 }} | #ffffff |
{{ AUDIO_SRC }} | https://templates.shotstack.io/chic-luxury-apartment-rent/40711cb1-d5ac-43ef-8ef2-17acc2d0e74d/shotstack-proxy.mp3 |
{{ VIDEO_SRC }} | https://templates.shotstack.io/chic-luxury-apartment-rent/df4c0139-fdd0-445d-b2b9-e46c4d9dddba/source.mp4 |
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
Feed it your listings and every property gets its own video the moment it hits the market — no editor in the loop.
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 7 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 7 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. It renders vertical 1080×1920 (9:16), the format those platforms expect. Change output.size or output.aspectRatio in the JSON if you also need a square or landscape cut.
Yes. Replace the video asset's src with a public URL of your file (MP4 works best). Use trim and length on the clip to pick the part you want, and the template's effects apply to your footage.
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.