Cinematic Compiler: A Typed Intermediate Representation with a Deterministic Pre-Generation Constraint Checker for Multi-Shot Keyframe Continuity

Sai Rama Akash Varma Sagi, Karthik Vemireddy, Sai Ganesh Akula


Abstract
Large language model-based generation pipelines commonly transform natural-language requests into structured plans before invoking expensive downstream generators, yet these plans are rarely verified before generation. We present Cinematic Compiler, an interactive system that compiles a short narrative brief into a typed Cinematic Intermediate Representation containing shots, design specifications, entity schedules, and explicit per-shot continuity constraints. A deterministic pre-generation pass checks that every shot carries the required character, costume, prop, and location facts, propagates missing constraints, and rejects contradictory briefs before any generation cost is incurred. At rendering time, the system conditions each shot on a shared character reference image using a frozen commodity image-generation backend, followed by vision-based auditing and reference-anchored repair. Across 15 benchmark briefs, the full constraint pass achieves 100% plan-level constraint coverage, compared with 2.2% for direct prompting, 22.8% for LLM-expanded prompting, and 36.5% for the intermediate representation without propagation. Reference anchoring improves identity-to-reference similarity from 0.605 to 0.714 across 13 briefs, with gains on 12 of 13 briefs, while matched text-only prompting produces no significant improvement. We further show that pairwise cross-shot similarity can reward degenerate near-static generations and therefore report identity preservation jointly with visual dynamic degree. The demonstration allows users to compile, inspect, edit, verify, generate, audit, and repair multi-shot stories through an interactive canvas, while supporting offline replay of stored runs.
Anthology ID:
2026.aacl-demo.3
Volume:
Proceedings of the 15th International Joint Conference on Natural Language Processing and the 5th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics: System Demonstrations
Month:
November
Year:
2026
Address:
Hengqin, China
Editors:
Ningyu Zhang, Derry Wijaya
Venues:
AACL | IJCNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
17–24
Language:
URL:
https://aclanthology.org/2026.aacl-demo.3/
DOI:
Bibkey:
Cite (ACL):
Sai Rama Akash Varma Sagi, Karthik Vemireddy, and Sai Ganesh Akula. 2026. Cinematic Compiler: A Typed Intermediate Representation with a Deterministic Pre-Generation Constraint Checker for Multi-Shot Keyframe Continuity. In Proceedings of the 15th International Joint Conference on Natural Language Processing and the 5th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics: System Demonstrations, pages 17–24, Hengqin, China. Association for Computational Linguistics.
Cite (Informal):
Cinematic Compiler: A Typed Intermediate Representation with a Deterministic Pre-Generation Constraint Checker for Multi-Shot Keyframe Continuity (Sagi et al., AACL-IJCNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.aacl-demo.3.pdf