---
license: mit
base_model:
- Comfy-Org/MiniMax-H3
pipeline_tag: text-to-video
library_name: comfyui
language:
- en
- zh
tags:
- minimax-h3
- video-generation
- pixel-head
- pixel-decoder
- fastframes
- vae
- comfyui
- experimental
---
# MiniMax-H3 3D Video Pixel Head (`v0.2.0` Preview)
[English](#english) | [简体中文](#chinese) | [ComfyUI Node (GitHub)](https://github.com/Wither033/ComfyUI-MiniMaxH3-PixelHead) | [Comfy Registry](https://registry.comfy.org/publishers/wither033/nodes/comfyui-minimaxh3-pixelhead)
> [!WARNING]
> **Experimental preview — not recommended for production use yet. Please wait for upcoming optimizations.**
>
> - **EN**: This `v0.2.0` checkpoint is shared early as a research baseline and low-VRAM layout preview tool (`45.7 MiB` BF16 vs `2.68 GB` stock ViT3D Video VAE). Global colors, motion, `(1, 4, 4, 4, 4)` `17k + 5` frame alignment, and flat 2D graphics (`36.73 dB`) decode properly, **but fine natural textures (facial details, oil brushwork, surface grain) and fast foreground occlusion (`25.91 dB`, `LPIPS = 0.29–0.37`) are noticeably over-smoothed**. Do not use this version for final video renders.
> - **ZH**:本权重为阶段性实验预览版(`v0.2.0`),**当前效果还不理想,不建议在日常正式出片中使用,请等待后续优化版本**。整体色调、动作走向、`(1, 4, 4, 4, 4)` 非均匀帧数对齐以及纯色扁平图形(`36.73 dB`)正常,但在**复杂自然纹理(油画笔触、人物五官、细碎颗粒)和快速前景遮挡(`25.91 dB`,`LPIPS = 0.29~0.37`)上存在明显的柔焦涂抹感**。

## Related Repositories
| Model | Status | ComfyUI Node | Weights | Notes |
| :--- | :---: | :--- | :--- | :--- |
| **Qwen-Image 2.1** | Ready | [Wither033/ComfyUI-QwenImage21-PixelHead](https://github.com/Wither033/ComfyUI-QwenImage21-PixelHead) | [pocis/Qwen-Image-2.1-PixelHead](https://huggingface.co/pocis/Qwen-Image-2.1-PixelHead) | `48.8 MiB` (`1x`) / `52.1 MiB` (`1x`+`2x`), 4-ch RGBA, `5.55 ms` (`67.1×`), `33.91 dB` |
| **Krea-2** | Ready | [Wither033/ComfyUI-Krea2-PixelHead](https://github.com/Wither033/ComfyUI-Krea2-PixelHead) | [pocis/Krea-2-PixelHead](https://huggingface.co/pocis/Krea-2-PixelHead) | `52.6 MiB` BF16, `6144d` bridged RGB, `59.55 ms` (`24.7×`), `33.33 dB` |
| **MiniMax-H3** *(this repo)* | Preview | [Wither033/ComfyUI-MiniMaxH3-PixelHead](https://github.com/Wither033/ComfyUI-MiniMaxH3-PixelHead) | [pocis/MiniMax-H3-Video-PixelHead](https://huggingface.co/pocis/MiniMax-H3-Video-PixelHead) | Not recommended for production yet; `45.7 MiB` BF16, `8.5×` faster, soft fine detail |
| **Training Code & Notes** | Reference | [Wither033/FastFrames-PixelHead-Trainer](https://github.com/Wither033/FastFrames-PixelHead-Trainer) | [HF Collection](https://huggingface.co/collections/pocis/fastframes-zero-vae-direct-pixelheads-comfyui-6b031df8e9212f8bae294154) | Training toolkit, DiT hook notes, and Colab L4 scripts |
---
## English
### Files
| File | Size | Notes |
| :--- | :---: | :--- |
| `minimax_h3_video_pixel_head_bf16.safetensors` | `45.7 MiB` | `v0.2.0` preview (BF16 trunk + FP32 output projection). |
| `minimax_h3_video_pixel_head.safetensors` | `91.4 MiB` | `v0.2.0` full FP32 checkpoint (`23.96M` params). |
| `workflows/01_MiniMaxH3_VideoPixelHead_Preview_EN.json` | `9 KB` | Preview workflow for ComfyUI (English). |
| `workflows/01_MiniMaxH3_VideoPixelHead_Preview_ZH.json` | `9 KB` | 预览测试工作流(简体中文)。 |
### Benchmark (`384×256×22f`, NVIDIA L4)
| Subset | Clips | PSNR (↑ dB) | LPIPS-VGG (↓) | Notes |
| :--- | :---: | :---: | :---: | :--- |
| `kinetic_cel_typo` | 7 | `36.73 dB` | `0.0547` | Flat 2D shapes and moving text. |
| `camera_pan_zoom` | 4 | `30.13 dB` | `0.2923` | Motion matches, fine brushwork and facial details are softened. |
| `static_lockoff` | 3 | `29.17 dB` | `0.3059` | Temporally steady, softened fine grain. |
| `parallax_occlusion` | 6 | `25.91 dB` | `0.3677` | Blur along fast occluding edges. |
| **Overall Mean** | **20** | **`31.03 dB`** | **`0.2338`** | `29.59 ms` vs `251.3 ms` (`8.5×`), `45.7 MiB` vs `2680.8 MiB`. |
### Causes of Current Softness
1. **Per-token pixel ratio**: Each MiniMax-H3 DiT token covers `4 × 32 × 32 = 4,096` pixels (`16×` more than `16×16` 2D image tokens), compared against a 36-layer `2048`-dim global-attention ViT3D stock decoder.
2. **Pixel `MSE` loss at $\sigma_{\text{last}} = 0.6316$**: Training without perceptual LPIPS/frequency losses under high terminal noise causes the small ConvNeXt trunk to smooth out uncertain micro-textures.
3. **Latent grid placement**: `x0_hat_vid` (`[B, 24, T_lat, H_lat, W_lat]`) was folded down to the `32px` entry layer rather than injected into the `16px` stage directly.
---
## 简体中文
本仓库存放 `MiniMax-H3` 视频像素直出头的 `v0.2.0` 实验预览权重(`45.7 MiB` BF16 / `91.4 MiB` FP32)。
### 当前问题说明
1. **复杂纹理偏糊**:单个 MiniMax-H3 DiT Token 需要同时还原 `4帧 × 32×32 = 4,096` 个像素(是 2D 图像头的 16 倍),且在 `video_shift = 12.0` 下 8 步采样的末步噪声起点达 `0.6316`。本轮仅使用了像素空间的 `L1 + MSE + 相邻差分` 训练,未加入 LPIPS 感知损失,导致油画笔触、人物眉眼等细部出现平滑涂抹(自然画面 `LPIPS = 0.29~0.37`)。
2. **快速前景遮挡退化**:`parallax_occlusion` 子集仅 `25.91 dB`。
3. **潜变量注入位置**:原处于 `16px` 网格的 `x0_hat_vid` 被提前折叠到了 `32px` 入口。
除低显存构图草稿预览或实验对比外,请勿用于正式出片,建议等待后续优化版本。