SuperAPIAI Directory

minWM

github.com · AI video

minWM is a full-stack open-source framework and tutorial for real-time interactive world models, released by shengshu-ai. It is not a specific model, but a complete end-to-end pipeline that guides developers in transforming a bidirectional T2V (text-to-video) base model into an action-conditioned video world model. The project provides example data, runnable scripts, Claude Skills that record practical experience, and introductory knowledge for newcomers. It supports two backbone lines, HunyuanVideo 1.5 and Wan 2.1, covering the entire pipeline of data preparation, encoding, training, and inference, and open-sources FSDP and sequence parallelism, as well as a distillation pipeline from a bidirectional diffusion model to a 4-step autoregressive student model.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Project Positioning

minWM is a full-stack open-source world model framework released by shengshu-ai, officially described as "the first full-stack open-source world model framework." It is a framework and tutorial, not a specific model, and its goal is to enable graduate students, independent researchers, and junior labs to enter the field of world models without spending three months reverse-engineering existing codebases.

Main Capabilities

  • Full-stack pipeline: A complete data → training → inference pipeline is open-sourced, with input/output checkpoints at each stage, allowing stopping, replacing, or forking at any time.
  • Multi-backbone support: Supports two lines, HunyuanVideo 1.5 and Wan 2.1. The two share the same trainer / loss / dataset abstractions, and integrating a third backbone is structurally a matter of "wrapping + configuration."
  • Data construction: Guides the construction of training-ready datasets with camera poses, as well as the complete data processing pipeline for converting them into latents.
  • Training: Includes FSDP + sequence parallelism, single-machine/multi-machine training, and a complete distillation pipeline from a bidirectional diffusion model to a 4-step AR student model.
  • Inference: Supports 4-step DMD inference for HY Action2V / HY TI2V / Wan Action2V, multi-GPU sequence parallelism, and camera trajectory control via pose strings (such as "a4,w8,s*7") or JSON files.
  • Claude Skills: Packages CF / CF++ pipeline experience as Claude skills to help LLM assistants debug failures and integrate new models: debug-world-model (collects failure modes in the training pipeline, such as loss NaN, inter-frame jitter, camera drift, memory decay, distillation collapse, etc.), integrate-new-backbone (a step-by-step guide for integrating a new video DiT into minWM), onboarding-world-model (introductory knowledge for newcomers, including fundamentals such as Teacher Forcing and Causal Forcing, as well as records of pitfalls).

Usage

Inference is uniformly performed through the entry point tools/infer_mwm.py, while the loop, sampler, guidance, and number of steps are all determined by --config-file , and the shape of the command-line arguments remains unchanged. The input is the benchmark JSON specified by the configuration key inference.benchmark , with entries as [{id, caption, trajectory}], and the output is named {id}.mp4; if it contains an image field, it is image-to-video (HY), and if omitted, it is text-to-video (Wan). Configuration values can be overridden inline with a dot-list key=value, such as inference.checkpoint=、inference.output_dir=、inference.limit=N、inference.seed=、inference.sp_size=N. The camera trajectory format is key*N segments connected by commas, for example d*8,i*5,l*6, where w/s/a/d are translation and i/k/j/l are rotation.

The training guide is divided by backbone into configs/wan21/(Wan 2.1) and configs/hy/(HY1.5-8B), all follow a four-step workflow: Setup → Data encoding → Training → Inference.

Applicable Scenarios

Aimed at researchers and developers who wish to enter the field of world models, suitable for learning the construction, training, and distillation of real-time interactive world models, as well as integrating a video DiT backbone into a world model framework.

Limitations and Licensing

The framework's own code uses the Apache License 2.0. The HunyuanVideo 1.5 components and derived weights (fine-tuning, distillation, DMD student models) use the Tencent Hunyuan Community License (THCL), which is not an OSI-approved open-source license, excludes the European Union, the United Kingdom, and South Korea from its authorized territories, and restricts the use of Hunyuan outputs to improve other AI models. The repository also contains other licensed components; see NOTICE and THIRD_PARTY_LICENSES.md for details.

Versions and Releases

On 2026-09-05, a better version with optimized infrastructure was released; on 2026-05-29, a technical report was released; on 2026-05-17, minWM was first released. Old versions are retained under the tag v0.1-legacy.

Contact

You can provide feedback via GitHub issues, or contact gracezhao1997@gmail.com by email.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools