How amit0119/ai-infographic-video works
This is an AI-driven infographic video engine. Users upload corporate data, review and revise an AI-generated storyboard, set branding, then approve a video rendered with scene narration and music. The README documents the backend capabilities and user flow; the source excerpts show the Remotion composition dispatching scenes and attaching audio and B-roll. Backend internals beyond the named files were not excerpted, so those relationships are based on the README rather than inspected implementation details.
Main entry points: main.py Storyboard API · Root.tsx Scene composition · index.html Control panel · public Media assets
Components 17
Storyboard authoring
- Control panel
backend/static/index.html - Storyboard API
backend/main.py - Gemini API
- Storyboard data
src/data/storyboard.json
Audio and media
- Voiceover generation
backend/generate_all_audio.py - Edge-TTS
- B-roll preparation
backend/predownload_broll.py - Media assets
public
Video rendering
- Scene composition
src/Root.tsx - Scene visualizations
src/components - Dashboard scene
src/components/DashboardUI.tsx - Caption overlay
src/components/Captions.tsx - B-roll background
src/components/BRollBackground.tsx - Glass card
src/components/GlassCard.tsx - Remotion entry
src/index.ts
Scene contracts
- Scene definitions
src/types.ts
Other components
- Video author
Connections 24
- Video author → Control panel: uploads data
README.md - Control panel → Storyboard API: submits data
README.md - Storyboard API → Gemini API: generates storyboard
README.md - Gemini API → Storyboard API: returns storyboard
README.md - Storyboard API → Storyboard data: provides storyboard
- Video author → Control panel: requests revisions
README.md - Control panel → Storyboard API: sends revision prompt
README.md - Video author → Control panel: sets branding
README.md - Control panel → Storyboard API: approves render
README.md - Storyboard API → Voiceover generation: generates narration
README.md - Voiceover generation → Edge-TTS: synthesizes speech
README.md - Voiceover generation → Media assets: writes audio
- Storyboard API → B-roll preparation: prepares B-roll
- B-roll preparation → Media assets: fetches footage
- Remotion entry → Scene composition: registers composition
src/index.ts - Scene composition → Scene visualizations: renders scene types
src/Root.tsx - Scene composition → Dashboard scene: renders dashboard scene
src/Root.tsx - Scene composition → Caption overlay: renders captions
src/Root.tsx - Scene composition → B-roll background: renders background
src/Root.tsx - Scene composition → Media assets: loads audio assets
src/Root.tsx - B-roll background → Media assets: loads footage
- Scene visualizations → Glass card: uses card
src/components/BarChart.tsx - Scene composition → Scene definitions: uses scene data
src/Root.tsx - Dashboard scene → Scene definitions: uses scene props
src/components/DashboardUI.tsx