CineWeaver: Training-Free Reference-Controllable Multi-Shot Long Video Generation for Cinematic Storytelling

Yuyang Huang, Yabo Chen, Wenrui Dai, Ziyang Zheng, Haibin Huang, Chi Zhang, Junni Zou, Hongkai Xiong, Xuelong LiarXiv 2026

TL;DR

CineWeaver is a training-free framework that allows pretrained text-to-video diffusion models to generate long-form, multi-shot cinematic videos with precise character and scene control. By strategically manipulating positional encodings, attention masks, and VAE decoding during inference, it breaks the model's inherent bias toward temporal continuity to deliver clean shot transitions and stable global appearance without any retraining.

What Problem Does This Paper Address?

Generating a cinematic video from text is a massive headache for current text-to-video (T2V) diffusion models. Filmmaking inherently requires three conflicting capabilities:

  1. Multi-shot generation: Seamlessly transitioning between different viewpoints, scales, and camera movements.
  2. Fine-grained controllability: Keeping characters, objects, and backgrounds consistent based on reference images.
  3. Long-form generation: Maintaining a coherent narrative and visual style across extended time horizons.

Standard T2V models are trained to generate short, single-shot clips. They possess a strong structural bias toward temporal continuity—meaning they desperately want to smooth out any sudden changes. Existing methods try to force multi-shot behavior by modifying model architectures and retraining them on large datasets. However, these learned solutions often break down or conflict when you try to simultaneously inject reference images or scale up the video length.

Methods

Instead of retraining the model, CineWeaver introduces a suite of training-free, inference-time operations to selectively relax the model's continuity biases.

Overview of the CineWeaver framework, highlighting shot-aware RoPE, masked self-attention, shot-wise cross-attention, and isolated VAE decoding.

The core components include:

  • Shot-aware RoPE (Rotary Position Embedding) with Gap Frames: Standard RoPE gives adjacent frames high attention scores, smoothing them together. CineWeaver inserts virtual "gap frames" ($G$-frames) between shots to artificially inflate the temporal distance, weakening the inter-shot coupling.
  • Masked Self-Attention with Transition Frames: The authors introduce a few "transition frames" at the start of each shot. A specialized attention mask restricts these frames to only attend within their own shot, enforcing strict boundary isolation during the early stages of generation.
  • Shot-wise Cross-Attention & FFN: Text prompts and Feed-Forward Network (FFN) transformations are applied independently per shot to prevent prompt features from bleeding across shot boundaries.
  • Shot-wise VAE Decoding: Jointly decoding latents causes visual "leakage" due to the VAE's internal temporal caching. CineWeaver decodes each shot independently and resets the VAE state between cuts.
  • Anchor Memory Mechanism: For long-form videos, the video is split into shorter segments. CineWeaver extracts a few "anchor frames" from the very first shot, encodes them into time-invariant tokens, and allows subsequent segments to attend to them. This acts as a visual anchor to lock in global style attributes like lighting and color grading.

Datasets

Because no existing benchmark evaluated multi-shot, reference-controlled, and long-form generation all at once, the authors constructed three new evaluation benchmarks using Gemini-3 (for prompts) and Nano Banana (for generating reference images):

  • Multi-Shot T2V Benchmark: 200 prompt sets consisting of 2–4 shots with diverse scenes and transitions.
  • Reference-Controllable Multi-Shot T2V Benchmark: 50 prompt sets per mode, evaluating background injection, subject injection, and joint background+subject injection.
  • Long Reference-Controllable Multi-Shot T2V Benchmark: 15 prompt sets for long narratives containing more than 30 shots, exceeding one minute in duration.

Key Insights and Ideas

  • Pretrained Models Already Know How to Cut: The bottleneck in multi-shot generation isn't that diffusion models lack the capacity to create distinct scenes; it's that their native components (like global self-attention and VAE caching) actively suppress cuts.
  • Decoupling Composition from Training: By handling shot boundaries purely through inference-time structural operations, you eliminate the friction of trying to train a network to simultaneously remember a face (continuity) and forget a scene (discontinuity).
  • Lightweight Style Anchors: Long-form consistency doesn't require cross-attention across a massive history of generated frames. Caching a few invariant anchor tokens from the first shot is entirely sufficient to prevent stylistic drift.

Key Results

CineWeaver was evaluated against state-of-the-art multi-shot and reference-guided baselines (such as CineTrans, EchoShot, HoloCine, Phantom, and VACE).

CineWeaver generating a multi-shot cinematic video conditioned on reference images of Jack and Rose.
  • Precise Shot Transitions: CineWeaver achieved a significantly lower Transition Deviation (the frame-distance error from the intended cut). On the long-form benchmark, its deviation was 2.02 frames, compared to 4.10 for VACE and 5.50 for Phantom.
  • Superior Narrative Coherence: In user studies and automated Gemini-2.5 evaluations, CineWeaver consistently scored higher in narrative coherence and shot consistency, effectively eliminating the "ghosting" artifacts and identity blending seen in other models.

Limitations and Future Work

  • Computational Overhead: Introducing gap frames and transition frames increases the sequence length during self-attention, which raises the computational cost and memory footprint during inference.
  • Hyperparameter Sensitivity: The number of anchor frames ($N_A$) requires careful tuning; setting it too high can cause a slight degradation in overall video quality.
  • Future work will likely focus on optimizing the efficiency of these inference masks to make the generation process faster and less resource-intensive.

Summary updated

BibTeX
@misc{huang2026cineweaver,
  author = {Yuyang Huang and Yabo Chen and Wenrui Dai and Ziyang Zheng and Haibin Huang and Chi Zhang and Junni Zou and Hongkai Xiong and Xuelong Li},
  title = {{CineWeaver: Training-Free Reference-Controllable Multi-Shot Long Video Generation for Cinematic Storytelling}},
  year = {2026},
  eprint = {2607.26529},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.26529},
}
Figure