{
"timeline": {
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{Contact_&_Web}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 40,
"weight": 500,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "right",
"vertical": "middle"
},
"animation": {
"preset": "fadeIn",
"style": "word"
}
},
"start": 0.7,
"length": "end",
"offset": {
"x": 0.217,
"y": -0.381
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 500,
"height": 100
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{CTA}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 40,
"weight": 500,
"color": "{{ CTA_FONT_COLOR }}",
"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": 41
}
},
"start": 0.65,
"length": "end",
"offset": {
"x": 0.304,
"y": -0.29
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 320,
"height": 90
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{Discount}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 40,
"weight": 500,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "right",
"vertical": "top"
},
"animation": {
"preset": "fadeIn",
"style": "word"
}
},
"start": 0.6,
"length": "end",
"offset": {
"x": 0.324,
"y": -0.158
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 250,
"height": 300
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/ca6db932-2bb0-4b29-a5e9-a66de58058f3/source.png"
},
"start": 0.1,
"length": 4.9
},
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 450 450\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"450\" height=\"450\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0.1,
"length": "end",
"offset": {
"x": 0.387,
"y": 0.445
},
"position": "center",
"transform": {
"rotate": {
"angle": 180
}
},
"transition": {
"in": "slideLeft"
},
"width": 450,
"height": 450
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/2ea290cd-1ffd-40a4-b63c-5b39aa9cd852/source.png"
},
"start": 0.65,
"length": 4.35
},
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 600 600\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"600\" height=\"600\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0.65,
"length": "end",
"offset": {
"x": -0.354,
"y": -0.476
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 600,
"height": 600
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{Brand_Name}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 60,
"weight": 500,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
},
"animation": {
"preset": "fadeIn",
"style": "word"
}
},
"start": 0,
"length": "end",
"offset": {
"x": -0.202,
"y": 0.445
},
"position": "center",
"transition": {
"in": "slideDown"
},
"width": 550,
"height": 90
}
]
},
{
"clips": [
{
"length": "end",
"asset": {
"type": "image",
"src": "{{ Product_2 }}"
},
"start": 0.5,
"scale": 1,
"offset": {
"x": -0.3978957123470327,
"y": -0.11098099224841607
},
"position": "center",
"transition": {
"in": "carouselRight"
},
"fit": "contain",
"width": 1125,
"height": 1077
}
]
},
{
"clips": [
{
"length": "end",
"asset": {
"type": "image",
"src": "{{ Product_1 }}"
},
"start": 0.4,
"scale": 1,
"offset": {
"x": 0.30725925925925923,
"y": 0.198
},
"position": "center",
"transition": {
"in": "carouselLeft"
},
"fit": "contain",
"width": 1100,
"height": 997
}
]
},
{
"clips": [
{
"asset": {
"type": "rich-text",
"text": "{{Title}}",
"font": {
"family": "JTUSjIg1_i6t8kCHKm45xW5rygbi49c",
"size": 169,
"weight": 900,
"color": "{{ FONT_COLOR_1 }}",
"opacity": 1
},
"style": {
"letterSpacing": 0,
"wordSpacing": 0,
"lineHeight": 1,
"textTransform": "none",
"textDecoration": "none"
},
"align": {
"horizontal": "left",
"vertical": "middle"
},
"animation": {
"preset": "slideIn",
"style": "word",
"direction": "right"
}
},
"start": 0.3,
"length": "end",
"offset": {
"x": -0.048,
"y": 0.294
},
"position": "center",
"transition": {
"in": "slideUp"
},
"width": 900,
"height": 400
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/2b51d818-bdf5-49df-8d4f-f2b0e7f07176/source.png"
},
"start": 0.2,
"length": 4.8
},
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1000 1000\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1000\" height=\"1000\" fill=\"{{ Prd_1_BACKGROUND_COLOR }}\"/></svg>"
},
"start": 0.2,
"length": "end",
"offset": {
"x": 0.247,
"y": 0.198
},
"position": "center",
"transition": {
"in": "slideLeft"
},
"width": 1000,
"height": 1000
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/2b2cd298-ba3b-41ba-a97c-641666074741/source.mp4"
},
"start": 0.4,
"length": 4.6
},
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1050 1950\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1050\" height=\"1950\" fill=\"{{ FONT_COLOR_1 }}\"/></svg>"
},
"start": 0.4,
"length": "end",
"offset": {
"x": -0.299,
"y": -0.188
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 1050,
"height": 1950
}
]
},
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/b09407fe-a6b1-41bb-a0a4-da2dd62ca482/source.png"
},
"start": 0.45,
"length": 4.55
},
{
"asset": {
"type": "svg",
"src": "<svg viewBox=\"0 0 1000 1000\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"1000\" height=\"1000\" fill=\"{{ Prd_2_BACKGROUND_COLOR_2 }}\"/></svg>"
},
"start": 0.45,
"length": "end",
"offset": {
"x": -0.274,
"y": -0.189
},
"position": "center",
"transition": {
"in": "slideRight"
},
"width": 1000,
"height": 1000
}
]
},
{
"clips": [
{
"length": "end",
"asset": {
"type": "audio",
"src": "{{ AUDIO_SRC }}",
"volume": 1
},
"start": 0.01
}
]
},
{
"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": 5,
"position": "center",
"width": 1080,
"height": 1920
}
]
}
],
"fonts": [
{
"src": "https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm45xW5rygbi49c.ttf"
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"size": {
"width": 1080,
"height": 1920
},
"destinations": [
{
"provider": "shotstack"
}
]
},
"merge": [
{
"find": "Brand_Name",
"replace": "FAZ OUTFIT"
},
{
"find": "Title",
"replace": "New Arrival"
},
{
"find": "Product_1",
"replace": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/d64d4bb2-c341-41a5-9e22-c743045f45b6/source.png"
},
{
"find": "Product_2",
"replace": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/02fa3d30-8398-4144-b620-1d3e2b9f72b1/source.png"
},
{
"find": "Discount",
"replace": "Fast Lane Discount: 45% Off for First 10!"
},
{
"find": "CTA",
"replace": "BUY TODAY"
},
{
"find": "Contact_&_Web",
"replace": "022-123-5678 www.fazoutfit.com"
},
{
"find": "FONT_COLOR_1",
"replace": "#000000"
},
{
"find": "CTA_FONT_COLOR",
"replace": "#ffffff"
},
{
"find": "Prd_1_BACKGROUND_COLOR",
"replace": "#95c5d6"
},
{
"find": "Prd_2_BACKGROUND_COLOR_2",
"replace": "#504f92"
},
{
"find": "BACKGROUND_COLOR",
"replace": "#d2d2d0"
},
{
"find": "AUDIO_SRC",
"replace": "https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/2a34aab8-82b0-46a7-a3ec-86816a9e35f6/source.mp3"
}
]
}Elevate your marketing campaigns with our "Modern 3D Apparel New Arrival & Flash Sale Template." This versatile and stylish template is the ultimate tool for businesses looking to announce new products, promote a flash sale, or advertise a special event with high impact. Designed with a clean, contemporary aesthetic, this template uses eye-catching 3D graphics and bold typography to capture your audience's attention instantly. The layout is strategically structured to highlight your main message—whether it's "New Arrival" or a specific discount—and drive conversions with a clear call-to-action. This template is fully customizable and incredibly user-friendly. You can effortlessly swap out the placeholder images with your products, change the text to detail your unique offer, and adjust the color scheme to align perfectly with your brand identity. It’s a ready-to-use solution that empowers you to create professional, engaging promotional materials for social media, email newsletters, or your website 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 × 1920 (9:16) |
| Length | 5s |
| Frame rate | 25 fps |
| Tracks / clips | 14 / 19 |
| Assets used | 1 audio, 2 image, 5 luma, 5 rich-text, 6 svg |
| Soundtrack | no |
| Merge fields | 13 |
Send a merge array with your values for these fields:
| Field | Default value |
|---|---|
{{ Brand_Name }} | FAZ OUTFIT |
{{ Title }} | New Arrival |
{{ Product_1 }} | https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/d64d4bb2-c341-41a5-9e22-c743045f45b6/source.png |
{{ Product_2 }} | https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/02fa3d30-8398-4144-b620-1d3e2b9f72b1/source.png |
{{ Discount }} | Fast Lane Discount: 45% Off for First 10! |
{{ CTA }} | BUY TODAY |
{{ Contact_&_Web }} | 022-123-5678 www.fazoutfit.com |
{{ FONT_COLOR_1 }} | #000000 |
{{ CTA_FONT_COLOR }} | #ffffff |
{{ Prd_1_BACKGROUND_COLOR }} | #95c5d6 |
{{ Prd_2_BACKGROUND_COLOR_2 }} | #504f92 |
{{ BACKGROUND_COLOR }} | #d2d2d0 |
{{ AUDIO_SRC }} | https://templates.shotstack.io/modern-apparel-sale-promo-template-3d/2a34aab8-82b0-46a7-a3ec-86816a9e35f6/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 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. 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.