work/cast

Character film studio

CAST

A studio for making short films around an original character: concept, song, face, storyboard and prompts, with six director checkpoints that stand between every idea and every generated render.

Live

The storyboard and checkpoint 4.

AI video tools make it easy to generate the wrong shot. CAST is built the other way round: the director decides, in writing, before anything is generated. A project moves through stages (Brief, Character, Song, Storyboard, Prompts, Takes, Export) and the film is a numbered board of shots, each with framing, camera, transition, a lead, a through-line label and any explaining graphics.

Runs on
Web app on the home server, plus a sandboxed audio worker
Built with
Python (Flask) with SQLite, vanilla JavaScript, ffmpeg, Demucs and forced alignment in a no-network container
Started
October 2026

Six checkpoints

Concept, the song, the character's face, the board, prompts before spend, and v1. The server enforces them: each approval records who, when, which revision and the director's own words, and editing anything upstream makes later checkpoints stale. Generation is refused until they are approved again. Local work (rendering, analysis, syncing) is never gated. Every generation call shows its exact plan and a doubled cost estimate from a dated rate table before it runs, under per-project and daily caps, with no silent fallback to another provider. A big Stop all spending button sits on every page.

Concept and song

Approved in the director's words

  1. Checkpoint 1, the concept, approved in the director's own words.
    Checkpoint 1, the concept, approved in the director's own words.
  2. The song stage, with takes.
    The song stage, with takes.
  3. The song pack: title, style, exclusions and lyrics in copy-ready blocks with counters.
    The song pack: title, style, exclusions and lyrics in copy-ready blocks with counters.
  4. The song after measurement.
    The song after measurement.

A character that stays the same

Identity is locked in text: a pinned adult age, a fixed description template and a short form. Four test plates must be accepted, and a declaration made that the character is not a real person, before any plates are produced. Pictures or clips made elsewhere come in through a provenance dialog that records the tool and a likeness declaration.

Character

A face that stays a face

  1. Checkpoint 3: four test plates (placeholders here) to accept or flag.
    Checkpoint 3: four test plates (placeholders here) to accept or flag.
  2. Before any generation: the exact plan and cost estimate, waiting for confirmation.
    Before any generation: the exact plan and cost estimate, waiting for confirmation.
  3. A plate batch stopped part-way, with a plain account of what was and was not charged.
    A plate batch stopped part-way, with a plain account of what was and was not charged.

Measured music

A separate worker container with no network splits the song into stems, aligns every word, builds a beat map that follows tempo drift and finds the hits and sections, then scores lyrics and sync. On a synthetic test song, 97% of word starts land within a tenth of a second and 98% of beats within 30 ms, in about a minute and a half per three-minute song. Shot audio windows are cut in the gaps between words.

The board

Shot by shot

  1. The storyboard and checkpoint 4.
    The storyboard and checkpoint 4.
  2. A shot's fields: duration, framing, movement, place and action.
    A shot's fields: duration, framing, movement, place and action.
  3. Measured boxes being placed on a shot.
    Measured boxes being placed on a shot.
  4. The printable board sheet.
    The printable board sheet.

Out the other end

Render a 30-second proof or the full film, with the master checked by ffprobe; print a board sheet; or export a production package with the character's identity file, a read-only MCP server for it, the takes log, WAV masters, subtitles, decisions and a prompt ledger. A Resolve package lists graphic elements (such as kinetype clips) with their start frames and checksums for the edit.

Lock

Prompts, proof and picture lock

  1. The prompts page. Every prompt must be opened before checkpoint 5 can pass.
    The prompts page. Every prompt must be opened before checkpoint 5 can pass.
  2. Checkpoint 6, then proof and picture lock.
    Checkpoint 6, then proof and picture lock.

How it's built

  • Built in phases from an audit of a documented production method (about 680 rows), with 228 unit tests and around 200 interface checks.
  • These screenshots come from the app's own interface test against a throwaway instance with a mock provider, placeholder purple plates and test tones. The production is fictional: a singer at a neon spaceport.

1 / 13

Checkpoint 1, the concept, approved in the director's own words.
Checkpoint 1, the concept, approved in the director's own words.