Real-engine run: script to film (2026-10-27)¶
M6 V2. The M3–M5 workflow — script, shots, a run, keeping takes, Cut, export, package — run once end to end against a real ComfyUI, not the stubs every e2e test uses.
Setup¶
| Castcut | main after 5ff86397 (v3.0.0 + M6 V1, V4 D1/D2), next dev on :47923 |
| Data | an empty PROMPT_DATA_DIR for this run; sign-in off, bound to 127.0.0.1 |
| ComfyUI | 0.42.5, local, RTX 4090 (24 GB) |
| Engine | Qwen-Image 2.1 Turbo (8-step) for stills; no clips (Animate was not part of this run) |
| Cast | Mara (Cast file from the earlier Scene real-render runs) |
| Script | Mara's Day: three scenes (kitchen morning with one line, office day, rooftop night) |
| Driver | scripts/scene-real-render.mts setup engine script shots run keep cut2 package |
Keeping takes is the human's step. For this run SCENE_KEEP=first kept each Scene's first take
— the run checks the flow, not which take is best.
Result: every phase passed¶
| Phase | Time | What happened |
|---|---|---|
| setup | 36 s | Both Cast files imported |
| script | 5 s | Read as 3 scenes · 1 speaking part; MARA confirmed as Mara; kitchen → home, office → work, rooftop → elsewhere |
| shots | 6 s | 4 shots drafted (kitchen: wide + the line; office and rooftop: a wide each); the kitchen line made a Scene by hand |
| run | 238 s | Prepare made the other 3 shots into Scenes and planned 4 takes, about 4 min. Started; after the first take landed the page was reloaded: Paused · The page was closed or reloaded — resume to go on. Resumed; done. 4 queued, none twice, none kept by the run |
| keep | 26 s | A take kept in each of the 4 Scenes |
| cut | 39 s | Review copy. Before cutting: shots, media, picture, disk ✓; subtitles and sound ! (none; silent). Cut in 14 s. The film as cut: 1280×720, 11.9 s, 30 fps, silent as cut — all ✓. Measure loudness: The film has no sound to measure |
| package | 38 s | Packed with 4 media files; imported in a fresh browser with server sync cut off: Imported “Mara” as a version · 4 found at their address; nothing missing |
The run's log (times are the server's clock):
| Queued | Landed | |
|---|---|---|
| prepared / started | 00:26:31 / 00:26:32 | |
| 1B Kitchen · Dialogue | 00:27:38 | 00:27:53 |
| reload — paused 00:27:59, resumed 00:28:01 | ||
| 1A Kitchen · Establishing | 00:28:20 | 00:28:38 |
| 2A Office · Establishing | 00:29:20 | 00:29:35 |
| 3A Rooftop · Establishing | 00:29:58 | 00:30:10 |
Findings¶
D7 — a dialogue shot's Scene gets no beat (new defect). draftShots puts the scene's action
only on its establishing shot; a dialogue shot carries its line but not what is happening, so
the Scene made from it has an empty Beat, and the Day still engine fills one in. Here the kitchen
line ("Coffee first.") was rendered as checking the phone while leaning on the sill, while the
wide of the same scene shows her pouring coffee. Proposed fix: a dialogue or reaction shot's
Scene takes the scene's first action as its beat (shotSceneDraft), with a unit test.
D8 — a run's takes skipped their checks (found afterwards, preparing V3; fixed the same day). The run moved on as soon as a take landed, before the Face finish and the checks after it: none of this run's 4 takes got a face score, and pose misses were never redone. That is also why the run looked fast. After the fix, the same run on a fresh install: every take has face and pose scores, two pose misses were redone, and the run took about 21 minutes instead of 4.
Observations (not defects; for V5 / V7):
- Time between takes. A take renders in 12–18 s, but the run spent 40–65 s between one take landing and the next being queued — and with D8 fixed, a take's checks and any redo come on top. The run's about 4 min estimate counts renders only. Worth measuring with V7.
- Missing model notice. The Scene page said This scene needs 1 file (40.9 GB): qwen image edit 2511 bf16 — for stills, face finish. Takes rendered without it; whether the face finish was skipped quietly is not visible in the take. Worth a look with V3 (consistency).
- Measure loudness on a silent film is offered and answers no sound to measure — correct, but the button could be left out when the film as cut says Silent.
- Subtitles are on for the review copy and Before cutting warns that no shot has any: the kitchen line is a still's line (spoken only once animated), so this is expected.
- Dev only: a hydration warning on the Cast page while an import navigated away (Next's
streaming placeholder against
AmbientBackground). Not checked on a production build yet.
Not covered by this run¶
- Clips: Animate, Copy moves and the Director on a run's Scenes (the earlier Scene real-render phases cover them on single Scenes); a film with sound, so a real loudness figure.
- A second server: the package was imported in a second browser against the same server, so its media were found at their address rather than stored anew. A true second machine needs a second data folder and server.
- Pause and Cancel on a real engine (the reload path was exercised; Pause and Cancel are covered by e2e against stubs).
- The human choice of keepers.
Re-run¶
PROMPT_DATA_DIR=<empty folder> PROMPT_AUTH_ENABLED=false PROMPT_BIND_HOST=127.0.0.1 \
npx next dev --webpack -H 127.0.0.1 -p 47923
SCENE_BASE=http://127.0.0.1:47923 SCENE_OUT=<out> SCENE_CASTS=<folder with mara.castcut.json> \
SCENE_KEEP=first npx tsx scripts/scene-real-render.mts setup engine script shots run keep cut2 package
Leave out SCENE_KEEP=first to keep the takes yourself (the script waits up to an hour). Each
phase's time and problems are written to <out>/report.json; screenshots to <out>/shots.