BlueMorpho / docs /03-engine-roster.md
tkhjeff's picture
Hire the crew: licence-vetted roster + GPU call sheet + 35 tests
736a007 verified
|
Raw History Blame Contribute Delete
8.55 kB
# 03 — Engine Roster: who runs on what, and why
*Generated from the live ledger (`docs/assets/crew.json`). Regenerate from the notebook's `CREW`
object so this table can never drift from the code that enforces it.*
Every seat is a **(department, title, engine, artifact, reason)** tuple, and the reason is a claim
the box can check. `Seat.status` is derived, never asserted: a seat is `LIVE` only when the library
imports *and* the weights are on disk.
## The whole house (29 seats)
| Dept | Seat | Engine / model | License | Artifact | Why this engine |
|---|---|---|---|---|---|
| Art | Production Designer | Qwen3-VL-8B via consult('set') | apache-2.0 | sets | Emits buildable plates an image model can render with no further interpretation. |
| Art | Set Dresser (layout) | Depth Anything V2 + SAM 2 | apache-2.0 | depth maps, mattes | Real depth maps and mattes mean a shot can be re-staged without re-rendering the world. |
| Camera | Cinematographer (renderer) | LTX-Video / Wan2.2-T2V-A14B | ⚠︎ verify | shot plates | LTX buys seconds-per-iteration hook tests; Wan is spent only on shots that must carry the film. |
| Camera | Storyboard Artist | FLUX.1-schnell | apache-2.0 | storyboard panels | A storyboard panel costs a fraction of a video render, so bad ideas die before they get expensive. |
| Cast | Casting Director | Qwen3-VL-8B via consult('casting') | apache-2.0 | cast, npcs | Casting a character is a description problem, which text mode solves at zero extra cost. |
| Cast | NPC Behaviour | consult() policies + video model | apache-2.0 | background action | Extras run small deterministic policies, so background life is controllable rather than random noise. |
| Cast | Performance / Lip-sync | LatentSync | openrail++ | performed shots | Lip-sync is driven by the generated audio, so performance stays welded to the voice track. |
| Cast | Voice Bank | Kokoro-82M | apache-2.0 | voice tracks | 82M params makes a whole script cheap to voice and leaves VRAM for the video models. |
| Development | Executive Producer | hook-score gate in plain Python | — | greenlight decision | The greenlight rule is readable code you can argue with, not a hidden judgement. |
| Direction | Director / Coordinator | Qwen3-VL-8B text + order() dispatcher | apache-2.0 | shot list, cut order | Direction is plain Python: the loop that calls each department is a cell you can read, edit and rerun. |
| Light | Colorist | ffmpeg lut3d/curves + numpy | — | graded master | Deterministic and VRAM-free, so the grade reproduces frame-for-frame on every rerun. |
| Light | Director of Photography | Qwen3-VL-8B via consult('lighting') | apache-2.0 | per-shot lighting | Deciding light is a language task, so it costs nothing beyond the resident model. |
| Light | Gaffer (relight) | IC-Light | ⚠︎ verify | relit plates | Relighting a finished plate is far cheaper than re-rendering motion for a lighting note. |
| Ops | Archivist | HF hub (tkhjeff) + 6.6 TB local disk | — | asset archive | Local disk for working media, HF for the archive, so nothing is ever rendered twice. |
| Ops | DevOps | opencode agent | — | working toolchain | The box can extend itself: a missing engine becomes a task, not a dead end. |
| Post | Editor (assembly) | ffmpeg from the bible's edit section | — | master cut | The cut list is data, so the edit is diffable, reviewable and re-renderable. |
| Post | Editor (cut plan) | Qwen3-VL-8B via consult('editor') | apache-2.0 | cut pattern, captions | Pace and caption decisions are text, so the edit is settled before a frame is rendered. |
| Post | Titles & Thumbnails | PIL typography + review_shot() | — | title card, thumbnail | The same critic that grades the shots grades the thumbnail, so clickability is measured, not guessed. |
| Post | VFX / Compositing | rembg + SAM 2 + ffmpeg overlay | — | composited shots | Alpha mattes allow surgical fixes after the render instead of paying for a reshoot. |
| Release | Analyst | YouTube Analytics API | — | hook recalibration | The metric that actually pays gets fed back into the score the house optimises. |
| Release | Publisher (copy) | Qwen3-VL-8B via consult('publisher') | apache-2.0 | title, thumbnail brief | Title and thumbnail copy are written in the same breath as the film, not bolted on later. |
| Sound | Composer | MusicGen | **NC — blocked** | music stem | A distinct score per film instead of one loop recycled across every upload. |
| Sound | Foley Engine | MMAudio (video-to-audio) | **NC — blocked** | sfx stem | Audio generated from the picture syncs to the action with no hand alignment at all. |
| Sound | Re-recording Mixer | ffmpeg filter graph | — | final mix | Loudness targets and ducking are exact, free, and re-runnable from a text file. |
| Sound | Sound Designer | Qwen3-VL-8B via consult('sound') | apache-2.0 | per-shot sound plan | Specifying score, foley and silence is writing, and the writing is already paid for. |
| Story | Author | Qwen3-VL-8B via consult('author') | apache-2.0 | logline, hook, beats | Writing, directing and critique share one set of weights, so nothing is swapped in and out and no VRAM is doubled. |
| Story | Compliance Officer | consult() + policy rubric | apache-2.0 | disclosure, policy pass | The rubric lives in the notebook as editable text, so the rules stay auditable rather than implicit. |
| Story | Continuity / Script Supervisor | look() vision pass | apache-2.0 | continuity notes | One canonical visual judge checks the frames it also scored, so continuity has a single standard. |
| Story | Narration Writer | Qwen3-VL-8B via consult('narration') | apache-2.0 | voice-over lines | Voice-over and its casting happen in the same pass as the rest of the script. |
## Status legend
| Status | Meaning | How it is proven |
|---|---|---|
| `LIVE` | engine present and weights cached — may be credited on a released film | `importlib` probe + `snapshots/*/*.safetensors` in the HF cache |
| `engine ready, weights missing` | code path exists, model not downloaded | probe passes, cache glob fails |
| `to install` | neither present | probe fails |
## License findings (checked against the HF API, 10 repos)
Two seats as originally specified are **non-commercial** and cannot be credited on a monetized
upload. Both have a clean replacement:
| Seat | Original engine | License | Ruling | Replacement |
|---|---|---|---|---|
| Foley Engine | `hkchengrex/MMAudio` | cc-by-nc-4.0 | **NC — blocked for monetized work** | `tencent/HunyuanVideo-Foley`, or a CC0 foley library |
| Composer | `facebook/musicgen-small` | cc-by-nc-4.0 | **NC — blocked for monetized work** | `ace-step/ACE-Step-v1-3.5B` (**Apache-2.0**) |
Confirmed commercial-safe: `Qwen/Qwen3-VL-8B-Instruct` (Apache-2.0), `Wan-AI/Wan2.2-{T2V,I2V}-A14B-Diffusers` (Apache-2.0),
`hexgrad/Kokoro-82M` (Apache-2.0), `black-forest-labs/FLUX.1-schnell` (Apache-2.0, gated — accept
terms once), `depth-anything/Depth-Anything-V2-Small-hf` (Apache-2.0), `ByteDance/LatentSync` (OpenRAIL++).
`Lightricks/LTX-Video` ships its own **LTXV Open Weights License 0.X**: a royalty-free,
non-exclusive grant with *no* non-commercial clause and *no* revenue threshold in the text.
⚠︎ But it is a 14.5 KB bespoke license, not an OSI license. Read it in full before a commercial
release, and re-read it whenever the pinned model version changes.
## The one-model rule
Seventeen of the 29 seats are served by **the same resident 8.8B** (Qwen3-VL). That is a
deliberate architectural decision, not a shortcut:
* **No swap cost.** Loading 17.5 GB takes seconds here, but reloading per seat would dominate a
script pass that is otherwise pure token generation.
* **One world model.** Author, Director, Casting, DP, Sound and the critic all reason from the same
weights, so the hook the Author writes is judged by a critic with the same priors.
* **VRAM headroom.** 17.6 GB of 97.9 GB used leaves ~80 GB for the renderer; nothing competes.
---
> **SUPERSEDED in part by `11-hiring.md`.** The "one-model rule" below (17 seats on the resident
> `Qwen3-VL-8B`) has been replaced: the nine writers' room charters now run on
> **`Qwen3-30B-A3B-Instruct-2507-FP8`**, with **`gpt-oss-120b`** taking the hook pass that decides a
> film, and the eyes split into a *video assist* (8B, on set) and a *senior critic*
> (`Qwen3-VL-30B-A3B`, dailies). A vision model was always a compromise as a writer. The part kept
> from the old rule: the eyes remain one model per grade, reused by every seat that needs to see.