{
"timeline": {
"fonts": [
{
"src": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/95fbd473-7a9b-48ba-921e-e20b6f5a86b9/source.otf"
},
{
"src": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/cf734b08-4f8d-408e-bb2c-24b77e29f747/source.ttf"
},
{
"src": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/d4e36ca4-5ed7-4a6d-8305-45297663b7ef/source.ttf"
},
{
"src": "https://fonts.gstatic.com/s/dmsans/v17/rP2Hp2ywxg089UriOZSCHBeHFl0.ttf"
}
],
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"length": "end",
"asset": {
"type": "audio",
"src": "{{ AUDIO }}",
"volume": 1
},
"start": 0
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 150 150\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"150\" height=\"150\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0.1,
"length": "end",
"offset": {
"x": 0.37,
"y": 0.102
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 150,
"height": 150
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/c0b1ffdb-6c04-4cd2-b32a-9fc10e929af7/source.png"
},
"start": 0.1,
"length": 10.700000000000001
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 150 150\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"150\" height=\"150\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0.3,
"length": "end",
"offset": {
"x": -0.36,
"y": -0.042
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 150,
"height": 150
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/7572dbd3-3d88-4286-a4c4-c1378d8c03d0/source.png"
},
"start": 0.3,
"length": 10.5
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{Title_1}}",
"font": {
"family": "DM Sans",
"size": 70,
"weight": 400,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"animation": {
"preset": "slideIn",
"direction": "left",
"style": "word"
}
},
"start": 0.2,
"length": "end",
"offset": {
"x": 0,
"y": 0.106
},
"position": "center",
"transition": {
"in": "slideLeft"
},
"width": 900,
"height": 120
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 400 400\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"400\" height=\"400\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0,
"length": "end",
"offset": {
"x": 0.017,
"y": 0.197
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 400,
"height": 400
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/188f7462-ce43-4e9e-a518-f7df54f2c4fd/source.mp4"
},
"start": 0,
"length": 10.8
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{Title_2}}",
"font": {
"family": "TAN - HEADLINE",
"size": 221,
"weight": 400,
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 0.6,
"length": "end",
"transition": {
"in": "carouselLeft"
},
"width": 950,
"height": 300
}
]
},
{
"clips": [
{
"length": 2.4,
"asset": {
"type": "video",
"src": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/a7369cb3-6d3d-4e0d-be8b-a30948a46d6b/source.mp4",
"volume": 0
},
"start": 8.4,
"transition": {
"in": "fade"
},
"fit": "contain",
"width": 1080,
"height": 1920,
"offset": {
"x": 0,
"y": 0
}
}
]
},
{
"clips": [
{
"length": 2.4,
"asset": {
"type": "video",
"src": "{{ VIDEO_4 }}",
"volume": 0
},
"start": 6.4,
"transition": {
"in": "fade"
},
"fit": "contain",
"width": 1080,
"height": 1920,
"offset": {
"x": 0,
"y": 0
}
}
]
},
{
"clips": [
{
"length": 2.4,
"asset": {
"type": "video",
"src": "{{ VIDEO_3 }}",
"volume": 0
},
"start": 4.2,
"transition": {
"in": "fade"
},
"fit": "contain",
"width": 1080,
"height": 1920,
"offset": {
"x": 0,
"y": 0
}
}
]
},
{
"clips": [
{
"length": 2.4,
"asset": {
"type": "video",
"src": "{{ VIDEO_2 }}",
"volume": 0
},
"start": 2,
"transition": {
"in": "fade"
},
"fit": "contain",
"width": 1080,
"height": 1920,
"offset": {
"x": 0,
"y": 0
}
}
]
},
{
"clips": [
{
"length": 2.4,
"asset": {
"type": "video",
"src": "{{ VIDEO_1 }}",
"volume": 0
},
"start": 0,
"fit": "contain",
"width": 1080,
"height": 1920,
"offset": {
"x": 0,
"y": 0
}
}
]
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"size": {
"width": 1080,
"height": 1920
},
"destinations": [
{
"provider": "shotstack"
}
]
},
"merge": [
{
"find": "Title_1",
"replace": "HAVE YOU BEEN TO"
},
{
"find": "Title_2",
"replace": "JAPAN"
},
{
"find": "FONT_COLOR_1",
"replace": "#ffffff"
},
{
"find": "FONT_COLOR_2",
"replace": "#ff0000"
},
{
"find": "VIDEO_1",
"replace": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/1929cdef-d97a-4d6d-bc11-cf004f328e66/source.mp4"
},
{
"find": "VIDEO_2",
"replace": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/029262c2-02af-4fcb-abb1-6be8c148db02/source.mp4"
},
{
"find": "VIDEO_3",
"replace": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/134beed4-f7e9-4ddd-bd96-c4c984f9e1cb/source.mp4"
},
{
"find": "VIDEO_4",
"replace": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/39270be4-7132-4f23-a09d-8d71016d4ff4/source.mp4"
},
{
"find": "VIDEO_5",
"replace": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/a7369cb3-6d3d-4e0d-be8b-a30948a46d6b/source.mp4"
},
{
"find": "AUDIO",
"replace": "https://templates.shotstack.io/city-escape-promo-night-deals-event-template/a00a5d84-359a-4228-bbb7-123a85709843/source.mp3"
}
]
}Capture the excitement of the city at night and drive engagement with our "Nightscape Deals" promotional template. Inspired by the dazzling energy of a sleepless city, this template is the perfect tool for businesses looking to launch a high-impact marketing campaign.[2] Whether you're promoting a seasonal sale, a special event, or exclusive travel offers, its dynamic and visually engaging design is built to grab attention. This template is fully customizable to fit your brand and promotional needs. It is user-friendly, allowing you to create a professional and persuasive advertisement without any design expertise. Optimize your marketing strategy and boost sales by leveraging this template's clean layout and compelling aesthetic, designed to convert viewers into customers.
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 | 10.8s |
| Frame rate | 25 fps |
| Tracks / clips | 11 / 14 |
| Assets used | 1 audio, 3 luma, 2 rich-text, 3 svg, 5 video |
| Soundtrack | no |
| Merge fields | 10 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ Title_1 }} | HAVE YOU BEEN TO |
{{ Title_2 }} | JAPAN |
{{ FONT_COLOR_1 }} | #ffffff |
{{ FONT_COLOR_2 }} | #ff0000 |
{{ VIDEO_1 }} | https://templates.shotstack.io/city-escape-promo-night-deals-event-template/1929cdef-d97a-4d6d-bc11-cf004f328e66/source.mp4 |
{{ VIDEO_2 }} | https://templates.shotstack.io/city-escape-promo-night-deals-event-template/029262c2-02af-4fcb-abb1-6be8c148db02/source.mp4 |
{{ VIDEO_3 }} | https://templates.shotstack.io/city-escape-promo-night-deals-event-template/134beed4-f7e9-4ddd-bd96-c4c984f9e1cb/source.mp4 |
{{ VIDEO_4 }} | https://templates.shotstack.io/city-escape-promo-night-deals-event-template/39270be4-7132-4f23-a09d-8d71016d4ff4/source.mp4 |
{{ VIDEO_5 }} | https://templates.shotstack.io/city-escape-promo-night-deals-event-template/a7369cb3-6d3d-4e0d-be8b-a30948a46d6b/source.mp4 |
{{ AUDIO }} | https://templates.shotstack.io/city-escape-promo-night-deals-event-template/a00a5d84-359a-4228-bbb7-123a85709843/source.mp3 |
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
Loop over your content calendar and keep the feed full without an editor.
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 10 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 10 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.