# pi-H3

> Source: https://aiwiki.ai/wiki/pi_h3
> Updated: 2026-11-22
> Categories: AI Models, AI Research, Diffusion Models, Video Generation
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) - attribute to "AI Wiki (aiwiki.ai)"
> Cite as: AI Wiki. "pi-H3." aiwiki.ai, 22 Nov 2026. https://aiwiki.ai/wiki/pi_h3
> From AI Wiki (https://aiwiki.ai), the free encyclopedia of artificial intelligence. Reuse freely with attribution.

**pi-H3** is a set of adapters that accelerate [MiniMax H3](https://aiwiki.ai/wiki/minimax_h3) video generation with synchronized audio. It provides separate models for two or four sampling steps, with variants that produce video pixels from the denoiser's final features through Decoding Without a Decoder (DWD). Other variants retain H3's video decoder. The adapters support text prompts and optional first-frame and last-frame conditioning.[1]

The project combines pi-Flow v2, a method for few-step [knowledge distillation](https://aiwiki.ai/wiki/knowledge_distillation), with DWD. Its inference implementation is part of LakonLab, with an accompanying [ComfyUI](https://aiwiki.ai/wiki/comfyui) extension.[2]

## Development and release

The credited researchers are Hansheng Chen, Shengqu Cai, Jiaming Song, Gordon Wetzstein, Xinchen Yan and Leonidas Guibas. The project lists [Stanford University](https://aiwiki.ai/wiki/stanford_university) as the institutional affiliation, identifies part of Chen's contribution as work during an internship at [Luma AI](https://aiwiki.ai/wiki/luma_ai), and identifies Song's and Yan's contributions as work done while at Luma AI.[18]

| Date | Release |
|---|---|
| November 10, 2026 | pi-H3 0.9 demonstration on Hugging Face |
| November 21, 2026 | pi-H3 1.0 model weights, inference code and ComfyUI support |

The announcement's displayed videos and performance measurements use version 0.9. The authors describe version 1.0 as improving fine-detail motion and coherence at two steps.[3] Separately, the ComfyUI extension's version 1.4.0 changelog records the addition of two-step and four-step pi-H3 workflows, both with and without DWD, on November 21.[10]

## Adapter variants

The [Hugging Face](https://aiwiki.ai/wiki/hugging_face) repository lists four principal adapter variants:[1]

| Adapter | Sampling steps | Video output |
|---|---|---|
| `pi_h3_2step_dwd_adapter` | 2 | DWD pixel prediction |
| `pi_h3_4step_dwd_adapter` | 4 | DWD pixel prediction |
| `pi_h3_2step_adapter` | 2 | Native H3 VAE decoding |
| `pi_h3_4step_adapter` | 4 | Native H3 VAE decoding |

The model card recommends the DWD variants and supplies INT8 ConvRot versions of those adapters specifically for ComfyUI. All four adapters support the same text, first-frame and last-frame conditioning options.[1]

The ComfyUI distribution supplies separate DWD and conventional decoding workflows. Both use the H3 first-last-frame-to-video-and-audio model, called FL2VA. The workflow also requires a base diffusion model, text encoder, video VAE and audio VAE, so the adapter file alone is insufficient to run generation.[9]

## Generation method

### Few-step distillation

pi-H3 uses pi-Flow v2 for data-free distillation into two-step and four-step generators.[2] The example loads a step-specific adapter and uses separate Euler flow schedulers for video and audio.[7]

The step count refers to sampling evaluations of the generative model. It does not count prompt processing, conditioning-image encoding, pixel readout, audio decoding or video-file encoding. Those operations remain visible in the supplied pipeline and example script.[7][8]

### Direct pixel readout

A conventional [latent diffusion model](https://aiwiki.ai/wiki/latent_diffusion) produces compressed representations that a [variational autoencoder](https://aiwiki.ai/wiki/variational_autoencoder) decoder turns into frames. DWD keeps the denoising head for latent sampling, while a separate output pathway reads the [diffusion transformer's](https://aiwiki.ai/wiki/diffusion_transformer) final features to produce pixels.[4]

DWD trains the pixel pathway with pixel-quality objectives and constrains denoising to remain close to a frozen reference. Its preliminary H3 experiment uses decoder distillation, targeting the reference model's final output after native decoding.[4]

H3 poses a particularly large output problem for a simple linear head. One token can represent four frames of a 32 by 32 spatial patch in three color channels, or 12,288 pixel values, whereas the transformer's hidden width is 5,376. The DWD paper therefore identifies a lightweight refiner as useful for H3.[4]

The released DWD configuration selects a `SolH3DWDHead` and disables the separate linear pixel head.[6] The implementation first expands denoiser features into smaller spatial tokens, processes them with a refiner, and projects the result into RGB frames. By default, this head uses eight of the final Sol-H3-VAE transformer blocks. Its attention combines shifted local windows with global tokens; separate projections handle the first frame of a block and the subsequent four-frame groups.[5]

This feature-based readout explains the scope of the decoder-free description. The pipeline removes the standalone stage that decodes generated video latents through the native H3 VAE. It still computes a pixel output head and refiner. It also retains video VAE encoding for conditioning frames and an audio VAE decoding step for the sound track.[8] The current refiner is consequently more substantial than the plain linear head used in several other DWD experiments.[5][6]

### Released configuration

The two-step DWD adapter's configuration identifies a 50-layer H3 transformer with a hidden width of 5,376. The relevant output settings are:[6]

| Configuration field | Released value | Role |
|---|---|---|
| Transformer class | `MiniMaxH3Transformer3DModel` | H3 video-and-audio backbone |
| Visual latent channels | 24 | Input representation for video latents |
| Audio input channels | 32 | Input representation for audio latents |
| Ordinary pixel patch | 4 x 32 x 32 | Frames, height and width represented by an output token |
| First-frame pixel patch | 1 x 32 x 32 | Separate treatment of a block's first frame |
| First-frame period | 5 | Period used by the pixel head's latent-frame layout |
| Pixel refiner | `SolH3DWDHead` | Output pathway from denoiser features |
| Separate linear pixel head | Disabled | The selected refiner produces the pixels |

The published Diffusers example uses these sampler settings for the corresponding adapters:[7]

| Setting | Two-step adapter | Four-step adapter |
|---|---|---|
| Maximum raw timestep | 0.93 | 0.96 |
| Video timestep shift | 12.0 | 12.0 |
| Audio timestep shift | 3.0 | 3.0 |
| Final-step size scale | 0.6 | 0.6 |

The same example generates 243 frames at 1344 x 768 and exports them at 24 frames per second. It uses [FP8](https://aiwiki.ai/wiki/fp8) weight-and-activation quantization for frozen linear layers while excluding specified output and normalization layers. The final pixel tensor also receives an affine RGB conversion before file encoding.[7]

## Reported performance

### B200 measurements

Version 0.9 timings use one NVIDIA B200, part of the [Blackwell](https://aiwiki.ai/wiki/nvidia_blackwell) family, at 1344 x 768, 24 frames per second, with stereo audio:[3]

| Nominal output duration | Two-step pi-H3 | Four-step pi-H3 |
|---|---|---|
| 5 seconds | 3.813 seconds | 7.304 seconds |
| 10 seconds | 9.161 seconds | 17.562 seconds |
| 15 seconds | 18.581 seconds | 36.407 seconds |

These are medians of seven requests, including text encoding, sampling, pixel output, RGB conversion and audio decoding. They exclude model loading, compilation, warm-up and MP4 encoding. Thus faster-than-playback generation applies to the listed two-step five-second and ten-second workloads; the other entries take longer than their output duration.[3]

For comparison, the Sol-H3 paper reports 9.475, 24.309 and 44.958 seconds for its four-step, single-GB200 five-second, ten-second and fifteen-second workloads. Those figures use the same resolution and frame rate, with text encoding and video/audio decoding included. Sol-H3 reports medians of five calls after two warm-up calls.[14] The comparison spans different GPUs and execution configurations.[3][14]

### Consumer GPU measurements

The official ComfyUI documentation gives a separate set of two-step DWD measurements on an unlocked RTX 3090 with CUDA 13, INT8 ConvRot quantization and Sol sparse attention. The models were already loaded and the prompt was already encoded.[9]

| Resolution | 5-second video | 10-second video | 15-second video |
|---|---|---|---|
| 864 x 480 | 15.5 seconds | 37.3 seconds | 69.2 seconds |
| 1344 x 768 | 38.5 seconds | 97.6 seconds | 186.1 seconds |

The under-40-second 768p result applies to the five-second workload under these warm, prompt-encoded conditions.[9]

## Inference software and availability

The official Python path uses LakonLab with Hugging Face Diffusers. LakonLab 0.3.0's changelog lists PyTorch 2.9 or later, Diffusers 0.40.0 and Transformers 5.16.1 as requirements.[17] The repository describes testing on Linux and offers [PyTorch](https://aiwiki.ai/wiki/pytorch) integration, optional CUDA extensions and alternative attention backends.[18]

The pi-H3 Gradio app chooses compatible attention backends according to the installed packages and GPU. Sol sparse attention is optional; dense attention provides a fallback. FlashAttention 3, SageAttention and PyTorch's native scaled dot-product attention serve different supported paths. Ahead-of-time compilation is available, but compiled packages and exported attention bundles depend on the GPU and software environment.[2]

The application can place its text encoder on a second GPU. A CPU-offload option also keeps the encoder off the GPU when it is not being used.[2] Its duration control rounds requests to H3's frame layout: the inspected app selects 124-345 frames, approximately 5.2-14.4 seconds at 24 frames per second. That particular interface range is narrower than the nominal five-to-fifteen-second workloads used elsewhere in the project.[19]

ComfyUI-piFlow requires ComfyUI 0.45.0 or later. Its released workflows support switching between the two-step and four-step adapters.[9][10] Training code and dedicated training configurations are listed as a later release in the pi-H3 documentation.[2]

## Relationship to other models and methods

MiniMax H3 is the pretrained parent model. MiniMax describes a broader multimodal system with reference and editing tasks and output up to 2K resolution.[13] The supplied pi-H3 pipeline documents text and first/last-frame video-and-audio workflows. Those implementations establish its supported conditioning paths separately from the parent's wider specification.[8][13]

The original pi-Flow paper describes a student that predicts a network-free policy, from which intermediate flow velocities can be calculated without additional neural-network evaluations. Its imitation-distillation objective matches the teacher along the student's trajectory.[11] pi-H3 identifies its distillation method as pi-Flow v2.[1] The released H3 example uses an Euler scheduler, so the original paper's policy and substep procedure should not be assumed to describe that implementation in full.[7][11]

AsymFlow is another research project in LakonLab. It restricts noise prediction to a low-rank subspace while allowing full-dimensional data prediction, and can adapt a latent image model into a pixel-space generator.[12] DWD instead retains latent denoising and adds a separate final pixel readout.[4] Sharing a repository does not make pi-H3 an AsymFlow checkpoint or transfer AsymFlow's image benchmark results to pi-H3.[1][12]

## Licensing

The pi-H3 adapters are distributed as Model Derivatives under the MiniMax H3 Community License Agreement. The repository's license includes territorial exclusions for the European Union, United Kingdom, Republic of Korea and United States, and requires separate prior written authorization for commercial products and services generating more than US$20 million in annual revenue.[15]

LakonLab's code is licensed under Apache 2.0.[16] ComfyUI-piFlow also identifies its code as Apache 2.0 and states that models used in its workflows retain their respective licenses.[10] The software license therefore differs from the agreement governing the adapter weights.[15][16]

## References

1. Lakonik. [pi-H3 model card](https://huggingface.co/Lakonik/pi-H3). Hugging Face. Accessed November 22, 2026.
2. Hansheng Chen and collaborators. [pi-H3 implementation documentation](https://github.com/Lakonik/LakonLab/blob/main/docs/piH3.md). LakonLab. Accessed November 22, 2026.
3. Hansheng Chen, Shengqu Cai, Jiaming Song, Gordon Wetzstein, Xinchen Yan and Leonidas Guibas. [pi-H3: Video Generation in 2-4 Steps Without a VAE Decoder](https://hanshengchen.com/blog/pi-h3/). November 10, 2026, updated with the November 21 release.
4. Hansheng Chen, Shengqu Cai, Jan Ackermann, Rayhan Zirvi, Gordon Wetzstein, Xinchen Yan and Leonidas Guibas. [Decoding Without a Decoder: Direct Pixel Prediction from Diffusion Transformers](https://arxiv.org/abs/2611.22287). arXiv:2611.22287, November 17, 2026. Sections 3 and B.5.
5. Lakonik. [SolH3DWDHead implementation](https://github.com/Lakonik/LakonLab/blob/main/lakonlab/models/architectures/sol_h3/sol_h3.py). LakonLab. Accessed November 22, 2026.
6. Lakonik. [Two-step DWD adapter configuration](https://huggingface.co/Lakonik/pi-H3/blob/main/pi_h3_2step_dwd_adapter/config.json). Hugging Face. Accessed November 22, 2026.
7. Lakonik. [pi-H3 Diffusers inference example](https://github.com/Lakonik/LakonLab/blob/main/demo/example_pih3_pipeline.py). LakonLab. Accessed November 22, 2026.
8. Lakonik. [MiniMax H3 pipeline implementation](https://github.com/Lakonik/LakonLab/blob/main/lakonlab/pipelines/pipeline_minimax_h3.py). LakonLab. Accessed November 22, 2026.
9. Lakonik. [pi-H3 ComfyUI workflows and benchmarks](https://github.com/Lakonik/ComfyUI-piFlow/blob/main/docs/piH3.md). Accessed November 22, 2026.
10. Lakonik. [ComfyUI-piFlow README and changelog](https://github.com/Lakonik/ComfyUI-piFlow). Version 1.4.0, November 21, 2026.
11. Hansheng Chen, Kai Zhang, Hao Tan, Leonidas Guibas, Gordon Wetzstein and Sai Bi. [pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation](https://arxiv.org/abs/2510.14974). arXiv:2510.14974, first submitted October 16, 2025; revised February 19, 2026. ICLR 2026.
12. Hansheng Chen, Jan Ackermann, Minseo Kim, Gordon Wetzstein and Leonidas Guibas. [Asymmetric Flow Models](https://arxiv.org/abs/2605.12964). arXiv:2605.12964, first submitted May 13, 2026; revised October 29, 2026. NeurIPS 2026.
13. MiniMax. [MiniMax H3: An Open Model Breaking the Boundaries Between Tasks and Modalities](https://www.minimax.io/blog/minimax-h3). July 31, 2026.
14. Yitong Li and collaborators. [Sol-H3: Recursive Self-Improvement for MiniMax-H3 Inference Acceleration on Sol-Engine across Cloud and Edge](https://arxiv.org/abs/2609.35110). arXiv:2609.35110, September 28, 2026. Section 6.2 and Table 1.
15. Lakonik. [License for pi-H3, reproducing the MiniMax H3 Community License Agreement](https://huggingface.co/Lakonik/pi-H3/blob/main/LICENSE.md). License dated August 2, 2026; accessed November 22, 2026.
16. Hansheng Chen. [LakonLab license](https://github.com/Lakonik/LakonLab/blob/main/LICENSE). Apache License 2.0. Accessed November 22, 2026.
17. Lakonik. [LakonLab changelog](https://github.com/Lakonik/LakonLab/blob/main/CHANGELOG.md). Version 0.3.0, November 20, 2026.
18. Lakonik. [LakonLab README](https://github.com/Lakonik/LakonLab). Accessed November 22, 2026.
19. Lakonik. [pi-H3 Gradio application](https://github.com/Lakonik/LakonLab/blob/main/demo/gradio_pih3.py). Accessed November 22, 2026.

