MoBack: End-to-End Video Background Replacement with Versatile Guidance
Abstract
Video background replacement is an important part of video post-processing and editing, and plays a crucial role in the film and animation industries. Most existing methods are designed around one type of guidance, such as textual instructions, background images, or a reference first frame, and their results often fall short of practical requirements. In this paper, we propose MoBack, a unified video background replacement model that accepts versatile guidance, including textual instructions, background images as well as reference frames, and generates the edited video in an end-to-end manner while preserving the foreground performance. Inspired by general video editing methods, we adopt a Multi-modal Large Language Model (MLLM) to understand the source video as well as versatile conditions and guide the generation process of text-to-video Diffusion Transformer (DiT). To improve the controllability of reference image guidance, we further add two learnable embeddings to the reference image tokens: a reference type embedding that distinguishes background images from reference frames, and a subframe anchor embedding that encodes the exact frame index of each reference frame. To train and evaluate our MoBack, we construct MoBack-100K, a video background replacement dataset comprising 105,191 high-quality source-target pairs with versatile guidance, alongside MoBack-Bench, an evaluation benchmark of 150 held-out test pairs. Extensive experiments demonstrate that our MoBack replaces video backgrounds with higher quality and controllability than existing methods. We will release our code, trained models, and the copyright-cleared portions of our dataset and benchmark following an internal copyright and compliance review to facilitate future research.
Community
Hi everyone! We're the authors of MoBack (End-to-End Video Background Replacement with Versatile Guidance).
Everything is now open-source under Apache 2.0:
- ๐ Project Page (demos & side-by-side comparisons): https://orange-3dv-team.github.io/MoBack/
- ๐ป GitHub (CLI, Triton kernels, 24 GB VRAM offloading, ComfyUI nodes & workflows): https://github.com/Orange-3DV-Team/MoBack
- ๐ค Weights (4-step MoBack-Turbo + 845 MB Stage-1 KD T2V conditioner for native Wan2.2): https://huggingface.co/ShaoDingBao/MoBack-Turbo
- ๐ค ModelScope Mirror: https://www.modelscope.cn/models/lalaalla/MoBack-Turbo
- ๐งฉ Comfy Registry: https://registry.comfy.org/publishers/shaodingbao/nodes/moback-turbo
Feedback, issues, and workflow demos are very welcome!
Get this paper in your agent:
hf papers read 2612.03507 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper