Skip to content

andrewr303/product-demo-studio

v1.1.1MIT

Produce evidence-backed product videos, social variants, captions and reproducible render receipts.

product-demo-studio

Produce product videos with a deterministic HTML/Chromium renderer and a separate real-footage adapter. This is one independent, skills-and-local-scripts plugin. All required shared code is bundled here; the other Studio plugin is optional.

Version 1.1 adds custom-template review targets and awaited readiness, authored story-beat and caption-transition review frames, declarative capture state/text/attribute checks, and protected campaign output. Duration changes involving audio require a separately authored timeline. Render caches now verify decoded review images and styleframes as well as the video and QA. The research decision report records sources, design choices and limits.

Try it

After installing from the host guide, open your target project and select product-demo-studio. Try this prompt.

Turn this product walkthrough into a 30-second storyboard. Identify the scenes for the HTML renderer and the shots that need actual product footage.

Layout note (1.1.1)

The command scripts (studio.py, assets.py, register_codex.py) now live in scripts/, not bin/, because claude.ai and Cowork do not install a plugin with a top-level bin/ directory. Any note or script of yours that calls python bin/studio.py must call python scripts/studio.py. The downloadable ZIP under artifacts/product-studios/ is the earlier 1.1.0 release and still uses bin/.

Quick start

Unpack the archive, open a terminal in this directory, and use Python 3.10 or later:

python -m pip install -r requirements.txt
python -m playwright install chromium
python scripts/studio.py doctor --launch
python scripts/studio.py render --job examples/tandem/promo-vertical.json --output project-render --preview
python scripts/studio.py media inspect project-render/video.mp4 --job project-render/job.resolved.json --output project-render/inspection.json --review-dir project-render/review-recheck

Use a virtual environment for dependency isolation. A system Chromium can be selected with STUDIO_BROWSER. FFmpeg and ffprobe must be installed on PATH for video encoding and recording conversion. No browser or FFmpeg binary is distributed here.

The Tandem example is a local support-inbox product fixture with synthetic data and deterministic processing. It does not call a live AI service or present real customer evidence. Its source is editable and its behavior is the basis for example claims.

The independent custom-template example shows how to render another synthetic product without Tandem's element IDs. Its job includes named review beats and self-contained markup for content, captions and CTA.

Agent use

Start with the product-demo-studio entry skill. Its specialist routing loads the relevant references only when needed. Find resources with python scripts/studio.py index --query capture.

Host installation and evidence distinguish verified local Codex package installation from untested host/runtime combinations. Execution guidance covers package-relative paths and operating modes. Skills and resources provide the focused catalog and ready prompts.

Tools

CommandPurpose
doctor [--launch]Detect Python dependencies, browser, fonts, disk, media executables and optional host CLIs.
discover --source PATH --output DIRRead a local repository or supplied file, inventory bounded relevant sources, extract CSS tokens, and create an honest draft product brief.
discover --source URL --allow-network --output DIRFetch the named public HTML source; never upload local files.
init --output DIRCopy the independently runnable synthetic example to an empty directory.
validate --schema NAME --input FILE --root DIR --use website|video|ads --check-filesValidate a bundled contract with product evidence and current file hashes.
index [--query TEXT]Find on-demand skills and references.
handoff --from-dir DIR --output DIRValidate known handoff documents and copy their safe, referenced files with a hash receipt.
campaign --brief FILE --output DIRPlan a bounded three-hook, two-body, two-ratio experiment matrix; proposals still require editorial review and representative previews.
package-checkValidate portable manifests, skill metadata, links, required resources and portable source paths.

Specialist commands and exact input contracts appear in --help and the linked resources. Commands emit machine-readable reports and nonzero exit codes on failure. Run scripts with their full installed path when the working directory differs from this plugin; they resolve resources from their own file location.

Production contracts and handoffs

Contracts document versioned brand, evidence, capture, interactive-state, campaign, storyboard, render, export, QA, rights and experiment records. Examples are illustrative records; their placeholder asset paths must be replaced or supplied before contextual/file validation. discover writes product-evidence.draft.json because inventory alone cannot verify a product claim. Promote it to a complete product-evidence.json only after checking the actual product and supplying the full required fields.

Actual capture, faithful replay and illustrative surfaces are distinct modes. Claims need sources, product revision, status and permitted uses. Renderer success does not certify design, truthfulness or editorial quality. Inspect browser screenshots and decoded final frames; keep technical QA separate from creative review.

No deployment, upload, external generation, credit spending or production-data write occurs by default. Local user-provided audio can be used when rights are recorded; optional services require explicit configuration and authorization.

Provenance and limits

The source integration audit and file inventory record archive hashes, implementation findings, license decisions and the two inaccessible sources. Third-party notices preserve applicable attribution. Upstream sample films, customer data, product brands and commercial audio are excluded.

Dependencies and portability document the tested Linux environment, Windows commands, optional services and untested adapters. Evaluation prompts describe realistic routing and behavior cases; a prompt corpus is distinct from a completed host-model evaluation.

Local asset tools

python scripts/assets.py --help exposes screenshot optimization with explicit crops, safe alpha handling and hash receipts, plus capture-density checks against intended CSS width, DPR and zoom. It never enlarges or overwrites a source by default.

python scripts/timing.py --help measures supplied audio and imports SRT/supplied word times without inventing speech alignment. python scripts/check_receipt.py --plugin-root PATH --project JOB_PROJECT --render RENDER_DIR checks current source/configuration/output hashes against a render receipt.