{
"timeline": {
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"length": "end",
"asset": {
"type": "audio",
"src": "{{ AUDIO_SRC }}",
"volume": 1
},
"start": 0
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{CTA}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 48,
"weight": 800,
"color": "#ffffff",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"background": {
"color": "#6d739c",
"opacity": 1,
"borderRadius": 0
}
},
"start": 2,
"length": "end",
"offset": {
"x": 0,
"y": -0.365
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 365,
"height": 92
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S2_DESCRIPTION}}",
"font": {
"family": "Montserrat SemiBold",
"size": 290,
"weight": 600,
"color": "#ffffff",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 1.5,
"length": "end",
"offset": {
"x": 0,
"y": -0.108
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 700,
"height": 250
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S1_DESCRIPTION}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 280,
"weight": 800,
"color": "#ffffff",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
}
},
"start": 1,
"length": "end",
"offset": {
"x": 0,
"y": 0.067
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 950,
"height": 250
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{S1_TITLE}}",
"font": {
"family": "Montserrat ExtraBold",
"size": 64,
"weight": 800,
"color": "#ffffff",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"animation": {
"preset": "fadeIn",
"style": "word"
}
},
"start": 0.5,
"length": "end",
"offset": {
"x": 0,
"y": 0.183
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 700,
"height": 120
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{WEBSITE}}",
"font": {
"family": "Montserrat SemiBold",
"size": 40,
"weight": 600,
"color": "#000000",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "center",
"vertical": "middle"
},
"animation": {
"preset": "fadeIn",
"style": "character"
}
},
"start": 0,
"length": "end",
"offset": {
"x": 0,
"y": 0.335
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 600,
"height": 120
}
]
},
{
"clips": [
{
"length": 10,
"asset": {
"type": "image",
"src": "https://templates.shotstack.io/modern-sale-promo-discount-template/30c2dbf1-5a95-4e38-895b-341eedaaca22/source.png"
},
"start": 0,
"position": "center",
"fit": "contain",
"width": 1080,
"height": 1350,
"offset": {
"x": 0,
"y": 0
}
}
]
},
{
"clips": [
{
"length": "end",
"asset": {
"type": "image",
"src": "{{ IMAGE_SRC }}"
},
"start": 0,
"offset": {
"x": 0,
"y": -0.10592592592592598
},
"position": "center",
"opacity": 1,
"fit": "contain",
"width": 1080,
"height": 1636
}
]
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"size": {
"width": 1080,
"height": 1350
},
"destinations": [
{
"provider": "shotstack"
}
]
},
"merge": [
{
"find": "WEBSITE",
"replace": "www.workshop.com"
},
{
"find": "S1_TITLE",
"replace": "DISCOUNT UP TO"
},
{
"find": "S1_DESCRIPTION",
"replace": "30%"
},
{
"find": "S2_DESCRIPTION",
"replace": "OFF"
},
{
"find": "CTA",
"replace": "SHOP NOW"
},
{
"find": "IMAGE_SRC",
"replace": "https://templates.shotstack.io/modern-sale-promo-discount-template/d132b805-cfc5-4014-b348-fe19bad098c5/source.jpg"
},
{
"find": "AUDIO_SRC",
"replace": "https://templates.shotstack.io/modern-sale-promo-discount-template/ec8537a2-3631-4920-872f-808c9155e458/source.mp3"
}
]
}Supercharge your next sales event with our Modern Ripped Paper Sale Promotion Template. Designed to grab attention and drive action, this template is the perfect tool for any business looking to announce a special offer, flash sale, or seasonal discount in a fresh and compelling way. Featuring a bold, contemporary design with a dynamic ripped paper effect, this template creates a visually engaging frame for your promotional message. The layout is strategically designed to make your discount percentage the star of the show, ensuring your offer is impossible to miss. A clean, prominent call-to-action button encourages immediate engagement, guiding customers to "Shop Now." This user-friendly template is fully customizable. You can effortlessly swap the background image to feature your own lifestyle or product photography, change the text to reflect your specific offer (e.g., "Up to 50% Off," "Holiday Sale"), adjust the colors to align with your brand identity, and add your website link. Ideal for social media stories, posts, email marketing campaigns, and website banners, this template provides a professional and effective solution to boost visibility and drive sales. Stop designing from scratch and start promoting your offers in minutes!
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 × 1350 (4:5) |
| Length | 10s |
| Frame rate | 25 fps |
| Tracks / clips | 8 / 8 |
| Assets used | 1 audio, 2 image, 5 rich-text |
| Soundtrack | no |
| Merge fields | 7 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ WEBSITE }} | www.workshop.com |
{{ S1_TITLE }} | DISCOUNT UP TO |
{{ S1_DESCRIPTION }} | 30% |
{{ S2_DESCRIPTION }} | OFF |
{{ CTA }} | SHOP NOW |
{{ IMAGE_SRC }} | https://templates.shotstack.io/modern-sale-promo-discount-template/d132b805-cfc5-4014-b348-fe19bad098c5/source.jpg |
{{ AUDIO_SRC }} | https://templates.shotstack.io/modern-sale-promo-discount-template/ec8537a2-3631-4920-872f-808c9155e458/source.mp3 |
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
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 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
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.
Yes. The template uses 2 images; 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.
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.
This template renders a 1080×1350 (4:5) MP4 that is 10 seconds long, built from 8 clips on 8 tracks.