{
"timeline": {
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{WEB}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 30,
"weight": 500,
"color": "{{ TEXT_FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 1,
"length": "end",
"offset": {
"x": 0.257,
"y": -0.427
},
"position": "center",
"transition": {
"in": "slideLeft"
},
"width": 500,
"height": 72
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{CTA}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 30,
"weight": 600,
"color": "{{ TEXT_FONT_COLOR }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"background": {
"color": "{{ TEXT_FONT_COLOR_2 }}",
"opacity": 1,
"borderRadius": 0
}
},
"start": 0.9,
"length": "end",
"offset": {
"x": -0.303,
"y": -0.427
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 280,
"height": 72
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{NEWS_SLUG}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 60,
"weight": 900,
"color": "#ffffff",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 0.3,
"length": "end",
"offset": {
"x": -0.004,
"y": -0.195
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 800,
"height": 100
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{HEADLINE}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 46,
"weight": 700,
"color": "{{ TEXT_FONT_COLOR }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
},
"animation": {
"preset": "fadeIn",
"style": "word"
}
},
"start": 0.7,
"length": "end",
"offset": {
"x": 0,
"y": -0.308
},
"position": "center",
"width": 800,
"height": 200
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 900 284\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"900\" height=\"284\" fill=\"{{ TEXT_FONT_COLOR_2 }}\"/></svg>"
},
"start": 0.5,
"length": "end",
"offset": {
"x": 0,
"y": -0.308
},
"position": "center",
"width": 900,
"height": 284
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/breaking-news-road-reconstruction-update-template/ca236ae5-e250-4aa9-be86-2f91e58b52d4/source.png"
},
"start": 0.1,
"length": 29.9
},
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 500 500\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"500\" height=\"500\" fill=\"{{ TEXT_BACKGROUND_COLOR_2 }}\"/></svg>"
},
"start": 0.1,
"length": "end",
"offset": {
"x": -0.235,
"y": -0.165
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 500,
"height": 500
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/breaking-news-road-reconstruction-update-template/ecabffc5-0e2e-4dc3-a97d-672c8997ed48/source.png"
},
"start": 0.2,
"length": 29.8
},
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 960 860\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"960\" height=\"860\" fill=\"{{ TEXT_BACKGROUND_COLOR }}\"/></svg>"
},
"start": 0.2,
"length": "end",
"offset": {
"x": 0.012,
"y": -0.172
},
"position": "center",
"transition": {
"in": "slideLeft"
},
"width": 960,
"height": 860
}
]
},
{
"clips": [
{
"length": "end",
"asset": {
"type": "video",
"src": "https://templates.shotstack.io/breaking-news-road-reconstruction-update-template/3eea2950-f26e-4e48-ae32-bdcddf472e58/source.mp4",
"volume": 1
},
"start": 0,
"scale": 1,
"offset": {
"x": 0,
"y": 0.10533829969427605
},
"position": "center",
"transition": {
"in": "slideUp"
},
"fit": "contain",
"width": 838,
"height": 1253
}
]
},
{
"clips": [
{
"length": 30,
"asset": {
"type": "video",
"src": "https://templates.shotstack.io/breaking-news-road-reconstruction-update-template/2fe77c6b-157b-41f7-a2fd-82668ae63d06/source.mp4",
"volume": 1
},
"start": 0,
"width": 1111,
"height": 1948,
"offset": {
"x": -0.005418912848158134,
"y": -0.0013055929919137436
},
"fit": "contain"
}
]
}
],
"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": "HEADLINE",
"replace": "Government begins major road reconstruction across key cities."
},
{
"find": "CTA",
"replace": "MORE INFO."
},
{
"find": "WEB",
"replace": "www.newssurveymat.com"
},
{
"find": "NEWS_SLUG",
"replace": "BREAKING NEWS"
},
{
"find": "TEXT_FONT_COLOR",
"replace": "#000000"
},
{
"find": "TEXT_FONT_COLOR_2",
"replace": "#ffffff"
},
{
"find": "TEXT_BACKGROUND_COLOR",
"replace": "#0000a8"
},
{
"find": "TEXT_BACKGROUND_COLOR_2",
"replace": "#ce0000"
}
]
}This "Breaking News - Road Reconstruction Update" template is engineered for businesses and organizations that need to deliver urgent and important information effectively. Whether you're a local government body announcing infrastructure projects, a news outlet reporting on community developments, or a business communicating a major operational update, this template provides a clear, impactful, and professional platform. Designed for maximum readability and visual engagement, the template features a prominent "BREAKING NEWS" banner that instantly captures attention. The layout prioritizes the main message, ensuring your audience grasps the core information at a glance. The template is fully customizable, allowing you to easily update the text, images, and branding to match your specific needs. Its clean and modern design ensures your message is delivered with authority and clarity, making it an indispensable tool for impactful communication during critical moments. Utilize this template to keep your audience informed, engaged, and aware of the latest developments.
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 | 30s |
| Frame rate | 25 fps |
| Tracks / clips | 9 / 11 |
| Assets used | 2 luma, 4 rich-text, 3 svg, 2 video |
| Soundtrack | no |
| Merge fields | 8 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ HEADLINE }} | Government begins major road reconstruction across key cities. |
{{ CTA }} | MORE INFO. |
{{ WEB }} | www.newssurveymat.com |
{{ NEWS_SLUG }} | BREAKING NEWS |
{{ TEXT_FONT_COLOR }} | #000000 |
{{ TEXT_FONT_COLOR_2 }} | #ffffff |
{{ TEXT_BACKGROUND_COLOR }} | #0000a8 |
{{ TEXT_BACKGROUND_COLOR_2 }} | #ce0000 |
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
Trigger a render from your CMS or RSS feed and each story ships with its own video.
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 8 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 8 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.