When you want to automate this

A daily faceless short from a topic list.

1
See it
OutputMP4
Size720 × 1280 (9:16)
Length21s
Frame rate25 fps
Tracks / clips6 / 9
Assets used1 caption, 1 image, 1 text, 5 text-to-image, 1 text-to-speech
Soundtrackno
Merge fields7
2
Make it yours

Send a merge array with your values for these fields:

FieldDefault value
{{ HEADLINE }}Dancing Plague
{{ VOICEOVER }}Did you know that in 1518, a bizarre 'dancing plague' broke out in Strasbourg? For days, people danced uncontrollably in the streets, with no known cause. Some even collapsed from exhaustion or died. Historians are still baffled by this strange event, which remains one of history's most mysterious epidemics.
{{ IMAGE_1_PROMPT }}Create a haunting yet realistic scene of a medieval street in Strasbourg, filled with townspeople dancing uncontrollably. The lighting should be dim and atmospheric, with shadows cast by the moonlight, highlighting the eerie and chaotic nature of the event. The background should include darkened medieval buildings and torches flickering in the distance.
{{ IMAGE_2_PROMPT }}Design a dramatic close-up of a group of individual dancers, exhausted but at ease, mid-movement. The focus should be on their intensity. The lighting should be soft, with subtle shadows creating depth.
{{ IMAGE_3_PROMPT }}Illustrate a medieval town square in Strasbourg, filled with a mix of dancing townspeople and concerned onlookers. The scene should feature warm torchlight contrasting with the cool moonlight, casting an ominous glow on the cobblestone streets. The architecture should be historically accurate, with wooden market stalls and stone buildings surrounding the square.
{{ IMAGE_4_PROMPT }}Generate an image of town officials and doctors standing on the edges of the scene, observing the chaos. They should look confused and distressed, holding scrolls or medieval medical instruments. The lighting should create a contrast between the torchlight and the dark, adding a sense of urgency to their expressions.
{{ IMAGE_5_PROMPT }}Create a surreal, almost dreamlike depiction of the dancers, with their movements becoming blurred and ghostly. The background should be dark, with dim torchlight casting long shadows, while the dancers' figures appear exaggerated and otherworldly, reflecting the mysterious nature of the event.
Edit and save to your account
3
Run it once

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 --watch

Sandbox renders are free and watermarked. Production: the v1 endpoint and key. SDKs

4
Automate it

Schedule it against a topic list or feed and post a fresh short every day.

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 7 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

Common questions

How do I change the text and media without editing the JSON?

Use the 7 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.

Is this template made for TikTok, Reels and Shorts?

Yes. It renders vertical 720×1280 (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.

Can I use my own photos?

Yes. The template uses 1 image; replace each image asset's src with a public URL of your own file (JPG, PNG or WebP). Keep the timing and effects, or adjust them per clip.

How do I change the text and fonts?

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.