AnyPortal: Zero-Shot Consistent Video Background Replacement

Wen-Shuo Gao, Xi-Cheng Lan, Shuai Yang
9/1/2025
diffusion-flow

No confident code implementation found for this paper.

Abstract

Despite the rapid advancements in video generation technology, creating high-quality videos that precisely align with user intentions remains a significant challenge. Existing methods often fail to achieve fine-grained control over video details, limiting their practical applicability.

Show full abstract

We introduce AnyPortal, a novel zero-shot framework for video background replacement that leverages pre-trained diffusion models. Our framework collaboratively integrates the temporal prior of video diffusion models with the relighting capabilities of image diffusion models in a zero-shot setting. To address the critical challenge of foreground consistency, we propose a Refinement Projection Algorithm, which enables pixel-level detail manipulation to ensure precise foreground preservation. AnyPortal is training-free and overcomes the challenges of achieving foreground consistency and temporally coherent relighting. Experimental results demonstrate that AnyPortal achieves high-quality results on consumer-grade GPUs, offering a practical and efficient solution for video content creation and editing.

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{gao2025anyportal,
  title  = {AnyPortal: Zero-Shot Consistent Video Background Replacement},
  author = {Wen-Shuo Gao and Xi-Cheng Lan and Shuai Yang},
  year   = {2025},
  eprint = {2509.07472},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2509.07472},
  journal = {IEEE International 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/2509.07472.svg)](https://codeofpaper.com/paper/2509.07472)

Discussion