{
"timeline": {
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{WEB}}",
"font": {
"family": "Montserrat SemiBold",
"size": 45,
"weight": 600,
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"background": {
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1,
"borderRadius": 0
}
},
"start": 8.5,
"length": "end",
"offset": {
"x": 0,
"y": -0.077
},
"position": "center",
"transition": {
"in": "carouselLeft"
},
"width": 600,
"height": 100
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{CTA}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 130,
"weight": 800,
"color": "{{ FONT_COLOR_2 }}",
"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",
"duration": 0.6
}
},
"start": 8.4,
"length": "end",
"offset": {
"x": 0,
"y": 0.033
},
"position": "center",
"transition": {
"in": "carouselLeft"
},
"width": 800,
"height": 300
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"20\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 8.2,
"length": "end",
"offset": {
"x": 0,
"y": 0.256
},
"position": "center",
"transition": {
"in": "carouselLeft"
},
"width": 1080,
"height": 20
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"20\" fill=\"#ffffff\"/></svg>"
},
"start": 8.6,
"length": "end",
"offset": {
"x": 0,
"y": -0.256
},
"position": "center",
"transition": {
"in": "carouselLeft"
},
"width": 1080,
"height": 20
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1200 1150\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1200\" height=\"1150\" fill=\"{{ BACKGROUND_COLOR }}\"/></svg>"
},
"start": 8.1,
"length": "end",
"transition": {
"in": "carouselLeft"
},
"width": 1200,
"height": 1150
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 1920\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"1920\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 8,
"length": 4,
"transition": {
"in": "carouselLeft"
},
"width": 1080,
"height": 1920
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S3_STORY}}",
"font": {
"family": "Montserrat SemiBold",
"size": 40,
"weight": 600,
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
},
"animation": {
"preset": "slideIn",
"direction": "left",
"style": "word",
"duration": 0.6
}
},
"start": 3.6,
"length": 5.7,
"offset": {
"x": 0,
"y": -0.307
},
"position": "center",
"transition": {
"out": "carouselLeft",
"in": "carouselLeft"
},
"width": 900,
"height": 300
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S3_HEADLINE}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 72,
"weight": 800,
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
},
"animation": {
"preset": "slideIn",
"direction": "left",
"style": "word",
"duration": 0.5
}
},
"start": 3.5,
"length": 5.7,
"offset": {
"x": 0,
"y": -0.172
},
"position": "center",
"transition": {
"in": "carouselLeft",
"out": "carouselLeft"
},
"width": 900,
"height": 200
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S3_NEWS_SECTOR}}",
"font": {
"family": "Montserrat SemiBold",
"size": 40,
"weight": 600,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"background": {
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1,
"borderRadius": 0
}
},
"start": 3.4,
"length": 5.7,
"offset": {
"x": -0.278,
"y": -0.066
},
"position": "center",
"transition": {
"in": "carouselLeft",
"out": "carouselLeft"
},
"width": 400,
"height": 72
}
]
},
{
"clips": [
{
"length": 5.7,
"asset": {
"type": "video",
"src": "https://templates.shotstack.io/agricultural-news-transport-update-farm-logistics-trucks/21c30e8f-0d0d-4c63-8dff-d82458c653d9/source.mp4",
"volume": 1
},
"start": 3.1,
"scale": 1,
"offset": {
"x": 0.0023148148148147696,
"y": 0.2973958333333333
},
"position": "center",
"transition": {
"in": "carouselLeft",
"out": "carouselLeft"
},
"fit": "contain",
"width": 1085,
"height": 1142
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"20\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 3.7,
"length": 5.7,
"offset": {
"x": 0,
"y": -0.475
},
"position": "center",
"transition": {
"out": "carouselLeft",
"in": "carouselLeft"
},
"width": 1080,
"height": 20
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1200 792\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1200\" height=\"792\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 3.3,
"length": 5.7,
"offset": {
"x": 0,
"y": -0.235
},
"position": "center",
"transition": {
"in": "carouselLeft",
"out": "carouselLeft"
},
"width": 1200,
"height": 792
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 1920\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"1920\" fill=\"{{ BACKGROUND_COLOR }}\"/></svg>"
},
"start": 3,
"length": 5.7,
"transition": {
"in": "carouselLeft",
"out": "carouselLeft"
},
"width": 1080,
"height": 1920
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S2_SLUG_2}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 100,
"weight": 800,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"background": {
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1,
"borderRadius": 0
}
},
"start": 1.9,
"length": 2.2,
"offset": {
"x": 0,
"y": -0.066
},
"position": "center",
"transition": {
"out": "carouselLeft",
"in": "carouselUp"
},
"width": 500,
"height": 150
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S2_SLUG_1}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 200,
"weight": 800,
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 1.8,
"length": 2.2,
"offset": {
"x": 0,
"y": 0.023
},
"position": "center",
"transition": {
"in": "carouselUp",
"out": "carouselLeft"
},
"width": 800,
"height": 200
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"20\" fill=\"{{ BACKGROUND_COLOR }}\"/></svg>"
},
"start": 2,
"length": 2.2,
"offset": {
"x": 0,
"y": -0.436
},
"position": "center",
"transition": {
"out": "carouselLeft",
"in": "carouselUp"
},
"width": 1080,
"height": 20
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1200 1480\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1200\" height=\"1480\" fill=\"{{ BACKGROUND_COLOR }}\"/></svg>"
},
"start": 1.7,
"length": 2.2,
"transition": {
"out": "carouselLeft",
"in": "carouselUp"
},
"width": 1200,
"height": 1480
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"20\" fill=\"{{ BACKGROUND_COLOR }}\"/></svg>"
},
"start": 1.6,
"length": 2.2,
"offset": {
"x": 0,
"y": 0.436
},
"position": "center",
"transition": {
"in": "carouselUp",
"out": "carouselLeft"
},
"width": 1080,
"height": 20
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 1920\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"1920\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 1.5,
"length": 2.2,
"transition": {
"in": "carouselUp",
"out": "carouselLeft"
},
"width": 1080,
"height": 1920
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{WEB}}",
"font": {
"family": "Montserrat SemiBold",
"size": 45,
"weight": 600,
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"animation": {
"preset": "slideIn",
"direction": "up",
"style": "character",
"duration": 0.5
}
},
"start": 0.5,
"length": 2.2,
"offset": {
"x": 0,
"y": -0.396
},
"position": "center",
"transition": {
"in": "slideUp",
"out": "carouselUp"
},
"width": 600,
"height": 72
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S1_SLUG_2}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 200,
"weight": 800,
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 0.3,
"length": 2.2,
"offset": {
"x": 0,
"y": -0.039
},
"position": "center",
"transition": {
"out": "carouselUp",
"in": "carouselLeft"
},
"width": 800,
"height": 200
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S1_SLUG_1}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 100,
"weight": 800,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"background": {
"color": "{{ FONT_COLOR_2 }}",
"opacity": 1,
"borderRadius": 0
}
},
"start": 0.2,
"length": 2.2,
"offset": {
"x": 0,
"y": 0.069
},
"position": "center",
"transition": {
"in": "carouselLeft",
"out": "carouselUp"
},
"width": 500,
"height": 150
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"20\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0.4,
"length": 2.2,
"offset": {
"x": 0,
"y": -0.311
},
"position": "center",
"transition": {
"out": "carouselUp",
"in": "carouselRight"
},
"width": 1080,
"height": 20
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1200 990\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1200\" height=\"990\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0.1,
"length": 2.2,
"transition": {
"out": "carouselUp",
"in": "carouselRight"
},
"width": 1200,
"height": 990
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"20\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0,
"length": 2.2,
"offset": {
"x": 0,
"y": 0.311
},
"position": "center",
"transition": {
"in": "carouselRight",
"out": "carouselUp"
},
"width": 1080,
"height": 20
}
]
},
{
"clips": [
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1080 1920\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1080\" height=\"1920\" fill=\"{{ BACKGROUND_COLOR }}\"/></svg>"
},
"start": 0,
"length": 2.6,
"width": 1080,
"height": 1920
}
]
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"size": {
"width": 1080,
"height": 1920
},
"destinations": [
{
"provider": "shotstack"
}
]
},
"merge": [
{
"find": "S1_SLUG_1",
"replace": "FLASH"
},
{
"find": "S1_SLUG_2",
"replace": "NEWS"
},
{
"find": "WEB",
"replace": "www.newssurvey.com"
},
{
"find": "S2_SLUG_1",
"replace": "TOP"
},
{
"find": "S2_SLUG_2",
"replace": "STORY"
},
{
"find": "S3_NEWS_SECTOR",
"replace": "TRANSPORTATION"
},
{
"find": "S3_HEADLINE",
"replace": "Government Supplies Trucks for Agriculture"
},
{
"find": "S3_STORY",
"replace": "The government has supplied trucks to support the transportation of agricultural produce across rural areas. Officials say the initiative aims to reduce post-harvest losses and ensure farmers can move their goods to markets more easily."
},
{
"find": "S3_VIDEO",
"replace": "https://templates.shotstack.io/agricultural-news-transport-update-farm-logistics-trucks/21c30e8f-0d0d-4c63-8dff-d82458c653d9/source.mp4"
},
{
"find": "CTA",
"replace": "FOLLOW FOR MORE"
},
{
"find": "FONT_COLOR_1",
"replace": "#ffffff"
},
{
"find": "FONT_COLOR_2",
"replace": "#000000"
},
{
"find": "BACKGROUND_COLOR",
"replace": "#f4c60b"
}
]
}This template is tailored for news outlets, agricultural organizations, or government bodies to disseminate updates regarding agricultural transport and logistics. It's ideal for reporting on initiatives, policy changes, or developments that impact farmers and the movement of their produce. Whether it's announcing a new fleet of government-supplied trucks to reduce post-harvest losses or detailing improvements in rural transport infrastructure, this template provides a clear and engaging format. It emphasizes timely and relevant information, making it easy to share news that affects the agricultural community, highlights operational improvements, and informs stakeholders about efforts to enhance efficiency in the supply chain. The design ensures readability and impact, making it a go-to solution for communicating vital agricultural news
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 | 12s |
| Frame rate | 25 fps |
| Tracks / clips | 26 / 26 |
| Assets used | 10 rich-text, 15 svg, 1 video |
| Soundtrack | no |
| Merge fields | 13 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ S1_SLUG_1 }} | FLASH |
{{ S1_SLUG_2 }} | NEWS |
{{ WEB }} | www.newssurvey.com |
{{ S2_SLUG_1 }} | TOP |
{{ S2_SLUG_2 }} | STORY |
{{ S3_NEWS_SECTOR }} | TRANSPORTATION |
{{ S3_HEADLINE }} | Government Supplies Trucks for Agriculture |
{{ S3_STORY }} | The government has supplied trucks to support the transportation of agricultural produce across rural areas. Officials say the initiative aims to reduce post-harvest losses and ensure farmers can move their goods to markets more easily. |
{{ S3_VIDEO }} | https://templates.shotstack.io/agricultural-news-transport-update-farm-logistics-trucks/21c30e8f-0d0d-4c63-8dff-d82458c653d9/source.mp4 |
{{ CTA }} | FOLLOW FOR MORE |
{{ FONT_COLOR_1 }} | #ffffff |
{{ FONT_COLOR_2 }} | #000000 |
{{ BACKGROUND_COLOR }} | #f4c60b |
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 13 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 13 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.