Skip to main content

AI Cinematic Director

Describe a cinematic sequence and the AI creates a multi-shot storyboard with camera choreography, then renders it to video.

Status: Scaffolded. Storyboard data model, store, and panel are in place. The render worker (headless R3F + ffmpeg) is not yet built.

Concepts

Shot

A single camera movement within a storyboard:

FieldTypeDescription
startFrame / endFramenumberFrame range
cameraPathArrayKeyframed camera positions + lookAt targets
focusObjectIdstring?Object to track
notestring?Director's note

Storyboard

A sequence of shots that compose a complete video:

FieldTypeDescription
shotsShot[]Ordered shot list
totalFramesnumberTotal video length in frames
fps30 | 60Frame rate
stylestring?cinematic, documentary, music-video, commercial
voiceoverArray?Timed voiceover text cues

Render Job

Status flowqueued → rendering → encoding → done
OutputMP4 video uploaded to Cloud Storage

AI Prompt

The CINEMATIC_DIRECTOR_PROMPT instructs Claude to:

  1. Analyze the scene graph
  2. Identify hero objects and compositional anchors
  3. Design shots with specific functions (establish, reveal, emphasize, transition)
  4. Output a valid Storyboard JSON
  5. Map style keywords to pacing (cinematic = slow, music-video = fast cuts)

UI

The CinematicPanel (via bottom-left drawer) provides:

  • Storyboard list with create/delete
  • Shot timeline preview (visual blocks)
  • "Render" button (calls renderStoryboard Cloud Function)
  • Render job status + video download