THE CONTINUUM FLOW TECH STACK

Production-Grade Architecture for AI Video Generation

Layer 1: Interface & Control

Next.js 15

App Router UI. React 19 Server Components for high-performance rendering.

BullMQ / Redis

Reliable job queue for managing complex video generation pipelines.

PostgreSQL

Core relational DB + pgvector. Stores World State & Character JSON.

Layer 2: The Model Zoo (Cloud APIs)

Layer 3: Infrastructure & Docs

Quarto Executable Scripting

Converts Markdown into Hybrid Documents with embedded metadata.

Input: story.md
Process: Agent injects [object JSON] Metadata
Output 1: script.pdf (Human Review)
Output 2: script.json (Video Driver)

Cloud-Local Asset Mirror

GitHub
Version Control
Local CLI
Orchestrator
AWS S3 / R2
Heavy Assets
npm run asset:sync
🟦 Frontend (Next.js)
🟪 Video (Luma)
🟩 Database (Supabase)
🟧 Writing (Claude)