A framed news-story format: headline, summary text and imagery inside a broadcast-style border. Merge each story's fields from your CMS to publish a video alongside every article.
{
"timeline": {
"fonts": [
{
"src": "https://templates.shotstack.io/breaking-news-summary/a87b7ba9-8d67-4e0f-83ff-ac36d3f3fc5b/source.ttf"
},
{
"src": "https://fonts.gstatic.com/s/raleway/v37/1Ptug8zYS_SKggPN-CoCTqluHfE.ttf"
}
],
"soundtrack": {
"src": "https://templates.shotstack.io/breaking-news-summary/a423e433-932d-47b7-adb2-d7860eaec9ad/dreams.mp3",
"effect": "fadeOut"
},
"background": "#efefef",
"tracks": [
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{ HEADLINE }}",
"font": {
"family": "Raleway",
"size": 60,
"weight": 400,
"color": "#303030",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1.2,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
},
"animation": {
"preset": "slideIn",
"direction": "left",
"style": "word"
}
},
"fit": "none",
"scale": 1,
"offset": {
"x": -0.112,
"y": 0.35
},
"position": "center",
"transition": {
"in": "slideLeftSlow"
},
"start": 1.3,
"length": 8.7,
"width": 1257,
"height": 90
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://templates.shotstack.io/breaking-news-summary/e546d9c1-227d-4f85-b5bc-ee12a86f0782/source.jpg"
},
"fit": "none",
"offset": {
"x": -0.292,
"y": 0.352
},
"position": "center",
"transition": {
"in": "carouselRight"
},
"start": 1.25,
"opacity": 0.3,
"length": 8.75
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "NEWS",
"font": {
"family": "Montserrat ExtraBold",
"size": 64,
"weight": 800,
"color": "#ffffff",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1.2,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"fit": "none",
"scale": 1,
"offset": {
"x": 0.345,
"y": 0.346
},
"position": "center",
"start": 1.25,
"transition": {
"in": "slideRightSlow"
},
"length": 8.75,
"width": 300,
"height": 72
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://templates.shotstack.io/breaking-news-summary/r6e07ef5c928zvtbjqkpiqta/source_ffb98a77.webm"
},
"start": 0,
"offset": {
"x": 0.4654840461264691,
"y": 0.4089423229273835
},
"position": "center",
"scale": 1,
"length": 10,
"fit": "contain",
"width": 1101,
"height": 353
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "TODAY'S",
"font": {
"family": "Montserrat ExtraBold",
"size": 80,
"weight": 800,
"color": "#eea91a",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1.2,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
}
},
"fit": "none",
"scale": 1,
"offset": {
"x": 0.358,
"y": 0.431
},
"position": "center",
"start": 1,
"length": 9,
"transition": {
"in": "slideRightSlow"
},
"width": 437,
"height": 92
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://templates.shotstack.io/breaking-news-summary/r6e07ef5c928zvtbjqkpiqta/source_87ee438e.webm"
},
"start": 0,
"offset": {
"x": 0,
"y": 0
},
"position": "center",
"length": 10,
"scale": 1
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "{{ B_ROLL_VIDEO }}",
"volume": 1
},
"scale": 1,
"offset": {
"x": -0.038,
"y": -0.10457887813868377
},
"transition": {
"in": "carouselDown"
},
"position": "center",
"length": 10,
"start": 0,
"width": 1900,
"height": 1049,
"fit": "contain"
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1920,
"height": 1080
},
"destinations": [
{
"provider": "shotstack"
}
]
},
"merge": [
{
"find": "HEADLINE",
"replace": "Rate of unemployment has dropped"
},
{
"find": "B_ROLL_VIDEO",
"replace": "https://templates.shotstack.io/breaking-news-summary/85a22481-c670-4348-a26f-dd35acbbfa24/source.mp4"
}
]
}A news video template that highlights an individual story with a title and b-roll footage beneath an animated border. The dynamic template includes a headline merge field to dynamically modify the text and a b-roll footage merge field to dynamically modify the background footage. The template uses an orange, black and white style news theme.
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 | 7 / 7 |
| Assets used | 1 image, 3 rich-text, 3 video |
| Soundtrack | yes |
| Merge fields | 2 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ HEADLINE }} | Rate of unemployment has dropped |
{{ B_ROLL_VIDEO }} | https://templates.shotstack.io/breaking-news-summary/85a22481-c670-4348-a26f-dd35acbbfa24/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
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 2 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 2 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 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.