MiniMax-H3 README

The project's README from github.com/MiniMax-AI/MiniMax-H3. As one markdown file: README.md.

MiniMax H3

Hailuo AI API MiniMax Website GitHub Hugging Face
ModelScope MiniMax AI WeChat Discord LICENSE

English | 简体中文 | 한국어 | 日本語

MiniMax H3

Prompt Writing Skill

Install the H3 prompt writing skill — one of nine skills bundled with this repository:

npx skills add https://github.com/MiniMax-AI/MiniMax-H3 --skill h3-prompt-writing

It ships with two prompt guides under skills/h3-prompt-writing/references/: base-en.txt for text/keyframe modes and ref-en.txt for full-reference (Ref2VA) mode.

Agent compatibility: h3-prompt-writing is a plain Markdown + reference-file skill with no external API calls, so it works in Claude Code, the Claude Agent SDK, Cursor, Windsurf, OpenAI-based agents/Codex, LangChain, or any other harness that can read a SKILL.md and local files. The bundled skills/h3-prompt-writing/agents/openai.yaml only adds optional UI metadata (display name, description, default prompt) for the ChatGPT/Codex skills UI, per OpenAI's skill spec — it does not limit the skill to OpenAI agents.

The remaining eight are style-specific video generation skills built for the MiniMax Hub's canvas workflow (hub_generate_video, hub_generate_image, canvas nodes, choice cards, etc.) and are not portable to generic agent harnesses:

minimalist-product-ad-generator
minimalist-product-ad-generator
3d-animation-short-generator
3d-animation-short-generator
papercraft-stop-motion-explainer
papercraft-stop-motion-explainer
brand-promo-video-generator
brand-promo-video-generator
music-video-subtitle-generator
music-video-subtitle-generator
co-op-game-intro-generator
co-op-game-intro-generator
paper-collage-explainer-generator
paper-collage-explainer-generator
handdrawn-live-video-generator
handdrawn-live-video-generator

Online API

Use MiniMax-H3 directly via API.

Online App

Use MiniMax-H3 directly via App.

System Overview

MiniMax H3 is a general-purpose, omni-modal generative system. It supports unified understanding of multimodal contexts composed of text, images, video, and audio, and can generate video with native stereo audio at resolutions up to 2K and durations of up to 15 seconds. Thanks to its task-generalization-oriented system design, H3 already possesses broad multimodal context understanding and generation capabilities at the pre-training stage, enabling outstanding performance in following complex multimodal instructions.

H3 supports the following input and output specifications:

Category Specification
Output duration 4–15 seconds
Output aspect ratio Supports a wide range of aspect ratios, including but not limited to 21:9, 16:9, 4:3, 1:1, 3:4, and 9:16
Output resolution Supports various resolution dimensions. The shorter side is set to 768 pixels by default. 2K | generation can be achieved with H3-Regenerate-2K
Output frame rate 24 FPS
Output audio 32 kHz stereo
Supported dialogue languages Stable support for 11 languages: Arabic, Chinese, English, French, German, Italian, Japanese, Korean, Portuguese, Russian, and Spanish. Additional languages are also supported to varying degrees

Model Variants and Input Specifications

Model Variant Input Mode Specifications
H3-Base-FL2VA First-and-last-frame mode Supports zero, one, or two input images.

- No image input: Text-to-video mode
- One image input: First-frame-to-video or last-frame-to-video generation
- Two image inputs: First-and-last-frame-to-video generation
H3-Base-Ref2VA Omni-reference mode Supports multi-modal reference inputs:

- Images: ≤ 9 images
- Videos: ≤ 3 clips; each clip must be 2–15 seconds long; total duration ≤ 15 seconds
- Audio: ≤ 3 clips; each clip must be 2–15 seconds long; total duration ≤ 15 seconds
- Mixed inputs: Maximum number of files across all input types is 12

Image

The complete H3 system consists of the following three modules:

Model Architecture

H3-Context-IR

H3-Context-IR is a hosted preprocessing and orchestration system designed for free-form multimodal inputs.

