Video-to-Video
Diffusers
Safetensors
Wan2.2
video-editing
background-replacement
image-guided-video-editing
text-to-video
wan
comfyui
moback
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
Download query_contract.json from ShaoDingBao/MoBack-Turbo: direct link, hf CLI and curl.
- Browser
- Download file 767 Bytes
-
https://huggingface.co/ShaoDingBao/MoBack-Turbo/resolve/main/query_contract.json
- Command line
-
hf download hf://ShaoDingBao/MoBack-Turbo/query_contract.json
-
curl -L -o query_contract.json https://huggingface.co/ShaoDingBao/MoBack-Turbo/resolve/main/query_contract.json
767 Bytes
| { | |
| "conditioning_mode": "query", | |
| "query_config": { | |
| "base_model_path": "Qwen/Qwen3-VL-8B-Instruct", | |
| "num_image_queries": 256, | |
| "num_video_queries": 512, | |
| "wan_text_dim": 4096, | |
| "max_text_tokens": 1024, | |
| "lora_rank": 64, | |
| "lora_alpha": 128, | |
| "lora_dropout": 0.0, | |
| "system_prompt": "You are a helpful assistant.", | |
| "multimodal_system_prompt": "Understand the source video and the editing instruction. Describe the intended edited video through visual features.", | |
| "video_frame_count": 13, | |
| "max_condition_tokens": 16384, | |
| "load_visual_backbone": true, | |
| "attention_implementation": "sdpa", | |
| "backbone_scope": "qwen3_vl_language_lora_frozen_optional_vision", | |
| "query_readout": "pre_final_rmsnorm_task_rmsnorm_v1" | |
| } | |
| } | |