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
Improve model card: add pipeline_tag, library_name, link project page and update images
#4
by nielsr HF Staff - opened
123456789106 unmodified lines17181920212214 unmodified lines373839404142434445464748495051525354555657585960---license: mitlanguage:- enbase_model:- Skywork/Matrix-Game---<!-- markdownlint-disable first-line-h1 --><!-- markdownlint-disable html --><!-- markdownlint-disable no-duplicate-header -->6 unmodified lines<a href="https://arxiv.org/pdf/2506.18701"><img src="https://img.shields.io/badge/arXiv-Report-b31b1b?style=flat&logo=arxiv&logoColor=white" alt="arXiv"></a></div>14 unmodified lines## 🚀 Performance Comparison### GameWorld Score Benchmark Comparison| Model | Image Quality ↑ | Aesthetic Quality ↑ | Temporal Cons. ↑ | Motion Smooth. ↑ | Keyboard Acc. ↑ | Mouse Acc. ↑ | 3D Cons. ↑ ||-----------|------------------|-------------|-------------------|-------------------|------------------|---------------|-------------|| Oasis | 0.65 | 0.48 | 0.94 | **0.98** | 0.77 | 0.56 | 0.56 || MineWorld | 0.69 | 0.47 | 0.95 | **0.98** | 0.86 | 0.64 | 0.51 || **Ours** | **0.72** | **0.49** | **0.97** | **0.98** | **0.95** | **0.95** | **0.76** |**Metric Descriptions**:- **Image Quality** / **Aesthetic**: Visual fidelity and perceptual appeal of generated frames- **Temporal Consistency** / **Motion Smoothness**: Temporal coherence and smoothness between frames- **Keyboard Accuracy** / **Mouse Accuracy**: Accuracy in following user control signals- **3D Consistency**: Geometric stability and physical plausibility over timePlease check our [GameWorld](https://github.com/SkyworkAI/Matrix-Game/tree/main/GameWorldScore) benchmark for detailed implementation.### Human Evaluation> Double-blind human evaluation by two independent groups across four key dimensions: **Overall Quality**, **Controllability**, **Visual Quality**, and **Temporal Consistency**.> Scores represent the percentage of pairwise comparisons in which each method was preferred. Matrix-Game consistently outperforms prior models across all metrics and both groups.123456789101112136 unmodified lines20212223242526272814 unmodified lines43444546474849505152535455565758596061626364656667---base_model:- Skywork/Matrix-Gamelanguage:- enlicense: mitlibrary_name: diffuserspipeline_tag: image-to-video---<!-- markdownlint-disable first-line-h1 --><!-- markdownlint-disable html --><!-- markdownlint-disable no-duplicate-header -->6 unmodified lines<a href="https://arxiv.org/pdf/2506.18701"><img src="https://img.shields.io/badge/arXiv-Report-b31b1b?style=flat&logo=arxiv&logoColor=white" alt="arXiv"></a><a href="https://matrix-game-homepage.github.io/"><img src="https://img.shields.io/badge/Project%20Page-grey?style=flat&logo=huggingface&color=FFA500" alt="Project Page"></a></div>14 unmodified lines## 🚀 Performance Comparison### GameWorld Score Benchmark Comparison| Model | Image Quality ↑ | Aesthetic Quality ↑ | Temporal Cons. ↑ | Motion Smooth. ↑ | Keyboard Acc. ↑ | Mouse Acc. ↑ | Object Cons. | Scenario Cons.||-----------|------------------|-------------|-------------------|-------------------|------------------|---------------|-------------|-------------|| Oasis | 0.65 | 0.48 | 0.94 | **0.98** | 0.77 | 0.56 | 0.56 | 0.86 || MineWorld | 0.69 | 0.47 | 0.95 | **0.98** | 0.86 | 0.64 | 0.51 | 0.92 || **Ours** | **0.72** | **0.49** | **0.97** | **0.98** | **0.95** | **0.95** | **0.76** | **0.93** |**Metric Descriptions**:- **Image Quality** / **Aesthetic**: Visual fidelity and perceptual appeal of generated frames- **Temporal Consistency** / **Motion Smoothness**: Temporal coherence and smoothness between frames- **Keyboard Accuracy** / **Mouse Accuracy**: Accuracy in following user control signals- **Object Consistency**: Geometric stability and consistency of objects over time- **Scenario Consistency**: Scenario consistency over timePlease check our [GameWorld](https://github.com/SkyworkAI/Matrix-Game/tree/main/GameWorldScore) benchmark for detailed implementation.### Human Evaluation> Double-blind human evaluation by two independent groups across four key dimensions: **Overall Quality**, **Controllability**, **Visual Quality**, and **Temporal Consistency**.> Scores represent the percentage of pairwise comparisons in which each method was preferred. Matrix-Game consistently outperforms prior models across all metrics and both groups.
README.md+17-10