Instructions to use ShaoDingBao/MoBack-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShaoDingBao/MoBack-Turbo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ShaoDingBao/MoBack-Turbo", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Wan2.2
How to use ShaoDingBao/MoBack-Turbo with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
MoBack-Turbo
MoBack-Turbo is the 4-step deterministic distilled inference model for MoBack: End-to-End Video Background Replacement with Versatile Guidance (arXiv:2612.03507). This repository also includes the Stage-1 Vision-based KD MLLM–DiT conditioner (stage1_t2v/) for text-to-video generation on native Wan2.2-T2V-A14B.
A single unified background-replacement model supports three complementary guidance modes while preserving foreground identity, motion, and harmonized lighting:
- Task A (Text-Guided Replacement): Source video + text instruction
- Task B (Background Reference): Source video + instruction +
1–3background images & frame anchors - Task C (Keyframe Propagation): Source video + instruction +
1–3edited keyframes & frame anchors
Inference runs on a single GPU in 4 deterministic steps (2 high-noise + 2 low-noise expert steps, guidance = 1).
- Paper (arXiv): arXiv:2612.03507
- Project Page: orange-3dv-team.github.io/MoBack
- Code, T2V Pipeline & ComfyUI Nodes: Orange-3DV-Team/MoBack
- ModelScope Mirror: lalaalla/MoBack-Turbo
Model Files
| Path | Description |
|---|---|
high_noise_model/ |
High-noise 14B Wan DiT expert weights (config.json + 7 safetensors shards) for MoBack-Turbo |
low_noise_model/ |
Low-noise 14B Wan DiT expert weights (config.json + 7 safetensors shards) for MoBack-Turbo |
query_ema.safetensors, query_contract.json |
MoBack-Turbo MLLM-to-DiT query conditioner weights and configuration |
adapters/ |
Paired 4-step Turbo LoRA adapters (high_noise_model.safetensors, low_noise_model.safetensors) |
stage1_t2v/ |
Stage-1 Vision-based KD T2V conditioner (query_conditioner.safetensors [845 MB: Qwen3-VL rank-64 LoRA + learnable queries + 2-layer MLP connector] + query_contract.json; VBench Total 82.61 on native Wan2.2-T2V-A14B) |
licenses/Apache-2.0.txt |
Apache License 2.0 text |
Download
# Full bundle (MoBack-Turbo + Stage-1 T2V conditioner)
hf download ShaoDingBao/MoBack-Turbo --local-dir weights/MoBack-Turbo
# Only the Stage-1 KD T2V conditioner (845 MB)
hf download ShaoDingBao/MoBack-Turbo --include "stage1_t2v/*" --local-dir weights/MoBack-Turbo
Keep the directory structure intact:
- For video background replacement (
infer.py), pass--model weights/MoBack-Turboand--lora weights/MoBack-Turbo/adapters. - For Stage-1 text-to-video (
infer_t2v.py), pass--conditioner weights/MoBack-Turbo/stage1_t2vtogether with nativeWan2.2-T2V-A14B(--wan).
Required External Dependencies
Download the following upstream components locally as well:
- Qwen/Qwen3-VL-8B-Instruct — complete Hugging Face directory (weights, tokenizer, video processor, chat template) for
--qwen. - Wan-AI/Wan2.2-T2V-A14B —
Wan2.1_VAE.pthfor--vae(and the fullhigh_noise_model/+low_noise_model/directory for Stage-1 T2V inference).
Citation
@article{shao2026moback,
title = {MoBack: End-to-End Video Background Replacement with Versatile Guidance},
author = {Dingbao Shao and Bojun Xiong and Shuai Huang and Jiawei Lu and Jun Liang and Ying Tai and Yunlong Feng and Zili Yi and Jing Li},
journal = {arXiv preprint arXiv:2612.03507},
year = {2026},
eprint = {2612.03507},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2612.03507}
}
Acknowledgements & License
MoBack-Turbo builds upon the Wan video diffusion backbone, Qwen3-VL-8B-Instruct, and four-step Turbo adapters initialized from lightx2v/Wan2.2-Lightning (Seko V2.0). Released under the Apache License 2.0 (see licenses/Apache-2.0.txt).
- Downloads last month
- 11
Model tree for ShaoDingBao/MoBack-Turbo
Base model
Qwen/Qwen3-VL-8B-Instruct