How vincentwei1021/video-shotcraft works
video-shotcraft is an agent-oriented, code-rendered promo-video toolkit: an agent captures product pages, assembles a film from motion recipes, renders and checks the result, and can hand it off for continued editing or JianYing. Its Motion Workbench provides a browser timeline for editing cards, media, themes, and linked film units; the Gallery exposes the shot library and previews. README documents the end-to-end workflow and exports, while sampled source confirms the template scene composition and key Workbench wiring. Some export, capture, and QA implementation is unsampled, so those links reflect documented capabilities, not inspected calls.
Main entry points: Main.tsx Ink Press Film · PageCam.tsx Page Camera · App.tsx Workbench UI · LibraryPanel.tsx Motion Library
Components 27
Film Creation
- Page Capture
- Shot Storyboard
Remotion Template
- Ink Press Film
template/src/aifl/Main.tsx - Opening Scene
template/src/aifl/live/SceneOpen.tsx - Fly-in Scene
template/src/aifl/live/SceneFlyIn.tsx - Detail Scene
template/src/aifl/live/SceneDetail.tsx - Paper Scene
template/src/aifl/live/ScenePapers.tsx - WBR Scene
template/src/aifl/live/SceneWbr.tsx - Live Outro
template/src/aifl/live/SceneOutroLive.tsx - Page Camera
template/src/aifl/live/PageCam.tsx - Paper Title Card
template/src/aifl/PaperTitleCard.tsx - Visual Themes
template/src/themes/visual-theme.tsx - Film Edit Manifest
template/src/workbench.ts
Motion Workbench
- Workbench UI
workbench/src/App.tsx - Motion Library
workbench/src/panels/LibraryPanel.tsx - Card Registry
workbench/src/cards/registry.ts - Film Units
workbench/src/cards/projectCards.ts - Timeline Editor
workbench/src/timeline/Timeline.tsx - Film Preview
workbench/src/preview/PreviewPanel.tsx - Project State
workbench/src/store.ts
Shot Gallery
- Gallery Previews
gallery/app.js - Community Showcase
gallery/showcase.js
Delivery
- Rendered MP4
- Frame QA
- JianYing Draft
jianying-export/mac_draft.py - Windows Draft
jianying-export/windows_draft.py
Other components
- User / Agent
Connections 35
- User / Agent → Page Capture: requests capture
README.md - Page Capture → Shot Storyboard: provides pages
README.md - Shot Storyboard → Ink Press Film: selects recipes
README.md - Ink Press Film → Opening Scene: sequences
template/src/aifl/Main.tsx - Ink Press Film → Fly-in Scene: sequences
template/src/aifl/Main.tsx - Ink Press Film → Detail Scene: sequences
template/src/aifl/Main.tsx - Ink Press Film → Paper Scene: sequences
template/src/aifl/Main.tsx - Ink Press Film → WBR Scene: sequences
template/src/aifl/Main.tsx - Ink Press Film → Live Outro: sequences
template/src/aifl/Main.tsx - Ink Press Film → Paper Title Card: sequences
template/src/aifl/Main.tsx - Ink Press Film → Visual Themes: uses theme
template/src/aifl/Main.tsx - Opening Scene → Page Camera: uses camera
template/src/aifl/live/SceneOpen.tsx - Fly-in Scene → Page Camera: uses camera
template/src/aifl/live/SceneFlyIn.tsx - Detail Scene → Page Camera: uses camera
template/src/aifl/live/SceneDetail.tsx - Paper Scene → Page Camera: uses camera
template/src/aifl/live/ScenePapers.tsx - WBR Scene → Page Camera: uses camera
template/src/aifl/live/SceneWbr.tsx - Live Outro → Page Camera: uses camera
template/src/aifl/live/SceneOutroLive.tsx - Ink Press Film → Film Edit Manifest: describes edit units
template/src/workbench.ts - User / Agent → Workbench UI: edits film
README.md - Workbench UI → Motion Library: renders
workbench/src/App.tsx - Workbench UI → Timeline Editor: renders
workbench/src/App.tsx - Workbench UI → Film Preview: renders
workbench/src/App.tsx - Workbench UI → Project State: reads and updates
workbench/src/App.tsx - Motion Library → Card Registry: lists cards
workbench/src/panels/LibraryPanel.tsx - Motion Library → Film Units: lists film units
workbench/src/panels/LibraryPanel.tsx - Timeline Editor → Project State: edits clips
workbench/src/timeline/Timeline.tsx - Film Preview → Card Registry: loads cards
workbench/src/preview/PreviewPanel.tsx - Film Preview → Project State: reads project
workbench/src/preview/PreviewPanel.tsx - Film Edit Manifest → Film Units: defines film units
workbench/src/cards/projectCards.ts - User / Agent → Gallery Previews: browses shots
README.md - Gallery Previews → Community Showcase: offers showcase
- Ink Press Film → Rendered MP4: renders film
README.md - Rendered MP4 → Frame QA: checks frames
README.md - Rendered MP4 → JianYing Draft: exports draft
README.md - JianYing Draft → Windows Draft: platform variant