ComfyUI Node
MiniMax H3 Mask Grid Preview & Snap
Shows exactly which 32x32 MiniMax H3 cells a SAM3 or standard ComfyUI mask will edit, and outputs the cell-snapped mask for H3 Set Generation Mask.
MiniMax H3 Mask Grid Preview & Snap
- image
- mask
- snapped_mask
- grid_preview
- grid_info
◄cell_selection▾►
◄cell_adjust0►
◄overlay_opacity0.38►
◄show_gridtrue►
◄show_source_outlinetrue►
Categorylatent/mask/minimax
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The exact resized H3 canvas frames that will be VAE-encoded. Width and height must be divisible by 32 so the displayed cells align with H3. | |
| mask | MASK | Connect SAM3 Detect, SAM3 Track to Mask, a painted mask, or any standard ComfyUI MASK. White is treated as the requested generation area. | |
| cell_selection | COMBO | Runtime exact reproduces H3's latent resize and per-row max decision. Other modes select cells from direct pixel coverage and can be more or less conservative. | |
| cell_adjust | INT | 0-8–8 | Grow with positive values or shrink with negative values, measured in complete 32x32 H3 cells. |
| overlay_opacity | FLOAT | 0.380–1 | Opacity of the orange generated-cell overlay. |
| show_grid | BOOLEAN | true | Draw cyan boundaries for every 32x32 H3 cell. |
| show_source_outline | BOOLEAN | true | Draw the original SAM3 or input-mask boundary in white. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| snapped_mask | MASK | — |
| grid_preview | IMAGE | — |
| grid_info | STRING | — |