BlueMorpho / docs /25-sequence-control.md
tkhjeff's picture
Sequence control rules R-S1..R-S5, chain-last-frame, production learnings, session history 24 turns
0418334 verified
|
Raw History Blame Contribute Delete
3.79 kB

25 - Sequence Control: how to keep a film coherent shot by shot

Learned from the Xiao Hong production. This is not theory — these rules were violated, and the film scored 2/5 kept instead of 5/5. Every rule here has a reason.

The Locked Sequence Bible

Write this block before any prompt. Every single shot prompt uses these anchors verbatim — never paraphrase, never abbreviate, never drop a detail:

LOCKED SEQUENCE BIBLE (USE IN EVERY PROMPT):
- Visual Style: <style block>
- Character A: <exact appearance>
- Character B: <exact appearance>
- Character C: <exact appearance>
- Continuity Rule: Match exact wardrobe, lighting direction, and spatial layout from the
  preceding shot; keep camera motion single-axis and steady.

Why "exact" matters

A generative model reads the prompt as a probability field. Two references to the same character with different wording ("the crimson cloak" vs "a red silk hooded cloak") produce two different outcomes, and the viewer sees two different people. Repetition is the only thing the model trusts.

The five rules

rule why what happened without it
R-S1. Generate in strict chronological order (01→05) The model's attention window carries visual information forward. Generating out of order destroys the continuity chain we never violated this, but we also never used it
R-S2. Chain the last frame: for shots 02–05, extract or select the final frame of the prior clip and pass it as the reference image wherever the transition happens in the same environment this is how real VFX chains work — a plate is built on the previous plate we passed the cast keyframe for every shot, but never chained shot-to-shot
R-S3. One camera move + one main action per prompt Combining a fast pan, a leap, and a door smash in one clip causes morphing and skipped story beats our scene 4 combined a lunge, a dodge, a cloak swirl, a door burst, a hunter charge and sparks in one prompt — too much for any model
R-S4. Generate slightly longer, trim and stitch Generate 5–10 s, cut the first/last half-second if motion settles awkwardly, then hard-cut or match-cut on action in the editor we shipped the raw render without trimming
R-S5. Declare who is in the shot before rendering A consistency question about nobody is not a test — it is a waste of a render we once counted "IMAGE B shows a ship, not a person" as a recast (the eyes were right; the question was wrong)

How to chain (R-S2)

# shot N-1's LAST frame is shot N's REFERENCE image
frames = sample_frames(previous_plate_path, max_frames=None)
last_frame = frames[-1]  # not the middle — the END, because that is where the action settles
# pass last_frame to the next render as image=<PIL image>

This replaces the cast keyframe as the starting image for shots 02–05 when the same environment continues, while the cast keyframe remains the character's identity — for wardrobe and face.

What is NOT a chain link

When the environment changes (a cut to interior, a new location, a time jump), do NOT chain. Use the cast keyframe for identity and the master style block for the look. Chaining across a location change will drag the wrong background into the next shot.

The three-layer identity lock

layer what it locks when to use
Master style block the film's look, palette, lighting model, lens EVERY shot, always, verbatim
Cast keyframe the character's face, wardrobe, silhouette EVERY shot where the character appears
Last frame of prior shot the camera position, the environment, the continuation ONLY when the next shot continues from the same place, same time