Instructions to use Skywork/Matrix-Game with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Skywork/Matrix-Game with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Skywork/Matrix-Game", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ base_model:
|
|
| 14 |
<a href="https://github.com/SkyworkAI/Matrix-Game">
|
| 15 |
<img src="https://img.shields.io/badge/GitHub-100000?style=flat&logo=github&logoColor=white" alt="GitHub">
|
| 16 |
</a>
|
| 17 |
-
<a href="https://
|
| 18 |
<img src="https://img.shields.io/badge/arXiv-Report-b31b1b?style=flat&logo=arxiv&logoColor=white" alt="arXiv">
|
| 19 |
</a>
|
| 20 |
|
|
@@ -96,7 +96,7 @@ If you find this project useful, please cite our paper:
|
|
| 96 |
@article{zhang2025matrixgame,
|
| 97 |
title = {Matrix-Game: Interactive World Foundation Model},
|
| 98 |
author = {Yifan Zhang and Chunli Peng and Boyang Wang and Puyi Wang and Qingcheng Zhu and Zedong Gao and Eric Li and Yang Liu and Yahui Zhou},
|
| 99 |
-
journal = {arXiv},
|
| 100 |
year = {2025}
|
| 101 |
}
|
| 102 |
```
|
|
|
|
| 14 |
<a href="https://github.com/SkyworkAI/Matrix-Game">
|
| 15 |
<img src="https://img.shields.io/badge/GitHub-100000?style=flat&logo=github&logoColor=white" alt="GitHub">
|
| 16 |
</a>
|
| 17 |
+
<a href="https://arxiv.org/pdf/2506.18701">
|
| 18 |
<img src="https://img.shields.io/badge/arXiv-Report-b31b1b?style=flat&logo=arxiv&logoColor=white" alt="arXiv">
|
| 19 |
</a>
|
| 20 |
|
|
|
|
| 96 |
@article{zhang2025matrixgame,
|
| 97 |
title = {Matrix-Game: Interactive World Foundation Model},
|
| 98 |
author = {Yifan Zhang and Chunli Peng and Boyang Wang and Puyi Wang and Qingcheng Zhu and Zedong Gao and Eric Li and Yang Liu and Yahui Zhou},
|
| 99 |
+
journal = {arXiv:2506.18701},
|
| 100 |
year = {2025}
|
| 101 |
}
|
| 102 |
```
|