When you want to automate this

One video per product, straight from your catalog.

1
See it
OutputMP4
Size1080 × 1920 (9:16)
Length15s
Frame rate25 fps
Tracks / clips20 / 21
Assets used1 audio, 10 rich-text, 1 svg, 9 video
Soundtrackno
Merge fields20
2
Make it yours

Send a merge array with your values for these fields:

FieldDefault value
{{ S1_Title }}Seaside Moments to Remember
{{ S1_Subtitle }}Nothing heals the soul quite like the ocean’s rhythm
{{ S1_VIDEO }}https://templates.shotstack.io/seaside-moments-video-promo-template/d2089ef3-1ef0-403d-8fc4-90bdec373c36/source.mp4
{{ S2_Subtitle }}Sitting by the waves
{{ S2_Body }}laughing with my friend.
{{ S2_VIDEO_1 }}https://templates.shotstack.io/seaside-moments-video-promo-template/5fdd3076-03c0-4d9c-b200-47089d556880/source.mp4
{{ S2_VIDEO_2 }}https://templates.shotstack.io/seaside-moments-video-promo-template/18003c48-80f5-461d-bccf-535e96994314/source.mp4
{{ S3_Subtitle }}Running along the shoreline
{{ S3_Body }}Feeling the sand under your feet while waves chase you.
{{ S3_VIDEO }}https://templates.shotstack.io/seaside-moments-video-promo-template/b4b5e19f-6532-4db8-aa99-5c0049a300d8/source.mp4
{{ S4_Subtitle }}Waves gently lapping the shore
{{ S4_Body }}soft ripples rolling in rhythm
{{ S4_VIDEO_1 }}https://templates.shotstack.io/seaside-moments-video-promo-template/120536e8-9fcd-4aa2-be5c-568ad7ad3498/source.mp4
{{ S4_VIDEO_2 }}https://templates.shotstack.io/seaside-moments-video-promo-template/8c415ef8-ff3e-47d2-a224-8cbb4017e3a4/source.mp4
{{ S5_Subtitle }}A perfect day of waves
{{ S5_Body }}rolling gently, sparkling under the sun, bringing calm to every moment
{{ S5_VIDEO }}https://templates.shotstack.io/seaside-moments-video-promo-template/9e8d5b7d-50e8-440f-baba-ac1132c8efb7/source.mp4
{{ FONT_COLOR_1 }}#000000
{{ FONT_COLOR_2 }}#ffffff
{{ AUDIO }}https://templates.shotstack.io/seaside-moments-video-promo-template/0b41bc2f-8d7e-4479-a225-6cf8ca95f7c2/source.mp3
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

Loop over your product feed and render a promo per SKU — prices and images always current.

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

Can I swap the footage for my own video?

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.

How do I change the text and fonts?

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.