Image-to-Video
Safetensors
Wan2.2
English
Chinese
diffsynth
scope
world-model
video-generation
action-conditioned
game-world-model
first-person-shooter
diffusion
transformer
Run this model with HF Jobs
Run YeyingLab/SCOPE on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/YeyingLab/SCOPE. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/YeyingLab/SCOPE on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use YeyingLab/SCOPE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Wan2.2
How to use YeyingLab/SCOPE 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
Upload 2 files
Browse filesFiles changed (3)
- .gitattributes+1
- README.md+195-1
- assets/teaser.jpgAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textassets/teaser.jpg filter=lfs diff=lfs merge=lfs -text
123---license: apache-2.0---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197---license: apache-2.0language:- en- zhtags:- world-model- video-generation- action-conditioned- game-world-model- first-person-shooter- diffusion- transformer- wan2.2library_name: diffsynthpipeline_tag: image-to-videobase_model:- Wan-AI/Wan2.2-TI2V-5B---# <span style="color:rgb(30,100,200)">S</span><span style="color:rgb(60,160,220)">C</span><span style="color:rgb(60,160,220)">O</span><span style="color:rgb(210,120,40)">P</span><span style="color:rgb(180,80,30)">E</span>: Simulating Cross-game Operations in Playable Environments for FPS World Models<div align="center"><img src="assets/teaser.jpg" alt="SCOPE Teaser" width="90%"><p><i><b><span style="color:rgb(30,100,200)">S</span><span style="color:rgb(60,160,220)">C</span><span style="color:rgb(60,160,220)">O</span><span style="color:rgb(210,120,40)">P</span><span style="color:rgb(180,80,30)">E</span></b> is an interactive world model for FPS games with 10-DoF action control, trained on 69K clips across 7 games.</i></p>[](https://github.com/z2tong/SCOPE)[](https://github.com/z2tong/SCOPE)[](https://arxiv.org/abs/XXXX.XXXXX)[](LICENSE)</div>## Highlights- **Hybrid Action Space** β First FPS world model to handle both continuous (4D joystick) and discrete (6 binary buttons) actions simultaneously in a unified framework- **Dense High-Frequency Control** β Resolves overlapping control signals at every frame, unlike prior methods limited to sparse inputs- **Action Composition** β Supports simultaneous multi-action combinations (e.g., moving + aiming + firing), reflecting real gameplay complexity- **Cross-Game Generalization** β A single world model trained on 7 diverse FPS games that generalizes zero-shot to unseen game environments- **In-Scope / Out-of-Scope Decoupling** β Spatially selective conditioning that separates localized in-scope effects (weapon, HUD) from stable out-of-scope world generation, without segmentation labels## Model OverviewSCOPE is an interactive world model for first-person shooter (FPS) games. Unlike prior game world models that only handle sparse, single-modality actions, SCOPE processes **hybrid action inputs** (continuous joystick + discrete buttons) at **dense, high-frequency** rates, supporting real-time **action composition** β multiple simultaneous inputs such as moving, aiming, and firing in the same frame.Built on [Wan2.2-TI2V-5B](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B), SCOPE inserts a conditioning module into each transformer block that reshapes features into per-pixel temporal sequences. Each spatial position computes its action response from local visual content, naturally separating in-scope effects (e.g., weapon firing, reloading) from out-of-scope world generation (e.g., stable surroundings) β without any segmentation labels. Trained on [**CrossFPS**](https://huggingface.co/collections/zizhaotong/crossfps) (69K clips, 7 games, 10-DoF), SCOPE learns general visual-to-action mappings rather than game-specific patterns, enabling zero-shot transfer to unseen scenes.### Architecture| Component | Details ||-----------|---------|| **Base Model** | Wan2.2-TI2V-5B (DiT, 30 layers) || **Action Module** | Per-block conditioning, per-pixel temporal sequences || **Text Encoder** | UMT5-XXL || **VAE** | Wan2.2 Video VAE (temporal compression 4x, spatial compression 8x) || **Parameters** | ~5B total (1575 tensors) || **Precision** | BFloat16 |### Generation Specs| Property | Value ||----------|-------|| Resolution | 480 x 832 || Frame Count | 81 frames || Frame Rate | 20 FPS || Duration | ~4 seconds || Inference Steps | 30 (default) |## Action Input FormatSCOPE accepts 10-DoF action inputs per frame via a Parquet file:**Controller Buttons (6D binary):**| Index | Column | Action ||:-----:|--------|--------|| 0 | `right_trigger` | Fire (RT) || 1 | `left_trigger` | Aim Down Sights (LT) || 2 | `south` | Jump (A) || 3 | `right_thumb` | Melee (R3) || 4 | `west` | Reload (X) || 5 | `north` | Weapon Switch (Y) |**Dual Joystick (4D continuous):**| Column | Axes | Function ||--------|------|----------|| `j_left` | [x, y] | Character movement (left stick) || `j_right` | [x, y] | Camera rotation (right stick) |## Quick Start### Requirements- Python >= 3.10- PyTorch >= 2.5 with CUDA support- GPU: NVIDIA with >= 24GB VRAM (single GPU inference with CPU offload)- [DiffSynth](https://github.com/modelscope/DiffSynth-Studio) framework### Installation```bashgit clone https://github.com/z2tong/SCOPE.gitcd SCOPEpip install -e .```### Download Weights```bash# Download all weights (SCOPE DiT + Text Encoder + VAE + Tokenizer) in one commandhuggingface-cli download z2tong/SCOPE --local-dir ./SCOPE```The model directory contains everything needed for inference:```SCOPE/βββ model-00001-of-00003.safetensors # SCOPE DiT shard 1βββ model-00002-of-00003.safetensors # SCOPE DiT shard 2βββ model-00003-of-00003.safetensors # SCOPE DiT shard 3βββ model.safetensors.index.json # Shard indexβββ models_t5_umt5-xxl-enc-bf16.pth # Text Encoder (UMT5-XXL)βββ Wan2.2_VAE.pth # Video VAEβββ google/umt5-xxl/ # Tokenizerβββ config.json # Model config```### Inference**Single image + action sequence:**```bashpython inference.py \--model_dir ./SCOPE \--input_image input.png \--action_path action.parquet \--prompt "First-person shooter perspective in a modern city" \--seed 42```**Batch processing (directory of images):**```bashpython inference.py \--model_dir ./SCOPE \--input_image_dir ./images \--action_path action.parquet \--prompt "First-person view in a battlefield" \--output_dir ./outputs```For full usage details and advanced options, see the [GitHub repository](https://github.com/z2tong/SCOPE).## Repository ContentsThis repo contains **all weights** needed for inference in a single download:| File | Component | Size ||------|-----------|------|| `model-00001-of-00003.safetensors` | SCOPE DiT shard 1 | ~5.0 GB || `model-00002-of-00003.safetensors` | SCOPE DiT shard 2 | ~5.0 GB || `model-00003-of-00003.safetensors` | SCOPE DiT shard 3 | ~4.6 GB || `model.safetensors.index.json` | Shard index mapping | β || `models_t5_umt5-xxl-enc-bf16.pth` | Text Encoder (UMT5-XXL) | ~20 GB || `Wan2.2_VAE.pth` | Video VAE | ~700 MB || `google/umt5-xxl/` | Tokenizer | ~10 MB || `config.json` | Model architecture config | β |> **Inference code** is available at [github.com/z2tong/SCOPE](https://github.com/z2tong/SCOPE).## CrossFPS DatasetSCOPE is trained on [**CrossFPS**](https://huggingface.co/collections/zizhaotong/crossfps), the first multi-game FPS dataset with frame-aligned action telemetry:| Property | Value ||----------|-------|| Games | 7 diverse FPS titles || Total Clips | 69,000+ || Action Dimensions | 10-DoF (6 buttons + 4D joystick) || Annotation | Frame-aligned action telemetry || Curation | Gameplay-bias removal for general visual-to-action mapping |## Citation```bibtex@article{scope2025,title={SCOPE: Simulating Cross-game Operations in Playable Environments for FPS World Models},author={Tong, Zizhao and Lai, Hongfeng and Wang, Zeqing and Xing, Zhaohu and Cheng, Kexu and Xu, Haoran and Pu, Zhao and Zhu, Shangwen and Feng, Ruili and Zhao, Jian and Zhang, Yan and Tang, Hao and Jin, Yeying and Shao, Ling},year={2025}}```## AcknowledgementsWe thank the [Wan Team](https://huggingface.co/Wan-AI) for open-sourcing Wan2.2 and the [DiffSynth](https://github.com/modelscope/DiffSynth-Studio) team for the inference framework.
.gitattributes+1
README.md+195-1
assets/teaser.jpgAdded

Large File Pointer Details
- SHA256: 5c6b4bcf841ab7c9fd0597cd9089481341a5f9a782c9256a76ec4aabdcf7c196
- Pointer size: 132 Bytes
- Size of remote file: 6.06 MB