It interprets the relationships among text, images, audio, and reference videos, as well as how these materials relate to the intended generation output. Its internal workflow includes instruction parsing, cross-modal association, temporal understanding, and complex logical reasoning.

H3-Context-IR serializes its understanding of the context into a structured representation accepted by H3-Base. Without deviating from the user’s original intent, it may also supplement missing or underspecified semantic details where appropriate.

Because H3-Context-IR relies on a multi-stage workflow and multiple hosted models and services, it is not included in this open-source release. We provide an API that enables users to reproduce the behavior of the official workflow. We also provide detailed tutorials, and developers can follow the Prompting Guidance to build their own preprocessing systems.

For detailed usage instructions, see Recommended Workflow — Full 2K Workflow.

Safety Guardrails

User-submitted text, images and videos, as well as enhanced prompts, are subject to automated moderation. Content suspected of being unlawful, pornographic, or infringing third-party rights may be blocked. We use industry-standard filtering measures but cannot eliminate false positives or false negatives. These guardrails do not affect the Licensee’s obligations under the MiniMax H3 Community License, especially those relating to lawful use and use restrictions.

H3-Base

Image

Architecture Overview

H3-Encoder

H3-VAE

H3 uses separate visual and audio latents to represent their respective modalities.

H3-VisualVAE
H3-AudioVAE

H3-Omni-Transformer

H3-Regenerate-2K

To help the community deploy MiniMax H3 correctly, we provide two validation methods.

Since the complete H3 system consists of three modules—H3-Context-IR, H3-Base, and H3-Regenerate-2K—the “Full 2K Workflow” provides an end-to-end validation pipeline for 2K output, combining the Open Platform API with a locally deployed H3-Base. The “Local Deployment of H3-Base” section provides a method for validating 768p output using only a locally deployed H3-Base.

In addition, the “Prompting Guidance” section provides a detailed tutorial to help the community develop their own prompting systems.

Local Deployment of H3-Base

MiniMax H3 is released as two task-specific checkpoints. Each checkpoint contains a specialized Omni Transformer Model together with the required processor, tokenizer, text encoder, Visual VAE, and standalone Audio VAE components.

Checkpoint Supported Tasks Input Conditions Output Precision
MiniMax-H3 Base FL2VA Text-to-Audio-Video (t2va), First/Last-Frame-to-Audio-Video (fl2va) Text; optional first frame, last frame, or both Video and audio BF16
MiniMax-H3 Base Ref2VA Reference-to-Audio-Video (ref2va) Text with reference images, videos, and/or audio Video and audio BF16

The released checkpoints are CFG-distilled Omni Transformer model weights.

Each checkpoint is distributed as a self-contained Hugging Face-style repository with the following components:

<TASK>/
├── model_index.json
├── processor/
├── tokenizer/
├── text_encoder/
├── transformer/
├── visual_vae/
└── audio_vae/

Download the model. The repository hosts the original checkpoint (FL2VA/, Ref2VA/) and the diffusers format side by side, so scope the download to what your framework needs:

model_index.json is the repository-level public entry. The task-family-specific diffusers indexes remain under FL2VA/model_index.json and Ref2VA/model_index.json.

# Original checkpoint, both task families (SGLang, vLLM):
hf download MiniMaxAI/MiniMax-H3 --include "model_index.json" "FL2VA/*" "Ref2VA/*" --local-dir MiniMax-H3

# Or a single task family:
hf download MiniMaxAI/MiniMax-H3 --include "model_index.json" "FL2VA/*" --local-dir MiniMax-H3

diffusers users do not need a manual download: ModularPipeline.from_pretrained("MiniMaxAI/MiniMax-H3") fetches exactly the components it needs. See the diffusers documentation for loading recipes.

We recommend the following inference frameworks to serve the model:

Sglang Deployment

Here we use sglang as a deployment example. See the MiniMax-H3 deployment guide for additional deployment configurations.

FL2VA:

sglang serve \
  --model-path MiniMaxAI/MiniMax-H3 \
  --num-gpus 4 \
  --ulysses-degree 4 \
  --performance-mode speed \
  --host 0.0.0.0 \
  --port 30010 \
  --model-variant fl2va

