Skip to content

Add automotive-inventory-videos example - #18

Open
soniasriv wants to merge 1 commit into
shotstack:masterfrom
soniasriv:add-automotive-inventory-videos
Open

soniasriv wants to merge 1 commit into
shotstack:masterfrom
soniasriv:add-automotive-inventory-videos

Conversation

@soniasriv

@soniasriv soniasriv commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Companion code for the automotive vertical: one vertical video per vehicle in a dealer inventory.

Rebuilt 24 Sep after review. Derk asked whether these formats match what customers actually render. They did not: production renders are mostly vertical and plain, and the first version was mostly 16:9 with heavy overlays. This version copies a shape measured across the 243 production accounts with 100+ renders in the last 30 days (account-level medians, so one large account cannot set the shape). The photo-listing shape (24 accounts, 30% of that volume) has a median of 9 images, 1-2 html overlays and about 9 transitions per render, about 29 s, vertical.

What it does: render.mjs reads a JSON stock feed and builds the Edit in code, one 3.2 s clip per photo with a fade and a pan or zoom, cropped to 1080x1920, so a 1-photo and a 7-photo vehicle both render (at least 6 s). An html5 card carries year, make, model, trim, price, odometer, transmission and fuel; a second html5 badge carries the dealer name; music underneath.

Changed from the first version: vertical instead of 1280x720; the S3 option is removed (one account makes 97% of S3 renders, so it is not a pattern to teach).

Verified: prettier clean; every generated Edit JSON passes shotstack validate; a fresh clone with no key, a wrong key and a bad SHOTSTACK_ENV each print one line and exit 1; a rejected key stops the batch after one line; README claims checked against the code; rendered end to end on stage with the ids below.

Stage renders (24 Sep): STK-10482 f2963751-5146-4c8c-8f1e-dc11b56fb9d7 (22.4 s, 7 photos), STK-10517 bafafcfd-3a6f-495e-9981-44fb9cc586e7 (12.8 s, 4 photos), STK-10533 677723f9-dba7-46cf-ba0e-6a40a166258d (6 s, 1 photo).

All four vertical PRs edit the example list in the root README; keep every bullet when resolving.

@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
reelestate Ignored Ignored Preview Sep 24, 2026 7:25am UTC

@soniasriv
soniasriv force-pushed the add-automotive-inventory-videos branch from c883b10 to 333c0d6 Compare September 24, 2026 07:25

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant