ActAnywhere: Subject-Aware Video Background Generation
Boxiao Pan, Zhan Xu, Chun-Hao Paul Huang, Krishna Kumar Singh, Yang Zhou, Leonidas J. Guibas, Jimei Yang
TL;DR
ActAnywhere tackles automated subject-aware video background generation by conditioning a latent diffusion model on a foreground subject sequence and a single background frame. It encodes foreground masks and frames into latents and uses cross-frame attention with CLIP-conditioned background guidance to synthesize temporally coherent videos that follow the subject’s motion while matching the constraint frame. Trained on the 2.4M-clip HiC+ human-scene video dataset, the approach delivers realistic foreground-background interactions, dynamic lighting, and shadows, and even generalizes to non-human subjects; it also achieves practical generation speed (~8.5 seconds per video) for rapid ideation. This work advances visual effects workflows by enabling automated, diverse, and scene-consistent video background generation with strong generalization capabilities.
Abstract
Generating video background that tailors to foreground subject motion is an important problem for the movie industry and visual effects community. This task involves synthesizing background that aligns with the motion and appearance of the foreground subject, while also complies with the artist's creative intention. We introduce ActAnywhere, a generative model that automates this process which traditionally requires tedious manual efforts. Our model leverages the power of large-scale video diffusion models, and is specifically tailored for this task. ActAnywhere takes a sequence of foreground subject segmentation as input and an image that describes the desired scene as condition, to produce a coherent video with realistic foreground-background interactions while adhering to the condition frame. We train our model on a large-scale dataset of human-scene interaction videos. Extensive evaluations demonstrate the superior performance of our model, significantly outperforming baselines. Moreover, we show that ActAnywhere generalizes to diverse out-of-distribution samples, including non-human subjects. Please visit our project webpage at https://actanywhere.github.io.
