CinePreGen: Camera Controllable Video Previsualization via Engine-powered Diffusion

Yiran Chen, Anyi Rao, Xuekun Jiang, Shishi Xiao, Ruiqing Ma, Zeyu Wang, Hui Xiong, Bo DaiarXiv 2024 · DOI

Abstract

Previsualization (previs) is a critical stage in professional filmmaking, requiring precise control over camera movement and scene composition. While generative AI models have advanced video synthesis, they often lack the granular control necessary for professional workflows. We present CinePreGen, a system that bridges 3D game engines and diffusion models. By leveraging ground-truth spatial data from an engine to guide AI rendering, CinePreGen enables the generation of structurally consistent, high-quality video clips with complex cinematic movements.

Introduction

The emergence of large-scale generative video models has opened new frontiers for content creation. However, these models often operate as "black boxes," making it difficult to achieve the precise camera control required for professional previsualization. Filmmakers need to define specific shots—such as arc shots or over-the-shoulder conversations—with exact framing. CinePreGen addresses these challenges by combining the spatial logic of a 3D engine with the generative power of Stable Diffusion.

The CinePreGen workflow, showing the transition from 3D camera setup to engine-based previs and final AI-rendered output.

Methodology

CinePreGen integrates a 3D engine (Unity) into the generative pipeline to provide explicit geometric guidance, moving beyond simple text-to-video prompts.

1. CineSpace: A Storytelling Coordinate System

We introduce a novel camera coordinate system based on "Toric space," optimized for storytelling. It allows for the easy definition of complex shots involving multiple targets and supports 15 cinematic behaviors, including pans, tilts, and the famous "Dolly Zoom."

2. Engine-Powered Diffusion

Rather than estimating depth from 2D sources, CinePreGen exports ground-truth depth maps and OpenPose skeletons directly from the engine. This data guides a Stable Diffusion 1.5 pipeline via ControlNet and AnimateDiff, ensuring high structural consistency even during high-motion camera moves.

The hierarchical system architecture of CinePreGen, illustrating the flow from 3D engine assembly to AI rendering.

3. Multi-Masked IP-Adapter

To maintain identity across shots, the system utilizes a multi-masked IP-Adapter. This allows users to apply distinct reference styles to characters and backgrounds independently, preventing "style bleed" and maintaining visual coherence.

Results and Key Insights

The system was evaluated against Deforum in a user study with 12 animation and film professionals. CinePreGen achieved significantly higher scores in "Pleasantness" (5.3/7) and "Consistency" compared to the baseline.

Key findings include:

  • Ground Truth Superiority: Using the engine's internal "perfect" data leads to far superior temporal stability compared to noisy AI-estimated depth.
  • Reduced Development Viscosity: Moving from 2D parameter sliders to a 3D interactive workspace makes the AI feel like a controllable camera rig, facilitating personalized expression.

Conclusion

CinePreGen demonstrates that engine-derived ground truth data is essential for achieving the temporal stability required in professional video production. Future work will focus on expanding the system to handle long-form narrative consistency across entire sequences, including background music and automated camera suggestions for large-scale environments.

Summary updated

BibTeX
@misc{chen2024cinepregen,
  author = {Yiran Chen and Anyi Rao and Xuekun Jiang and Shishi Xiao and Ruiqing Ma and Zeyu Wang and Hui Xiong and Bo Dai},
  title = {{CinePreGen: Camera Controllable Video Previsualization via Engine-powered Diffusion}},
  year = {2024},
  eprint = {2408.17424},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.17424},
}
Figure