{
"timeline": {
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"asset": {
"type": "text",
"text": "{{STATUS}}",
"alignment": {
"horizontal": "center",
"vertical": "center"
},
"font": {
"color": "{{ FONT_COLOR_1 }}",
"family": "Montserrat SemiBold",
"size": "38",
"lineHeight": 1
},
"width": 600,
"height": 72,
"background": {
"color": "{{ SHAPE_COLOR_2 }}"
}
},
"start": 0,
"length": "end",
"offset": {
"x": 0.258,
"y": 0.403
},
"position": "center"
}
]
},
{
"clips": [
{
"asset": {
"type": "text",
"text": "{{HEADLINE}}",
"alignment": {
"horizontal": "left",
"vertical": "center"
},
"font": {
"color": "{{ FONT_COLOR_2 }}",
"family": "Montserrat ExtraBold",
"size": "60",
"lineHeight": 1
},
"width": 800,
"height": 200
},
"start": 0.8,
"length": "end",
"offset": {
"x": -0.046,
"y": -0.409
},
"position": "center",
"transition": {
"in": "slideRight"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "text",
"text": "{{NEWS_SLUG}}",
"alignment": {
"horizontal": "center",
"vertical": "center"
},
"font": {
"color": "{{ FONT_COLOR_1 }}",
"family": "Montserrat ExtraBold",
"size": "40",
"lineHeight": 1
},
"width": 400,
"height": 72
},
"start": 0.6,
"length": "end",
"offset": {
"x": -0.126,
"y": -0.309
},
"position": "center",
"transition": {
"in": "slideRight"
}
}
]
},
{
"clips": [
{
"length": "end",
"asset": {
"type": "image",
"src": "{{ IMAGE }}"
},
"start": 0.4,
"scale": 0.13,
"offset": {
"x": -0.357,
"y": -0.322
},
"position": "center",
"transition": {
"in": "slideLeft"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "text",
"text": "",
"alignment": {
"horizontal": "center",
"vertical": "center"
},
"font": {
"color": "#000000",
"family": "Montserrat SemiBold",
"size": 24,
"lineHeight": 1
},
"width": 330,
"height": 330,
"background": {
"color": "{{ SHAPE_COLOR }}"
}
},
"start": 0.2,
"length": "end",
"offset": {
"x": -0.357,
"y": -0.329
},
"position": "center",
"transition": {
"in": "slideLeft"
}
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/weather-alert-special-offer-template-news-promo/1fbfea7e-45c5-49ed-b82d-ce19a1972bff/source.png"
},
"start": 0,
"length": "end"
}
]
},
{
"clips": [
{
"asset": {
"type": "text",
"text": "",
"alignment": {
"horizontal": "center",
"vertical": "center"
},
"font": {
"color": "#000000",
"family": "Montserrat ExtraBold",
"size": 46,
"lineHeight": 1
},
"width": 1000,
"height": 600,
"background": {
"color": "{{ FONT_COLOR_2 }}"
}
},
"start": 0.5,
"length": "end",
"offset": {
"x": -0.116,
"y": -0.322
},
"position": "center",
"transition": {
"in": "slideRight"
}
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/weather-alert-special-offer-template-news-promo/61c23c4c-9d25-4e80-80e3-8b91e2f8405a/source.png"
},
"start": 0,
"length": "end"
}
]
},
{
"clips": [
{
"asset": {
"type": "text",
"text": "",
"alignment": {
"horizontal": "center",
"vertical": "center"
},
"font": {
"color": "#000000",
"family": "Montserrat ExtraBold",
"size": 46,
"lineHeight": 1
},
"width": 1200,
"height": 800,
"background": {
"color": "{{ FONT_COLOR_1 }}"
}
},
"start": 0.7,
"length": "end",
"offset": {
"x": -0.046,
"y": -0.408
},
"position": "center",
"transition": {
"in": "slideRight"
}
},
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/weather-alert-special-offer-template-news-promo/5dad5590-f885-42d1-ac90-0da5c325fe6f/source.png"
},
"start": 0,
"length": "auto"
}
]
},
{
"clips": [
{
"length": 13,
"asset": {
"type": "video",
"src": "{{ VIDEO }}"
},
"start": 0
}
]
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"size": {
"width": 1920,
"height": 1080
}
},
"merge": [
{
"find": "NEWS_SLUG",
"replace": "Weather Report"
},
{
"find": "HEADLINE",
"replace": "Clear Skies, Bright Sun"
},
{
"find": "STATUS",
"replace": "LIVE WEATHER BROADCAST"
},
{
"find": "FONT_COLOR_1",
"replace": "#ffffff"
},
{
"find": "FONT_COLOR_2",
"replace": "#f4c60b"
},
{
"find": "SHAPE_COLOR",
"replace": "#0000ff"
},
{
"find": "SHAPE_COLOR_2",
"replace": "#ff0000"
},
{
"find": "VIDEO",
"replace": "https://templates.shotstack.io/weather-alert-special-offer-template-news-promo/051ad092-74fb-40b4-a4dd-0598b976f900/source.mp4"
},
{
"find": "IMAGE",
"replace": "https://templates.shotstack.io/weather-alert-special-offer-template-news-promo/f725426d-e5e2-4ee3-8e60-875abdb076ab/source.png"
}
]
}This "Weather Alert & Special Offer" template is designed for businesses looking to blend timely information with compelling promotions. Inspired by a live weather broadcast, it offers a dynamic and engaging way to capture audience attention. Ideal for conveying urgent news, limited-time offers, or special event announcements, this template moves beyond traditional product listings to focus on impactful marketing campaigns. Its intuitive design allows for easy customization, ensuring your message is clear and resonates with your target audience. Leverage its news-style presentation to add authority and urgency to your promotions, whether it's a flash sale, a seasonal discount, or an exclusive event. Boost your sales and engagement by delivering your marketing campaigns in an innovative and memorable format.
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 | 13s |
| Frame rate | 25 fps |
| Tracks / clips | 8 / 11 |
| Assets used | 1 image, 3 luma, 6 text, 1 video |
| Soundtrack | no |
| Merge fields | 9 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ NEWS_SLUG }} | Weather Report |
{{ HEADLINE }} | Clear Skies, Bright Sun |
{{ STATUS }} | LIVE WEATHER BROADCAST |
{{ FONT_COLOR_1 }} | #ffffff |
{{ FONT_COLOR_2 }} | #f4c60b |
{{ SHAPE_COLOR }} | #0000ff |
{{ SHAPE_COLOR_2 }} | #ff0000 |
{{ VIDEO }} | https://templates.shotstack.io/weather-alert-special-offer-template-news-promo/051ad092-74fb-40b4-a4dd-0598b976f900/source.mp4 |
{{ IMAGE }} | https://templates.shotstack.io/weather-alert-special-offer-template-news-promo/f725426d-e5e2-4ee3-8e60-875abdb076ab/source.png |
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
One render is a demo. A video for every row of your data is the workflow.
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 9 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 9 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. 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 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.