Algorithms

Video consistency algorithms

How Studio Academy (and Cinematic Studio) keep faces, wardrobe, light, and motion stable across stills and multi-clip video — from DNA inject to chain QA.

Consistency pipeline

Order of operations — skip a stage and drift compounds

These are orchestration algorithms (contracts + gates), not proprietary model weights. They sit on top of Grok Imagine generation and decide what is allowed to generate next.

9 of 9 algorithms

pre
Critical

Character DNA inject

Prefix every prompt with a frozen face/wardrobe contract.

Inputs

  • refs
  • face_lock
  • wardrobe_lock
  • age_band
  • transform flags

Outputs

  • CHARACTER_DNA block
  • inject_block string

Steps

  1. 01Extract distinctive adult features and wardrobe into structured fields.
  2. 02Emit [CHARACTER_DNA id] … [/CHARACTER_DNA] inject.
  3. 03Prepend inject to every still and video packet for that character_id.
  4. 04If wardrobe must change, set transform_allowed and write Transform Track.

Fails when

  • ×Inject omitted on later shots
  • ×face_lock too vague (“pretty woman”)
  • ×transform_allowed false but wardrobe freestyles

Studio agents

Identity Lock Specialist
Imagine Prompt Master