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…

What is this?MiniMax H3 is a general-purpose omni-modal generative system: it reads mixed text, image, video and audio input and generates video with native stereo audio, up to 2K resolution and 15 seconds per clip.
So what am I actually getting when I clone the repo — the full system?Only the core generator: the repo ships H3-Base as two task-specific checkpoints plus nine agent skills. The Context-IR preprocessing stage and the 2K regeneration module are closed — APIs cover their behavior.
Where can I actually run it — hosted app, API, or my own machine?Fastest is hosted: web app hailuoai.video, desktop hub.minimax.io, or the API at platform.minimax.io (CN mirrors exist for all three). For local runs, deploy the open H3-Base checkpoints per the README's Local Deployment section.
What are the limits on the clips it produces?Clips run 4-15 seconds at 24 FPS with 32 kHz stereo audio; default output is 768p (shorter side), upgradeable to 2K via the separate H3-Regenerate-2K pass. Aspect ratios range from 21:9 and 16:9 to 1:1 and 9:16.
Is there content moderation on what I submit?Yes — submitted text, images, videos and enhanced prompts pass automated moderation; content flagged as unlawful, pornographic or infringing may be blocked, and false positives are possible.
Can I use the weights freely — what does the license say?The MiniMax H3 Community License — a custom license, not a standard open-source one (GitHub metadata lists none). The README stresses moderation doesn't remove your obligations for lawful use under it.
Can I run the open checkpoints on my own hardware?No hardware requirements are listed, but H3-Base is a 33B-parameter dense transformer, and about 13B of those (AdaLN branches) can be skipped at inference — still not a laptop model, expect serious GPU memory.
What can I feed it besides a text prompt?Two input modes: H3-Base-FL2VA takes zero, one or two images (pure text-to-video, first- or last-frame, or first-and-last-frame). H3-Base-Ref2VA accepts mixed references: up to 9 images, 3 video clips and 3 audio clips, 12 files total.
What is H3-Context-IR?A hosted preprocessing service that parses your prompt and reference media, reasons across modalities, and rewrites it into a structured Context Intermediate Representation H3-Base generates from. It's closed-source — call its API or follow the Prompting Guidance to build your own.
How does the 2K output work?Not classic super-resolution: H3-Regenerate-2K feeds the 768p result plus the original context back into the model and regenerates at 2K, recovering fine details instead of guessing them. The module isn't open yet; an API validates the official workflow.
What are the nine bundled skills?One is h3-prompt-writing, a portable Markdown skill with two prompt guides that runs in Claude Code, Claude Agent SDK, Cursor, Windsurf, Codex and LangChain. The other eight are style-specific generators for the MiniMax Hub canvas — product ads, 3D animation shorts, papercraft explainers, music videos and more — not portable.
Creator
MiniMax-AI
Size
91 MB
Stars
10.1K
Updated
CommitAug 15
Age
2mo
Commits · 90 Days