- Overview (this page): model capabilities, workflow index, output resolution, and speedups
- Native workflows: Text-to-Video, Image-to-Video, Reference-to-Video, plus advanced native-node techniques
- Multiframe Reference: anchor reference frames at specific points along the output timeline
- Fun ControlNet Union: drive H3 with a control video, or run video inpainting with a mask
- Prompt guide: official MiniMax prompt writing guides, general tips, and prompt embeddings
H3’s open weights let you run the model locally. Commercial use of locally generated outputs requires a MiniMax commercial license, available through Comfy, the only official reseller. Generations on Comfy Cloud already include commercial rights.
Key features
- Native stereo audio: Dialogue, sound effects, and music are generated together with the video, synced in one MP4
- Multimodal context: Text, images, video, and audio references can be combined in one generation
- Reference-driven generation: Lock a character’s identity, a style, a motion, a camera move, or a voice from reference materials
- Instruction following: Describe the relationship between references and the target shot in natural language
- Accurate text rendering: Spelled-out text and brand elements render cleanly
- Open weights: Run locally in ComfyUI with full control over every parameter
Getting started
MiniMax H3 is supported in ComfyUI with open weights. To get started:- Update ComfyUI to version 0.30.0 or later
- Go to Template Library > Video > choose any MiniMax H3 workflow
- Follow the pop-up to download models and run the workflow
Workflow index
The template library currently ships with five example workflows. They are example templates, not an exhaustive list: the model supports more generation modes through the native MiniMax H3 nodes, and you can build additional workflows with them.Text to Video (T2V)
Generate videos from text prompts with native stereo audio
Image to Video (I2V)
Generate videos from an input image, with optional first/last-frame control
Reference to Video (R2V)
Lock in a character, style, motion, camera move, or voice from reference images, videos, and audio
Multiframe Reference
Anchor reference frames at specific points along the output timeline with chained Add Guide nodes
Fun ControlNet Union
Drive H3 with a Canny, Depth, HED, MLSD, or Pose control video, or run video inpainting with a mask
MiniMaxH3ImageToVideo node, and reference-driven generation with images, videos, and audio (ref2va) via the MiniMaxH3ReferenceToVideo node.
For prompt writing resources (official MiniMax guides, general tips, and prompt embeddings), see the prompt guide.
Setting the output resolution
Each workflow uses a Resolution Selector node to control the overall output size. The node computeswidth and height from three settings, and its outputs connect directly to the width and height inputs of the MiniMax H3 node:
- Aspect ratio: Pick a preset such as
16:9 (Widescreen),9:16 (Portrait Widescreen), or1:1 (Square) - Megapixels: Target total pixel count for the output. Higher values give larger frames; lower values run faster
- Multiple: The computed resolution is rounded to the nearest multiple of this number. Keep it at
32to match H3’s resolution grid
0.98 for H3’s native canvas (a 768px short edge, 1344x768 at 16:9), or enter 1344 x 768 directly in the MiniMax H3 node’s width and height inputs (its default). Skip the 1.0 Megapixel step: it yields 1376x768, above the model’s 768x1344 pixel area cap.
Speeding up generation with Sage Attention
The example workflows use the standard attention implementation. You can roughly double the generation speed with Sage Attention, with minimal quality loss. Sage Attention is an optional dependency, so you need to install it yourself:- Install the
sageattentionPython package. Download the wheel that matches your PyTorch and CUDA versions from the SageAttention releases page, then install it withpip install <wheel-file>. - Install the KJNodes custom nodes, which provide the
Patch Sage Attention KJnode. Use the ComfyUI Manager, or clone the repository intoComfyUI/custom_nodes/and restart ComfyUI. - Add a
Patch Sage Attention KJnode to the workflow and connect it between theUNETLoaderand theBasicGuidernode: itsmodelinput receives the model from theUNETLoader, and itsmodeloutput feeds themodelinput of theBasicGuider. Setsage_attentiontoauto. - Run the workflow as usual. Only the guider needs the patch; the scheduler only generates the sigmas and can stay as is.
- Sage Attention requires float16 or bfloat16 tensors. MiniMax H3 runs some layers in other dtypes, so you may see “Input tensors must be in dtype of torch.float16 or torch.bfloat16, using pytorch attention instead” messages in the console. These are expected; the affected layers fall back to standard attention and generation still works.
- Alternatively, you can enable Sage Attention globally by launching ComfyUI with the
--use-sage-attentionflag instead of adding the node.