| name | story-to-video-cinematic |
| version | 3.1.0 |
| description | Turn story manifests into highly consistent cinematic videos using a 3-stage model chain: Ideogram 4 (T2I) for scene still generation and character sheets, Flux Klein 9B (I2I) for character consistency editing (edit pass), and LTX 2.3 FFLF Seed Hunter for video generation. Utilizes the batch-wave model with automated quality evaluation gates. |
| triggers | ["cinematic","cinematic pipeline","story-to-video-cinematic","ideogram-flux-klein-ltx"] |
v3.1.0 — Batch-Wave Cinematic Pipeline Release (2026-06-16)
This skill implements the Batch-Wave Execution Model which groups ComfyUI prompts to minimize model swaps (max 8 swaps regardless of story length) and introduces Dynamic Multi-Character Flux Klein Editing, the V3.1 cinematic prompt schema, automated quality evaluation gates (Image & Video), Director Log capture, and LLM-Powered structured prompt enhancement for Ideogram 4.
Core Pipeline Architecture
graph TD
A[Story Manifest] --> B["Phase 1: Agent writes director_log.json & cinematic_prompt.json"]
B --> C["Wave 0: Ideogram 4 Character Sheets (Gate 1 QA)"]
C --> D["Wave 1: Ideogram 4 Scene First Frames (Gate 2 Composition)"]
D --> E["Wave 2a: Flux Klein 9B FF EDIT (Gate 3 Likeness Check)"]
E --> F["Wave 2b: Flux Klein 9B LF Derivations (Gate 4 Delta check)"]
F --> G["Wave 3: LTX 2.3 FFLF Video Gen (Batch 1 - chain starts)"]
G --> H["Waves 4 & 5: Klein edit + LTX FFLF (Continuation depth 1)"]
H --> I["Waves 6 & 7: Klein edit + LTX FFLF (Continuation depth 2)"]
I --> J["Stitch & Export Final Video (Gate 5 Video Coherence)"]
style E fill:#ff9900,stroke:#333,color:#000
style F fill:#ff9900,stroke:#333,color:#000
style G fill:#00aa00,stroke:#333,color:#fff
Batch-Wave Execution Model (8 GPU Swaps)
Instead of swapping models per shot (which causes N * 3 swaps), the pipeline runs in waves:
- Wave 0: Generates all character sheets.
- Wave 1: Generates all chain_start/
##cut First Frames (FFs) via Ideogram T2I.
- Wave 2a: Performs character consistency edits on FFs (Flux Klein).
- Wave 2b: Derives all Last Frames (LFs) from edited FFs (Flux Klein). This split fixes the FF/LF race condition.
- Wave 3: Generates first batch of LTX FFLF videos (chain starts) + extracts tail frames.
- Wave 4 & 5 (Continuation Depth 1): Derives LFs from tail frames (Klein) and renders continuation videos (LTX).
- Wave 6 & 7 (Continuation Depth 2): Derives LFs and renders further continuation videos.
Director Log (Required)
Before running the orchestrator, the agent MUST write a director_log.json file alongside cinematic_prompt.json to capture its design reasoning, decisions regarding continuity chains, and prompt descriptors. See 09-director-log-example.md for details.
Trigger
- User has a
story_manifest.json and wants to produce a coherent animated film.
- User wants to use the V3.1 cinematic pipeline for superior character consistency and prompt alignment with quality control checks.
Quick Start (Working CLI Invocation)
Always pass --url and --auth explicitly to the current ComfyUI instance.
cd <story_dir>
python3 current-setup/skills/story-to-video-cinematic/scripts/cinematic_orchestrator.py \
--prompts cinematic_prompt.json \
--url "https://<your-comfyui>.trycloudflare.com" \
--auth "vastai:$(grep ^COMFYUI_AUTH /root/.hermes/.env | cut -d= -f2)" \
--skip-existing 2>&1 | tee _orchestrator_run.log
Worked Examples
We provide a comprehensive set of worked examples for every stage of the pipeline:
Reference Documentation