PAI-Studio: Cinematic Video Background Replacement with Camera-Aware Motion

He-Yuan Gao, Bang Tang, Yiren Song, Guian Fang, Zi-Jian He +2 more
6/1/2026

No confident code implementation found for this paper.

Abstract

We present PAI-Studio, a new reference-conditioned video synthesis task that addresses a long-standing challenge in cinematic background replacement: generating dynamic backgrounds aligned with foreground motion while preserving foreground identity, matching reference scene appearance, and achieving globally consistent illumination with realistic foreground relighting. Existing open-source systems and commercial APIs cannot simultaneously ensure motion-consistent background generation, high-fidelity foreground relighting and foreground identity preservation, often resulting in static backgrounds, inconsistent boundaries, and noticeable compositing artifacts.

Show full abstract

To bridge this gap, we build upon a Diffusion Transformer video backbone and reformulate the problem as an in-context conditional generation task. Through bidirectional attention, our model jointly captures foreground dynamics and background reference information within a unified architecture. We further construct a 30K-scale dataset sourced from high-quality films and online videos to support this task. Extensive evaluations demonstrate that our method significantly outperforms existing open-source and commercial API solutions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2026paistudio,
  title  = {PAI-Studio: Cinematic Video Background Replacement with Camera-Aware Motion},
  author = {He-Yuan Gao and Bang Tang and Yiren Song and Guian Fang and Zi-Jian He and Jie Yang and M. Shou},
  year   = {2026},
  eprint = {2606.01399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2606.01399},
  journal = {European Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.01399.svg)](https://codeofpaper.com/paper/2606.01399)

Discussion