{
"timeline": {
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>The Finance Show</p>",
"css": "p { font-family: \"Open Sans\"; color: #ffffff; font-size: 34px; text-align: left; }",
"width": 450,
"height": 100,
"position": "center"
},
"start": 0.2,
"length": 9.8,
"position": "topLeft",
"offset": {
"x": 0.05,
"y": -0.118
},
"transition": {
"in": "slideRight"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p> </p>",
"width": 420,
"height": 64,
"background": "#d2bb8f"
},
"start": 0,
"length": 10,
"position": "topLeft",
"offset": {
"x": 0,
"y": -0.15
},
"transition": {
"in": "carouselRight"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Podcast Heading</p>",
"css": "p { font-family: \"Open Sans ExtraBold\"; color: #ffffff; font-size: 38px; text-align: left; }",
"width": 450,
"height": 100,
"position": "center"
},
"start": 0.1,
"length": 9.9,
"position": "left",
"offset": {
"x": 0.05,
"y": 0.1
},
"transition": {
"in": "slideLeft"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Mr John Smith</p>",
"css": "p { font-family: \"Open Sans\"; color: #d2bb8f; font-size: 28px; text-align: left; font-weight: bold; }",
"width": 400,
"height": 50,
"position": "center"
},
"start": 0.2,
"length": 9.8,
"position": "left",
"offset": {
"x": 0.05,
"y": 0
},
"transition": {
"in": "slideLeft"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Head of Global Derivatives, Eagle Corporate</p>",
"css": "p { font-family: \"Open Sans\"; color: #ffffff; font-size: 22px; text-align: left; line-height: 65%; }",
"width": 500,
"height": 40,
"position": "center"
},
"start": 0.3,
"length": 9.7,
"position": "left",
"offset": {
"x": 0.05,
"y": -0.05
},
"transition": {
"in": "slideLeft"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/luma-mattes/circle.jpg"
},
"start": 0,
"length": 10,
"fit": "none",
"scale": 0.3,
"position": "right",
"offset": {
"x": -0.1,
"y": 0
},
"transition": {
"in": "fade"
}
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/images/business-man.jpg"
},
"start": 0,
"length": 10,
"fit": "none",
"scale": 0.4,
"position": "right",
"offset": {
"x": -0.1,
"y": 0
},
"transition": {
"in": "fade"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/audio-waveforms/circle-speach.mov",
"trim": 5
},
"start": 0,
"length": 10,
"fit": "none",
"scale": 0.41,
"position": "right",
"offset": {
"x": -0.009,
"y": 0
},
"transition": {
"in": "fade"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/logos/corporate-colour.png"
},
"start": 0,
"length": 10,
"fit": "none",
"scale": 0.25,
"position": "bottomLeft",
"offset": {
"x": 0.05,
"y": 0.15
},
"transition": {
"in": "fade"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/images/financial-background.jpg"
},
"start": 0,
"length": 10,
"effect": "slideUp"
}
]
},
{
"clips": [
{
"asset": {
"type": "audio",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/audio/financial-podcast.mp3"
},
"start": 0,
"length": 10
}
]
}
],
"fonts": [
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/OpenSans-Regular.ttf"
},
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/OpenSans-Bold.ttf"
},
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/OpenSans-ExtraBold.ttf"
}
]
},
"output": {
"format": "mp4",
"resolution": "sd"
}
}A podcast video with an animated speaker slot and summary on who is speaking.
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 | 1024 × 576 (16:9) |
| Length | 10s |
| Frame rate | default (25 fps) |
| Tracks / clips | 10 / 11 |
| Assets used | 1 audio, 5 html, 3 image, 1 luma, 1 video |
| Soundtrack | no |
| Merge fields | none (edit the JSON) |
Swap these in the JSON:
To drive it from data, turn any value into a {{ PLACEHOLDER }} merge field.
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
Render a visual for every release or episode straight from your feed.
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. 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
Replace the asset URLs in the JSON with your own files and adjust text, timing or effects on each clip. To generate many variations from data, turn the values you change into merge fields ({{ PLACEHOLDER }}) and pass a merge array with each request.
Yes. This template renders 1024×576 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.
Unlimited developer sandbox
No credit card required