English
SnowflakeWang commited on
Commit
0986e10
ยท
verified ยท
1 Parent(s): 9967eb1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +146 -0
README.md CHANGED
@@ -1,3 +1,149 @@
1
  ---
2
  license: cc-by-sa-4.0
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-sa-4.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - tencent/HunyuanCustom
7
  ---
8
+ <div align="center">
9
+
10
+ <h1 align="center">
11
+ CustomX: Unified Character, Action, and Scene Customization in Video World Models
12
+ </h1>
13
+
14
+ <h3 align="center">
15
+ ECCV 2026
16
+ </h3>
17
+
18
+ <p align="center">
19
+ <a href="https://arxiv.org/abs/2512.17796"><img src="https://img.shields.io/badge/arXiv-Paper-B31B1B?style=flat&labelColor=555555&logo=arxiv&logoColor=white" alt="arXiv"></a>
20
+ <a href="https://snowflakewang.github.io/CustomX_Page/"><img src="https://img.shields.io/badge/Project-Page-4F46E5?style=flat&labelColor=555555&logo=googlechrome&logoColor=white" alt="Project Page"></a>
21
+ <a href="https://github.com/snowflakewang/CustomX"><img src="https://img.shields.io/badge/Code-GitHub-181717?style=flat&labelColor=555555&logo=github&logoColor=white" alt="Code"></a>
22
+ </p>
23
+
24
+ </div>
25
+
26
+ ---
27
+
28
+ ## ๐Ÿ“– Abstract
29
+
30
+ Recent advances in world models have greatly enhanced interactive environment simulation. Existing methods mainly fall into two categories: (1) static world generation models, which construct 3D environments without active agents, and (2) controllable-entity models, which allow a single entity to perform limited actions in an otherwise uncontrollable environment. In this work, we introduce CustomX, leveraging the realism and structural grounding of static world generation while extending controllable-entity models to support user-specified characters capable of performing open-ended actions. Users can provide a 3DGS scene and a character, then use natural language to direct the character to perform diverse behaviors, ranging from basic locomotion to object-centric interactions, while freely exploring the environment. CustomX synthesizes temporally coherent video clips that preserve visual fidelity with the provided scene and character, formulated as a conditional autoregressive video generation problem. Built upon a pre-trained video generator, our training strategy significantly enhances motion dynamics while maintaining generalization across actions and characters. Our evaluation covers a broad range of aspects, including visual quality, character consistency, action controllability, and long-horizon coherence.
31
+
32
+ <div align="center">
33
+ <img src="./assets/teaser_v3.jpg" width="100%" alt="CustomX Teaser"/>
34
+ </div>
35
+
36
+ ## ๐Ÿ› ๏ธ Installation
37
+ ```bash
38
+ conda create -n customx python==3.11.9
39
+ conda activate customx
40
+
41
+ pip install uv
42
+
43
+ uv pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu124
44
+ uv pip install -r requirements.txt
45
+
46
+ wget https://github.com/Dao-AILab/flash-attention/releases/download/v2.6.3/flash_attn-2.6.3+cu123torch2.4cxx11abiFALSE-cp311-cp311-linux_x86_64.whl
47
+ uv pip install flash_attn-2.6.3+cu123torch2.4cxx11abiFALSE-cp311-cp311-linux_x86_64.whl
48
+ ```
49
+
50
+ ## ๐Ÿ“ฆ Download Checkpoints
51
+ ### HunyuanCustom Base Model
52
+ Download HunyuanCustom base model [here](https://huggingface.co/tencent/HunyuanCustom).
53
+
54
+ Only need to download the following files from HunyuanCustom:
55
+ ```shell
56
+ CustomX
57
+ โ””โ”€โ”€ models
58
+ โ””โ”€โ”€ base
59
+ โ”œโ”€โ”€ hunyuancustom_editing_720P
60
+ โ”‚ โ””โ”€โ”€ mp_rank_00_model_states.pt
61
+ โ”œโ”€โ”€ vae_3d
62
+ โ”œโ”€โ”€ openai_clip-vit-large-patch14
63
+ โ””โ”€โ”€ llava-llama-3-8b-v1_1
64
+ ```
65
+
66
+ ### CustomX LoRA
67
+ ```bash
68
+ TOKEN=xxx # add your Hugging Face token here
69
+
70
+ hf download --token $TOKEN \
71
+ SnowflakeWang/CustomX \
72
+ --local-dir models/lora
73
+ ```
74
+
75
+ ## ๐Ÿš€ Inference
76
+
77
+ ### Input Preparation
78
+ We provide a sample input in the [input](input) directory. To use your own inputs, organize them following the same structure.
79
+
80
+ ```shell
81
+ input
82
+ โ”œโ”€โ”€ character_assets
83
+ โ”‚ โ””โ”€โ”€ orangeRobot
84
+ โ”‚ โ”œโ”€โ”€ input_list
85
+ โ”‚ โ”‚ โ”œโ”€โ”€ ar_cond.list
86
+ โ”‚ โ”‚ โ”œโ”€โ”€ character.list
87
+ โ”‚ โ”‚ โ”œโ”€โ”€ output_video.list
88
+ โ”‚ โ”‚ โ”œโ”€โ”€ pos_prompt.list
89
+ โ”‚ โ”‚ โ”œโ”€โ”€ scene.list
90
+ โ”‚ โ”‚ โ””โ”€โ”€ scene_mask.list
91
+ โ”‚ โ””โ”€โ”€ multi_view
92
+ โ”‚ โ”œโ”€โ”€ 000_0001.png
93
+ โ”‚ โ”œโ”€โ”€ 002_0001.png
94
+ โ”‚ โ”œโ”€โ”€ 004_0001.png
95
+ โ”‚ โ””โ”€โ”€ 006_0001.png
96
+ โ””โ”€โ”€ scene_assets
97
+ โ””โ”€โ”€ futureUtopia
98
+ โ”œโ”€โ”€ all_frame_mask.mp4
99
+ โ””โ”€โ”€ videos
100
+ โ”œโ”€โ”€ 0.mp4
101
+ โ”œโ”€โ”€ 1.mp4
102
+ โ””โ”€โ”€ ...
103
+ ```
104
+
105
+ ### Multi-GPU Inference (Recommended)
106
+ ```bash
107
+ # 720P video inference
108
+ # Tested on 8 NVIDIA A100-80G GPUs
109
+ bash inference_multi_gpu.sh
110
+ ```
111
+
112
+ ### Single-GPU Inference
113
+ ```bash
114
+ # 360P video inference
115
+ # Tested on 1 NVIDIA A100-80G GPU
116
+ bash inference_single_gpu.sh
117
+ ```
118
+
119
+ ### Video Merging
120
+ ```bash
121
+ # Merge videos generated by auto-regressive inference
122
+ python video_merge.py --input_dir "output/orangeRobot_futureUtopia"
123
+ ```
124
+
125
+ ## ๐Ÿ”ฎ Citation
126
+
127
+ ```bibtex
128
+ @misc{wang2026customx,
129
+ title={CustomX: Unified Character, Action, and Scene Customization in Video World Models},
130
+ author={Yitong Wang and Fangyun Wei and Hongyang Zhang and Bo Dai and Yan Lu},
131
+ year={2026},
132
+ eprint={2512.17796},
133
+ archivePrefix={arXiv},
134
+ primaryClass={cs.CV},
135
+ url={https://arxiv.org/abs/2512.17796},
136
+ }
137
+ ```
138
+
139
+ ## ๐Ÿ’ Acknowledgements
140
+
141
+ - [HunyuanCustom](https://github.com/Tencent-Hunyuan/HunyuanCustom)
142
+ - [Diffusers](https://github.com/huggingface/diffusers)
143
+ - [Transformers](https://github.com/huggingface/transformers)
144
+ - [DeepSpeed](https://github.com/deepspeedai/DeepSpeed)
145
+ - [Grand Theft Auto V](https://www.rockstargames.com/gta-v)
146
+
147
+ ## ๐Ÿ“„ License
148
+
149
+ This project is licensed under the [CC BY-SA 4.0 License](http://creativecommons.org/licenses/by-sa/4.0/).