Skip to content
المشاريع

حول

Mundo: Towards Customizable World Models

أدوات التطوير

كيف تُقاس هذه الأرقام

402 نجمة22 التفرعات +10 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+١٠
خلال 7 أيام
+٧١
خلال 15 يومًا
+٨٥
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل
Mundo Logo

Mundo: Towards Customizable World Models

Mundo turns context views of a scene into an editable, executable proxy world, and renders what happens in it as video.

:sparkler: For more visual results, check out our project page


Introducing Mundo
framework

World models simulate how environments evolve under actions and physical conditions. Existing video models capture rich appearance and motion priors, but implicit scene states limit direct control over the objects and physical properties that determine an interaction. We present Mundo, a customizable world model that represents objects and their physical properties in an editable, executable scene program. Given context views of a scene, a vision-language agent recovers the object layout and refines it through automatic visual verification and numerical fitting. The program separates spatial layout and physical properties from appearance, allowing a coarse geometric proxy to support interaction while the images retain scene detail. Executing the program computes motion and contact under specified actions, forces, and physical settings. The resulting states are rendered as proxy frames that guide a video model, with the context views providing appearance references. Mundo supports spatial exploration and controllable physical simulation, while outperforming existing methods in 3D proxy reconstruction and camera-controlled video generation.

🔥 News

  • [2026/11/30] Our inference code and weights are released!
  • [2026/10/23] We release Mundo! Check out our tech blog and project page.

🔧 Installation

  1. Clone Repo

    git clone https://github.com/Luo-Yihang/Mundo
    cd Mundo
    
  2. Create Conda Environment

    conda create -n mundo python=3.11 -y
    conda activate mundo
    conda install -c conda-forge "mesalib>=26" ffmpeg -y
    
  3. Install Python Dependencies

    pip install torch==2.7.1 torchvision==0.22.1 --index-url https://download.pytorch.org/whl/cu126
    pip install -r requirements.txt
    pip install flash-attn --no-build-isolation
    
  4. Download Weights

    bash scripts/download_weights.sh
    python -m mundo.render.weights \
        --base weights/MiniMax-H3/diffusion_models/minimax_h3_ref2va_bf16.safetensors \
        --lora weights/mundo_lora.safetensors --out weights/mundo
    

    The first command fetches the Mundo LoRA, MiniMax-H3, Pi3X, SAM 3 and Boxer, each under its own license. The second merges the LoRA into the video transformer and slices it for tensor-parallel inference. The Mundo renderer runs on 8 GPUs by default; to match your machine, pass --gpus N to the second command and list the GPUs in renderer.gpus of configs/mundo.json.

  5. Set Up the Agent

    The reconstruction agent runs through the Codex CLI or Claude Code. Install one, sign in, and select it with agent.backend in configs/mundo.json.

⚡ Quick Start

Render from a proxy world. Try our example for a quick start: examples/assets/office holds the 3D proxy world of an office (world/), the camera trajectory to render, and the context views that condition the video. Run the renderer with:

python -m mundo render --world examples/assets/office/world \
    --trajectory examples/assets/office/trajectory.json \
    --contexts examples/assets/office/contexts.json \
    --out output/office

output/office/video.mp4 is the rendered video and proxy.mp4 the proxy video that guides it.

From your own context views. explore takes a folder of images, a single image or a video, reconstructs the proxy world, and renders a camera trajectory through it:

python -m mundo explore --images examples/assets/berlin/images --out output/berlin

The camera trajectory and the context views can be specified with --trajectory and --contexts. Otherwise, Mundo samples a default camera trajectory in the proxy world and selects the context views along it.

The output folder holds the reconstructed 3D proxy world and the rendered video:

output/berlin/
├── world/              proxy world
│   ├── scene.json      scene program
│   ├── images/         context views
│   ├── views.npz       cameras and depth of the context views
│   └── viewer.html     3D viewer
├── trajectory.json     camera trajectory
├── contexts.json       context views of the chunks
├── proxy.mp4           proxy video
└── video.mp4           rendered video
Option
--chunks 2 a longer video: 124 frames for one chunk, 90 more for each further one
--cameras cameras.npz your own camera poses and depth instead of Pi3X
--prompt "give every chair its own box" a request to the reconstruction agent

The stages also run one at a time. A proxy world is reconstructed once; each trajectory is previewed as a proxy video before it is rendered:

# context views -> 3D proxy world
python -m mundo reconstruct --images examples/assets/berlin/images --out output/berlin
# proxy world + camera trajectory -> proxy video
python -m mundo preview --world output/berlin/world --trajectory examples/assets/berlin/trajectory.json --out output/berlin
# proxy world + camera trajectory + context views -> rendered video
python -m mundo render --world output/berlin/world --trajectory examples/assets/berlin/trajectory.json \
    --contexts examples/assets/berlin/contexts.json --out output/berlin

🎬 Examples

The proxy world is an executable scene program: whatever is simulated in it, from rigid-body dynamics and articulated objects to manipulation and embodied agents, is rendered in the appearance of the scene. render takes the proxy video of any simulation with --proxy, here a chain of dominoes simulated in MuJoCo:

python -m mundo render --world examples/assets/dominoes/world \
    --proxy examples/assets/dominoes/proxy.mp4 \
    --prompts examples/assets/dominoes/prompts.json \
    --out output/dominoes

examples/ provides a few programs that simulate in the proxy world to start from, e.g., physical interaction from a text instruction and humanoid navigation:

python -m examples.interact --world examples/assets/office/world --out output/tip \
    --instruction "The blue bin tips over onto the carpet."

python -m examples.navigate --world examples/assets/office/world --robot examples/assets/robots/g1 \
    --waypoints examples/assets/office/waypoints.json --out output/walk

Beyond these examples, an agent can be used to create far more diverse simulations and interactions in the proxy world. Each follows the same three steps: simulate, rasterize the states into proxy frames, render. docs/customize.md describes the scene program and how to write your own camera trajectories, context views and actions.

📁 Code Structure

Mundo/
├── mundo/
│   ├── reconstruct/    agentic proxy world reconstruction
│   ├── program/        the scene program: boxes, enclosing surfaces, physical properties
│   ├── simulate/       code-driven physical simulation in MuJoCo
│   ├── trajectory/     camera trajectories in the proxy world
│   ├── proxy/          proxy frames rasterized from the scene program
│   ├── render/         the Mundo renderer: proxy-conditioned video rendering
│   └── agents/         Codex and Claude backends behind one interface
├── examples/
│   ├── interact/       an example code of physical interaction from a text instruction
│   ├── navigate/       an example code of robot navigation
│   └── assets/         assets of all examples
├── configs/
├── docs/
├── scripts/
└── requirements.txt

📝 Citation

If you find our repo useful for your research, please consider citing our paper:

@article{luo2026mundo,
  title={Mundo: Towards Customizable World Models},
  author={Luo, Yihang and Xu, Zunnan and Zhou, Shangchen and Lan, Yushi and Liao, Kang and Gong, Zerui and Wu, Xiao-Ming and Tao, Qingyi and Wu, Zhonghua and Jin, Bixuan and Wang, Fei and Hou, Zhi and Wang, Xiaogang and Pan, Xingang and Loy, Chen Change},
  journal={arXiv preprint arXiv:2611.37932},
  year={2026}
}

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…