Ref2VA:

sglang serve \
  --model-path MiniMaxAI/MiniMax-H3 \
  --num-gpus 4 \
  --ulysses-degree 4 \
  --performance-mode speed \
  --host 0.0.0.0 \
  --port 30011 \
  --model-variant ref2va

Reproducible 768p cases

The following three use cases T2VA, FL2VA, and Ref2VA demonstrate how to reproduce MiniMax-H3 video-audio generation.

Use case Request Result
T2VA View script t2va.mp4
FL2VA View script

MiniMax-H3 (MiniMax-AI/MiniMax-H3)

Searching Database…

这是什么?MiniMax H3 是一个通用的全模态生成系统:它可以读取混合的文字、图片、视频和音频输入,并生成带原生立体声的音频视频,分辨率最高可达 2K,单段视频最长 15 秒。
那我把仓库克隆下来,拿到的是完整系统吗?只有核心生成器:仓库以两个面向不同任务的权重加上九个 agent 技能的形式提供 H3-Base。Context-IR 预处理阶段和 2K 重生成模块并不开放——它们的行为通过 API 提供。
我到底能在哪里运行它——托管应用、API,还是自己的电脑?最快的方式是托管版:网页应用 hailuoai.video、桌面端 hub.minimax.io,或 platform.minimax.io 上的 API(三者都有国内镜像)。要在本地运行,可按照 README 的 Local Deployment 章节部署开放的 H3-Base 权重。
它生成的视频片段有什么限制?片段时长 4-15 秒,24 FPS,配 32 kHz 立体声音频;默认输出为 768p(以短边计),可通过单独的 H3-Regenerate-2K 流程升级到 2K。宽高比涵盖 21:9、16:9、1:1 到 9:16。
我提交的内容会经过审核吗?会——提交的文字、图片、视频和优化后的提示词都会经过自动审核;被判定为违法、色情或侵权的内容可能会被拦截,而且也存在误判的可能。
权重可以随便用吗——许可证是怎么规定的?采用 MiniMax H3 Community License——一份自定义许可证,不是标准的开源许可证(GitHub 元数据里也没有标注开源许可证)。README 强调,即便有内容审核,你在该许可证下合法使用的义务依然存在。
开放的权重能在自己的硬件上跑吗?官方没有列出硬件要求,但 H3-Base 是一个 33B 参数的稠密 transformer,其中约 13B 参数(AdaLN 分支)可以在推理时跳过——不过它仍然不是笔记本能跑的模型,需要相当大的显存。
除了文字提示词,我还能输入什么?两种输入模式:H3-Base-FL2VA 接受零张、一张或两张图片(纯文生视频、首帧或尾帧、或首尾帧)。H3-Base-Ref2VA 接受混合参考素材:最多 9 张图片、3 段视频和 3 段音频,总共 12 个文件。
H3-Context-IR 是什么?一项托管的预处理服务,它会解析你的提示词和参考素材,进行跨模态推理,然后将其改写成结构化的 Context Intermediate Representation,供 H3-Base 据此生成。它是闭源的——你可以调用它的 API,或按照 Prompting Guidance 自己动手构建。
2K 输出是怎么实现的?不是传统意义上的超分辨率:H3-Regenerate-2K 会把 768p 的结果连同原始上下文一起重新喂给模型,以 2K 分辨率重新生成,从而还原精细细节,而不是凭空猜测。该模块尚未开放;官方流程通过 API 进行校验。
内置的九个技能都是什么?其中一个是 h3-prompt-writing,一个可移植的 Markdown 技能,包含两份提示词指南,可在 Claude Code、Claude Agent SDK、Cursor、Windsurf、Codex 和 LangChain 中运行。另外八个是面向 MiniMax Hub 画布的特定风格生成器——产品广告、3D 动画短片、纸艺讲解视频、音乐视频等等——不可移植。
Creator
MiniMax-AI
Size
91 MB
Stars
10.1K
Updated
CommitAug 15
Age
2mo
Commits · 90 Days