Drive a world
in real time.
WorldPlay is a streaming video-diffusion world model: give it one image, then steer with keyboard and mouse as it dreams the next 16 frames — over and over, keeping the geometry consistent for minutes at a time.
A camera is just a trajectory
Build a path with WASD and the arrow keys. The 3D camera poses below use the exact constants from the repo's generate_custom_trajectory.py: 0.08 units forward per latent, 3° per latent for yaw / pitch.
One chunk at a time, forever
Each step predicts the next 16 frames conditioned on your pose and a memory rebuilt from past frames. Context Forcing distils this into real-time speed without losing the memory.
Why it doesn't drift
Speed and long-horizon memory usually trade off. HY‑World 1.5 attacks both ends of that trade.
Dual action representation
A continuous camera pose plus a discrete key token, so keyboard and mouse inputs stay robust and unambiguous.
Reconstituted context memory
Memory is rebuilt from past frames with temporal reframing, keeping geometrically important — but long-past — views accessible.
WorldCompass RL
Reinforcement learning post-training directly rewards action-following and visual quality over long horizons.
Context Forcing
A memory-aware distillation that aligns teacher and student context, reaching real-time speed without error drift.
See it move
Clips and figures from the Tencent Hunyuan release. This Space hosts a static copy; all credit to the authors.
State of the art, and it streams
Reconstruction quality versus prior camera-controlled world models. Short‑ and long‑term metrics, from the model card.
| Model | Real‑time | Short‑term | Long‑term | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PSNR ↑ | SSIM ↑ | LPIPS ↓ | Rdist ↓ | Tdist ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Rdist ↓ | Tdist ↓ | ||
| CameraCtrl | ✗ | 17.93 | 0.569 | 0.298 | 0.037 | 0.341 | 10.09 | 0.241 | 0.549 | 0.733 | 1.117 |
| SEVA | ✗ | 19.84 | 0.598 | 0.313 | 0.047 | 0.223 | 10.51 | 0.301 | 0.517 | 0.721 | 1.893 |
| ViewCrafter | ✗ | 19.91 | 0.617 | 0.327 | 0.029 | 0.543 | 9.32 | 0.271 | 0.661 | 1.573 | 3.051 |
| Gen3C | ✗ | 21.68 | 0.635 | 0.278 | 0.024 | 0.477 | 15.37 | 0.431 | 0.483 | 0.357 | 0.979 |
| VMem | ✗ | 19.97 | 0.587 | 0.316 | 0.048 | 0.219 | 12.77 | 0.335 | 0.542 | 0.748 | 1.547 |
| Matrix‑Game‑2.0 | ✓ | 17.26 | 0.505 | 0.383 | 0.287 | 0.843 | 9.57 | 0.205 | 0.631 | 2.125 | 2.742 |
| GameCraft | ✗ | 21.05 | 0.639 | 0.341 | 0.151 | 0.617 | 10.09 | 0.287 | 0.614 | 2.497 | 3.291 |
| Ours (w/o Context Forcing) | ✗ | 21.27 | 0.669 | 0.261 | 0.033 | 0.157 | 16.27 | 0.425 | 0.495 | 0.611 | 0.991 |
| Ours (full) | ✓ | 21.92 | 0.702 | 0.247 | 0.031 | 0.121 | 18.94 | 0.585 | 0.371 | 0.332 | 0.797 |
Bring your own GPUs
One image in, a pose string out. The distilled autoregressive checkpoint is the fast path.
- 0.08 world units of translation per latent step
- 3° of yaw or pitch per latent step
- 32 latents ↔ 125 frames (frames = latents × 4 − 3)
- 16 frames predicted per autoregressive chunk
- The pose string supports w / s / a / d / up / down / left / right with an integer duration
Supported combinations follow trans_label × 9 + rotate_label, giving the 0–80 action token shown in the telemetry panel.
# 1. install deps + fetch weights (≈189 GB)
pip install -r requirements.txt
python download_models.py # set paths in run.sh
# 2. build the trajectory in this page, then export pose.json
# …or express it inline as a pose string:
# w-31 · right-24,w-7 · d-10,right-12,w-9
# 3. stream 125 frames with the distilled AR model
torchrun --nproc_per_node=4 hyvideo/generate.py \
--prompt "$PROMPT" \
--image_path ./assets/img/test.png \
--resolution 480p --aspect_ratio 16:9 \
--video_length 125 --seed 1 \
--pose "w-31" \
--model_path $MODEL_PATH \
--action_ckpt $AR_DISTILL_ACTION_MODEL_PATH \
--few_step true --num_inference_steps 4 \
--model_type 'ar' \
--output_path ./outputs/
