Key Features
Real-Time Control
Navigate through generated environments using keyboard (WASD) and mouse controls (IJKL)
Custom Starting Images
Initialize video generation from any image, creating explorable worlds from static scenes
Interactive World Building
Dynamically explore and generate content as you move through the environment
Quick Start
Get started with Matrix-2 in seconds:- npm
- pnpm
Model Name
matrix-2
Commands
Your application communicates with the model through commands sent viareactor.sendMessage()
. These commands enable real-time control of the generation—from steering the camera and movement to initializing custom scenes and managing state. Below are all available commands:
- control
- set_starting_image
- set_show_icon
- reset
control
Description: Steer the video generation in real-time using keyboard and mouse controls.Parameters:keyboard_key
(string, required): Movement controlW
= Move forwardA
= Move leftS
= Move backwardD
= Move rightQ
= No movement action
mouse_key
(string, required): Camera/look controlJ
= Turn leftK
= Look downL
= Turn rightI
= Look upU
= No action
- Both parameters must be provided with each control command
- Use
Q
andU
together to reset to a no-operation state (no movement or camera change) - Controls are applied immediately to the ongoing generation