An exhaustive technical manual covering MiniMax H3 architecture, HuggingFace weights, ComfyUI integration, system requirements, prompt engineering, local hardware optimization, and cloud deployment.
The MiniMax H3 open weight release marks a major shift in open-access media generation. Developed as an omni-modal foundation architecture, this video model synthesizes 2K resolution video sequences at 24 frames per second alongside native stereo audio in a single execution pass. In contrast to traditional pipeline systems that process video frames separately from audio tracks, MiniMax H3 integrates audio-video joint diffusion, ensuring temporal alignment between dialogue, environmental sound effects, and motion.
For independent creators, machine learning developers, and digital studios, MiniMax H3 provides raw model weights that can be executed on consumer hardware or scalable cloud platforms. By offering direct access to the neural network architecture, creators gain total control over generation parameters, local data privacy, and custom pipeline modifications.
Generates high-definition video at 24 frames per second with precise temporal continuity across 15-second rendering cycles.
Synthesizes 32 kHz dual-channel audio directly within the main diffusion pass without external lip-sync post-processing.
Processes text prompts, static images, reference video clips, and audio tracks in a single context window.
The open release on huggingface allows researchers and enthusiasts to inspect model layers, convert precision formats, and build custom node extensions for frameworks such as comfyui. Below, we break down every aspect of setting up, prompt structuring, hardware configuration, and fine-tuning MiniMax H3 for production workflows.
In practical applications, MiniMax H3 eliminates the need for multi-stage rendering pipelines. Traditional AI video workflows required generating silent video clips first, passing the frames to an image-to-video upscaler, running lip-sync algorithms on character mouths, and finally superimposing separately generated audio tracks. MiniMax H3 simplifies this process into a unified diffusion model, generating synchronized speech, ambient room sound, and frame movement within a single sampler execution run.
At the core of MiniMax H3 lies a 33-billion parameter dense Omni-Transformer Diffusion Backbone (DiT) operating across 50 dedicated attention layers. When factoring in the semantic text encoder and autoencoder systems, the total active parameter count reaches approximately 69.2 billion parameters during full precision evaluation.
| Component Name | Parameter Count | Primary Function | Output Format / Compression |
|---|---|---|---|
| Qwen3-VL-32B Encoder | 32.0 Billion | High-level semantic text and image context extraction | Multimodal Embeddings |
| Omni-DiT Denoiser | 33.0 Billion | Joint audio-video latent noise prediction over 50 layers | Combined Latent Stream |
| Spatial-Temporal VAE | 2.1 Billion | Decodes video latents into high-resolution image frames | 16x Spatial / 4x Temporal Compression |
| Audio Stereo VAE | 2.1 Billion | Decodes audio latents into 32 kHz waveform signals | 40 Hz Latent Stream / Dual Channel |
The architectural design relies on a dual-sigma rectified flow formulation. During inference, noise tensors representing both video frame latents and audio waveform latents are concatenated within the unified latent space. As denoising steps progress, the transformer balances spatial detail, movement trajectories, speech patterns, and background acoustic environments simultaneously.
MiniMax H3 incorporates a modified 32-billion parameter Qwen3 vision-language model to process input prompts. This enables remarkable spatial comprehension, complex action interpretation, and multilingual dialogue generation across 11 languages (including English, Mandarin, Japanese, Spanish, and German).
Because the text encoder is a massive 32B model, memory management during inference relies on sequential offloading. Once the text prompt is tokenized and embedded into feature matrices, the text encoder can be temporarily unloaded from GPU VRAM to make room for the main 33B DiT denoiser.
Rectified flow formulation models straight-line trajectories between data
distributions and Gaussian noise vectors. By parameterizing the vector field along a linear
interpolation path X_t = t * X_1 + (1 - t) * X_0, the network learns vector
directions that minimize transport cost. In MiniMax H3, this trajectory optimization applies
jointly to spatial video latents and temporal audio latents, resulting in faster convergence
with fewer ODE integration steps compared to standard DDPM or DDIM schedulers.
# Conceptual Rectified Flow Dual-Latent Denoising Loop
import torch
def dual_sigma_rectified_flow_step(model, video_latents, audio_latents, t, text_embeds):
# Concatenate video latents (B, C, T, H, W) and audio latents (B, C_a, T_a)
joint_latent_input = model.context_bridge(video_latents, audio_latents)
# Predict velocity vectors for both modalities jointly
velocity_pred_video, velocity_pred_audio = model(joint_latent_input, t, text_embeds)
# Update latents along linear vector trajectory
dt = 1.0 / num_inference_steps
updated_video = video_latents + velocity_pred_video * dt
updated_audio = audio_latents + velocity_pred_audio * dt
return updated_video, updated_audio
Accessing the official minimax h3 huggingface repository requires understanding the file structure, weight distribution formats, and repository organization. MiniMax distributes both raw FP16/BF16 weights and compressed quantized variants tailored for consumer hardware.
The model files on HuggingFace are grouped under `MiniMaxAI/MiniMax-H3`. The main repository branches include:
To download the official weights to your local storage or cloud instance, run the following terminal command script using the HuggingFace CLI client:
# Install HuggingFace Hub CLI
pip install -U huggingface_hub
# Download full model directory to local folder
huggingface-cli download MiniMaxAI/MiniMax-H3 --local-dir ./models/MiniMax-H3 --local-dir-use-symlinks False
# Alternatively, download single-file FP8 quantized weights for ComfyUI
huggingface-cli download HM-RunningHub/ComfyUI_RH_MinMaxH3 minimax_h3_fp8_e4m3fn.safetensors --local-dir ./ComfyUI/models/checkpoints/
BF16 (Bfloat16): Uncompressed 16-bit floating point format. Requires 66GB+ GPU memory for the DiT alone. Recommended only for high-end server clusters (A100 80GB, H100).
FP8 (E4M3FN): 8-bit floating point format with minimal quality degradation. Reduces DiT memory footprint to ~34GB, making it suitable for single 48GB GPUs (RTX 6000 Ada, A6000) or 24GB GPUs with layer offloading.
INT8 (Integer Quantization): Highly compressed format reducing the DiT to ~18GB VRAM. Enables execution on 24GB consumer graphics cards like the NVIDIA RTX 3090, RTX 4090, or even 16GB cards using memory swapping.
All official model files adopt the Safetensors format developed by HuggingFace. Safetensors prevents arbitrary code execution hazards inherent in legacy PyTorch `.ckpt` or `.pt` pickle files. Before running inference on new checkpoints, developers can verify SHA256 file integrity using standard checksum tools:
# SHA256 Checksum verification on Linux / macOS
sha256sum ./models/MiniMax-H3/dit/model-00001-of-00004.safetensors
# Verification output matching HuggingFace repository commit hashes
# Output: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Running a 69.2B parameter multi-modal video model locally demands clear understanding of hardware constraints. Your setup requires adequate GPU VRAM, system RAM, CPU core count, and fast storage bandwidth for loading multi-gigabyte tensor checkpoints.
| Tier Level | GPU VRAM | System RAM | Recommended GPU Models | Precision & Optimization | Avg. Render Time (5s Clip) |
|---|---|---|---|---|---|
| Minimum Entry | 16 GB VRAM | 64 GB DDR5 | RTX 4070 Ti (16GB), RTX 3080 Ti (16GB) | INT8 Quant + CPU Offload + SageAttention | 12 - 18 Minutes |
| Recommended Consumer | 24 GB VRAM | 64 GB DDR5 | RTX 3090 (24GB), RTX 4090 (24GB) | INT8 / FP8 Hybrid + Sequential Offload | 4 - 7 Minutes |
| High Performance Workstation | 48 GB VRAM | 128 GB DDR5 | RTX A6000 (48GB), RTX 6000 Ada (48GB) | FP8 Full Precision + VRAM Resident | 90 - 150 Seconds |
| Cloud / Server Node | 80 GB VRAM | 256 GB ECC DDR5 | NVIDIA A100 (80GB), H100 (80GB) | BF16 Uncompressed Native Flow | 25 - 45 Seconds |
| GPU Model | VRAM Capacity | Memory Bandwidth | Quantization Precision | Denoising Speed (it/s) | 5s Clip Total Render Time |
|---|---|---|---|---|---|
| NVIDIA RTX 3060 | 12 GB GDDR6 | 360 GB/s | INT4 Aggressive + Offload | 0.08 it/s | 26.5 Minutes |
| NVIDIA RTX 4070 Ti Super | 16 GB GDDR6X | 672 GB/s | INT8 + Offload | 0.22 it/s | 13.2 Minutes |
| NVIDIA RTX 3090 | 24 GB GDDR6X | 936 GB/s | INT8 AWQ | 0.58 it/s | 5.8 Minutes |
| NVIDIA RTX 4090 | 24 GB GDDR6X | 1,008 GB/s | FP8 E4M3FN | 0.95 it/s | 3.6 Minutes |
| NVIDIA RTX A6000 | 48 GB GDDR6 | 768 GB/s | FP8 Full Resident | 1.45 it/s | 2.2 Minutes |
| NVIDIA RTX 6000 Ada | 48 GB GDDR6 | 960 GB/s | FP8 Full Resident | 2.10 it/s | 92 Seconds |
| NVIDIA A100 SXM4 | 80 GB HBM2e | 2,039 GB/s | BF16 Uncompressed | 3.80 it/s | 42 Seconds |
| NVIDIA H100 SXM5 | 80 GB HBM3 | 3,350 GB/s | BF16 Uncompressed | 6.50 it/s | 24 Seconds |
Rather than loading all 50 attention layers of the 33B DiT into GPU memory at once, sequential offloading keeps inactive layers in system CPU RAM, loading each layer onto GPU memory only during its compute step. This drops VRAM demand significantly at the cost of PCIe transfer time.
The Qwen3-VL-32B text encoder executes its forward pass on system memory using AVX-512 CPU instructions. Once prompt tokens are processed, the resulting prompt embeddings (size 4096x4096) are passed to the GPU, freeing memory completely for denoising.
SageAttention replaces standard scaled dot-product attention kernels with optimized 8-bit matrix multiplication routines. Enabling SageAttention speeds up iteration steps by 20% to 30% while reducing peak attention memory overhead during long sequence processing.
Using comfyui is the most practical way to run MiniMax H3 on local systems. ComfyUI's node architecture handles memory swapping, checkpoint loading, VAE decoding, and audio generation smoothly. Ensure your ComfyUI installation is updated to version 0.30.0 or higher before proceeding.
Open your terminal inside the `ComfyUI/custom_nodes/` directory and execute the setup script below:
# Change directory to ComfyUI custom_nodes folder
cd ComfyUI/custom_nodes/
# Clone the custom node repository for MiniMax H3
git clone https://github.com/HM-RunningHub/ComfyUI_RH_MinMaxH3.git
# Install required Python dependencies
cd ComfyUI_RH_MinMaxH3
pip install -r requirements.txt
# Download SageAttention for fast attention compute
pip install sageattention
Place downloaded model files into their respective folders within ComfyUI:
ComfyUI/
├── models/
│ ├── checkpoints/
│ │ └── minimax_h3_fp8_e4m3fn.safetensors
│ ├── text_encoders/
│ │ └── Qwen3-VL-32B-Instruct/
│ ├── vae/
│ │ ├── minimax_spatial_vae.safetensors
│ │ └── minimax_audio_vae.safetensors
│ └── MiniMax-H3/
│ └── model_index.json
| Node Title | Input Pins | Output Pins | Description & Purpose |
|---|---|---|---|
MiniMaxH3ModelLoader |
Path, Precision (FP8/INT8), Offload Mode | MODEL, CLIP_TEXT_ENCODER | Loads DiT transformer weights into active GPU or CPU system memory. |
MiniMaxTextEncoderLoader |
Qwen3 Folder Path, Device (CPU/GPU) | CONDITIONING_PROMPT | Evaluates text prompts and context images to generate vector embeddings. |
MiniMaxSampler |
MODEL, CONDITIONING, Steps, CFG, Seed | LATENT_VIDEO, LATENT_AUDIO | Executes joint dual-sigma rectified flow denoising steps across combined latents. |
MiniMaxSpatialVaeDecode |
LATENT_VIDEO, Spatial VAE, Tile Size | IMAGE_FRAMES | Converts 4D video latent tensors into RGB pixel arrays at target resolution. |
MiniMaxAudioVaeDecode |
LATENT_AUDIO, Audio VAE, Sample Rate | AUDIO_WAVEFORM | Decodes 40 Hz audio latent channels into 32 kHz dual-channel PCM audio streams. |
VRAMCleanupNode |
Execution Trigger, Target VRAM Limit | PASSTHROUGH_SIGNAL | Forces Python garbage collection and CUDA cache flushing between sampler runs. |
In the T2V workflow, your text prompt guides both motion trajectories and dialogue synthesis. Use the `MiniMaxH3ModelLoader` node to select the FP8 checkpoint, connect the output to the `MiniMaxSampler` node, set resolution to 1280x720 or 1920x1080, and feed the latent outputs to both the Spatial VAE Decode and Audio VAE Decode nodes.
The I2V node setup takes a starting image input (Load Image node) and encodes it through the Spatial VAE into initial latent conditions. MiniMax H3 excels at taking static portraits, landscapes, or product graphics and animating them according to your prompt description.
Pro Tip: Connect both a starting frame image and an ending frame image to the `MiniMaxInContextNode` to lock character appearance and emotional shifts across the clip.
R2V allows feeding up to 9 reference images, 3 short video clips, and 3 audio samples into the generator. The Qwen3-VL text encoder extracts character features, costume details, lighting styles, and vocal tone, preserving consistency across multiple generated scenes.
When local VRAM is limited, cloud infrastructure services like RunPod offer instant access to high-capacity GPUs (A100 80GB, H100 80GB). Cloud deployment allows running MiniMax H3 in full uncompressed BF16 precision, producing 2K video clips in under 30 seconds.
Follow these step-by-step instructions to configure a RunPod pod for MiniMax H3 inference:
Choose an instance with at least 1x NVIDIA A100 (80GB PCIe/SXM4) or 1x NVIDIA H100 (80GB). Select the PyTorch 2.4.0 / CUDA 12.4 base image template with 100 GB container disk space and 200 GB volume storage.
Once your pod starts, launch the web terminal and run the environment preparation commands:
# Update system packages and install Git LFS
apt-get update && apt-get install -y git-lfs ffmpeg
# Create working directory on persistent volume
cd /workspace
git clone https://github.com/vllm-project/vllm-omni.git
cd vllm-omni
# Install vLLM-Omni engine with MiniMax H3 backends
pip install -e .
pip install flash-attn --no-build-isolation
Start the high-throughput vLLM-Omni inference engine to expose OpenAI-compatible REST endpoints for video generation:
# Launch vLLM-Omni server on port 8000
python3 -m vllm_omni.entrypoints.openai.api_server \
--model MiniMaxAI/MiniMax-H3 \
--tensor-parallel-size 1 \
--max-model-len 8192 \
--port 8000 \
--gpu-memory-fraction 0.95
Once the server is operational, trigger asynchronous video generation tasks using standard HTTP requests from your Python applications:
import requests
import json
url = "http://localhost:8000/v1/omni/generations"
payload = {
"model": "MiniMaxAI/MiniMax-H3",
"prompt": "[0s-3s] Slow zoom shot of an elder artisan crafting pottery in a dimly lit studio. Audio: sound of wet clay shaping on wheel and soft classical music.",
"resolution": "1920x1080",
"fps": 24,
"duration": 5.0,
"guidance_scale": 4.5,
"num_inference_steps": 30
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, data=json.dumps(payload), headers=headers)
print("Generation Response:", response.json())
Mastering prompt creation is essential for getting high quality output from MiniMax H3. Because this model processes video and audio together, treat your prompts as shot scripts or scene timelines rather than simple image descriptions. This structured approach is central to effective prompt guide practices.
Structure your text prompt using time markers, camera directives, subject action descriptions, and explicit audio prompts:
[Time Marker] + [Camera Motion & Framing] + [Subject Action & Scene Detail] + [Lighting & Style] + [Audio Cue & Speech Script]
Prompt:
[0s-3s] Medium shot of a cyborg hacker sitting at a glowing glass terminal inside a rain-swept neon tower in Neo-Tokyo. Holographic data streams reflect across polished metallic shoulder armor. [3s-6s] He tilts his head toward the lens, his mechanical eye focusing with a blue iris glow. Camera slowly pans right. Audio: Low industrial hum, rain beating against glass, and a synthesized voice stating: "System override initialized."
Prompt:
[0s-3s] Wide establishing shot of a 19th-century Victorian library filled with leather-bound books and warm candlelight. An archivist carefully unfolds a parchment map. [3s-6s] Camera tracks smoothly along the oak table as dust motes float through sunbeams. Audio: Soft crackle of fireplace logs, paper rustling, and quiet grandfather clock ticking in background.
Prompt:
[0s-3s] Low-angle tracking shot following a majestic eagle soaring across snow-capped alpine mountains during golden hour sunset. Warm sunlight illuminates feather edges. [3s-6s] Eagle tilts wing to swoop down over a tranquil mountain lake, sending ripples across the water surface. Audio: Crisp mountain wind rushing, distant hawk cry, and gentle water splashing sound effects.
Prompt:
[0s-4s] High-key studio lighting shot of a sleek matte-black smartwatch resting on a polished marble pedestal. [4s-7s] Camera circles around the watch 360 degrees as the digital screen illuminates with a futuristic neon interface glowing softly. Audio: Subtle electronic hum tone accompanied by a smooth ambient synth pad chime.
Prompt:
[0s-3s] 8-bit retro pixel art canvas depicting a small ginger kitten walking along a busy arcade street at twilight. Neon shop signs glow in pixelated magenta and cyan tones. [3s-6s] Kitten pauses to look up at a bouncing star sprite floating above a storefront. Audio: Upbeat 8-bit chiptune background music with retro coin pickup sound effects.
Prompt:
[0s-4s] Slow forward dolly shot entering a minimalist Scandinavian living room with floor-to-ceiling panoramic windows looking out over a pine forest. [4s-8s] Morning sunlight streams across a light oak floor and linen sofa. Audio: Soft breeze rustling pine trees outside and acoustic guitar melody playing softly.
| Camera Command Keyword | Expected Motion Trajectory | Best Use Case |
|---|---|---|
Slow Push-in Zoom |
Gradually narrows focal length toward subject face | Dramatic emotional reveals, character focus |
Horizontal Trucking Shot |
Parallel camera movement from left to right along a track | Following walking characters, street scenes |
Low-angle Orbit |
Rotates smoothly around subject from knee-height perspective | Hero reveals, product showcases, action poses |
Static Crane Down |
Lowers camera height vertically while keeping tilt angle fixed | Establishing architectural scale, urban entry |
Dutch Angle Tilt |
Inclines camera axis 15 degrees off horizontal balance | Tension, disorientation, psychological thrillers |
Include these negative prompt terms in your ComfyUI negative clip text encoders to prevent common rendering artifacts:
static frozen video, flickering lighting, distorted facial features, extra limbs, unnatural hand geometry, warped text captions, crushed black shadow detail, out-of-sync lip motion, robotic voice artifact, clipping audio distortion, blurry background texture.
Beyond initial generation, MiniMax H3 supports advanced in-context editing capabilities. This allows creators to maintain character consistency across multiple video clips, extend existing sequences, or alter background environments without losing subject identity.
By providing both an initial image frame and a final target image frame to the Spatial VAE encoder, MiniMax H3 calculates the most plausible motion trajectory and transformation path between the two points. This technique ensures continuous character identity and clean scene transitions when stitching multiple scenes together for long-form film production.
To extend a 5-second video clip into a 15-second sequence:
[5s-10s].
The Spatial VAE decoder can sometimes produce slightly muted black levels in low-light night scenes. To restore deep contrast:
Evaluating open-weight video generators requires analyzing parameter efficiency, modal output capabilities, VRAM consumption, and license restrictions. The comparison matrix below details how MiniMax H3 measures against major open-access video generation models.
| Model Name | Active Parameter Size | Native Audio Synthesis | Max Output Resolution | Min. VRAM (Quantized) | License Type |
|---|---|---|---|---|---|
| MiniMax H3 | 69.2B (33B DiT + 32B Text) | Yes (32 kHz Stereo) | 2K (2048x1152 @ 24 FPS) | 16 GB (INT8) | Community Permissive ($1M Rev Cap) |
| CogVideoX-5B | 5.0B Parameters | No (Silent Output) | 720p (1280x720 @ 16 FPS) | 12 GB (FP8) | Apache 2.0 Open Source |
| Mochi-1 | 10.0B Parameters | No (Silent Output) | 480p (848x480 @ 30 FPS) | 14 GB (INT8) | Apache 2.0 Open Source |
| HunyuanVideo | 13.0B Parameters | No (Silent Output) | 720p (1280x720 @ 24 FPS) | 16 GB (FP8) | Tencent Commercial License |
| LTX-Video | 2.0B Parameters | No (Silent Output) | 512p (768x512 @ 24 FPS) | 8 GB (FP16) | Apache 2.0 Open Source |
As shown in the comparative matrix, MiniMax H3 is unique among open-weight release models by integrating full stereo audio synthesis natively within the core diffusion model, whereas competing architectures require secondary audio inference servers and independent post-processing steps.
Deploying large multimodal generative models often presents performance bottlenecks. Here are clear solutions for the most frequent execution errors encountered during local and cloud runs.
Root Cause: Decoding 2K video latents across 360 frames requires massive VRAM buffers during spatial decoding.
Fix: Enable tiled VAE decoding in your ComfyUI workflow by adding the `VRAM-Cleanup` node. Set tile size to 512x512 with a 64px overlap margin. This breaks decoding memory into small chunks, preventing VRAM overflow on 16GB and 24GB GPUs.
Root Cause: Standard CFG guidance scale is too low, or text prompt lacks explicit audio directives.
Fix: Ensure your text prompt contains clear `Audio:` instructions. Increase `guidance_scale` parameter to at least 4.0. Verify that the Audio VAE decoder node is connected to the second latent output channel of the sampler.
Root Cause: Too few sampler inference steps or unstable random seed initializations.
Fix: Increase sampler steps from 20 up to 30 steps. Switch sampler algorithm to `DPM++ 2M Uniform` or `Euler Ancestral`. If morphing persists, supply a clear starting image frame to anchor character features.
Root Cause: Loading 60GB+ checkpoint shards from traditional mechanical hard drives (HDD).
Fix: Store model checkpoints on PCIe Gen4 or Gen5 NVMe M.2 Solid State Drives. High sequential read speeds (5000+ MB/s) reduce model load times from 8 minutes down to under 12 seconds.
Before integrating MiniMax H3 into commercial software applications or media production pipelines, creators should review the official MiniMax H3 Community License Agreement available on HuggingFace.
Yes. Using INT8 quantized weights and ComfyUI layer offloading, MiniMax H3 runs on 24GB GPUs like the NVIDIA RTX 3090 or RTX 4090, as well as 16GB cards with CPU RAM swapping enabled.
Model weights are hosted on HuggingFace under `MiniMaxAI/MiniMax-H3`. Single-file community checkpoints for ComfyUI are available under `HM-RunningHub/ComfyUI_RH_MinMaxH3`.
Audio is generated simultaneously with video latents using a joint dual-sigma rectified flow model. The audio stream is then decoded into 32 kHz stereo sound via a dedicated Audio VAE.
MiniMax H3 generates native 768p and 1080p video sequences, which can be upscaled up to 2K resolution (2048x1152) using spatial VAE upscaling nodes or API post-processors.
The integrated Qwen3-VL-32B text encoder supports dialogue generation across 11 major languages including English, Mandarin Chinese, Japanese, Spanish, French, and German.
Yes, ComfyUI version 0.30.0 or higher is required because earlier versions lack support for dual latent stream decoding and multi-modal tensor node routing.
Enabling SageAttention reduces attention matrix memory usage and increases inference step generation speed by 20% to 30% on Ampere and Ada Lovelace GPUs.
Yes. By feeding video frames into the Spatial VAE as reference inputs, you can alter lighting styles, change backgrounds, or extend clip duration while preserving subject consistency.
Download model weights from HuggingFace, configure your ComfyUI environment, and explore the capabilities of open-weight omni-modal video synthesis.
Return Home Visit HuggingFace Repo