Skip to main content

Projects/AI tooling

Video Lab

A local-first AI video studio in development. It turns an idea into a reviewable production plan before paid generation; no public hosted demo is available yet.

Six-step storyboard contact sheet for a synthetic smoothie video, from presenter hook and ingredients through result and call to action.
Synthetic golden-recipe scenario storyboard, showing six stages from presenter hook through call to action.

What I did

  • Designed an approval-gated production run that requires approval of the exact plan before paid generation.
  • Built a scene-based composition and rendering workflow that produces MP4 output.
  • Added provider connections, budget controls, a cost ledger, and a free mock-media mode.

Challenge

Generating a short video with AI models is a chain of paid steps: images, clips, voice, music, composition. A wrong prompt in the first step is only noticed after the last one has been paid for.

Solution

Video Lab plans before it spends. A director agent turns an idea into a concrete plan — scenes, prompts, audio, estimated cost — and nothing is generated until that exact plan is approved. Changing the plan requires a new approval. Compositions can then be edited scene by scene and rendered to MP4. The application is local-first and is not offered as a hosted service; this page shows the project and its synthetic storyboard, not a public product demo.

Documented 5-Step Production Workflow

Video Lab enforces a structured review process before executing billable model runs:

  1. Idea & Requirements: The creator outlines the concept, narrative structure, audio style, and visual parameters.
  2. AI Scene Plan & Cost Ledger: The director agent drafts a detailed scene-by-scene script, exact model prompts, and a transparent cost estimate across all required providers.
  3. Human Approval Gate: Nothing is sent to paid model APIs until the human operator verifies and explicitly approves the plan. Any prompt or scene alteration resets this gate.
  4. Generation & Composition: The worker pipeline issues parallel calls to provider models (OpenAI, fal.ai, ElevenLabs, or self-hosted models on Modal) and composites assets via local FFmpeg pipelines.
  5. Review & MP4 Export: The user inspects the stitched timeline, fine-tunes audio/visual synchronization, and exports high-definition MP4 output.

Architecture

Providers — OpenAI, Google, fal.ai, ElevenLabs and others — are connected with the user's own keys, which are stored encrypted with the master key in the operating system's keychain. Self-hosted open models run on Modal behind a gateway. Every paid generation is recorded in a cost ledger, with a cost estimate per plan and budget limits. Without a provider the whole pipeline runs on free mock media, so the workflow can be developed and tested without cost.