Nodes/ComfyUI_StarNodes/⭐ Star Minimax H3 Image Inpainter
ComfyUI Node

⭐ Star Minimax H3 Image Inpainter

Image inpainting with the MiniMax H3 model in its native single-frame image mode - the ⭐ Star Flux2/Qwen-Image-Edit Inpainter workflow for H3: the mask's context area is cropped, VAE-encoded into the packed AV latent and sampled with the model's native per-token denoise mask (preserved rows are pinned to the source, masked rows regenerate at mask * sigma, so soft mask edges blend natively). The decoded still is stitched back with a blended mask edge. The source image is presented as <Picture 1> - blanked at the mask (inpaint convention) or untouched, selectable; extra reference images become <Picture 2>, <Picture 3>, ... Connect the H3 diffusion model (UNETLoader, or a Star Minimax AIO MODEL output), the minimax text encoder (Qwen3-VL) and the H3 video VAE.

By Starnodes2024·Created 2 years ago·Updated 6 days ago· 120
⭐ Star Minimax H3 Image Inpainter
  • model
  • clip
  • vae
  • image
  • mask
  • ref_images
  • sigmas
  • preview
  • IMAGE
  • LATENT
  • MASK
  • seed
◄prompt—►
◄referencemasked source►
◄megapixelsnative►
◄seed0►
◄steps20►
◄cfg1.0►
◄sampler_nameres_multistep►
◄schedulersimple►
◄denoise1.00►
◄negative_prompt►
◄expand_pixels32►
◄mask_blur16.0►
◄blend_pixels16.0►
◄ref_image_sizematch►
Category⭐StarNodes/Sampler

Inputs (22)

NameTypeDefaultDescription
modelMODELMiniMax H3 diffusion model (e.g. from UNETLoader or a ⭐ Star Minimax All In One MODEL output).
clipCLIPThe MiniMax H3 text encoder (Qwen3-VL-32B, clip type 'minimax').
vaeVAEThe MiniMax H3 video VAE (e.g. minimax_h3_video_vae_fp16).
imageIMAGE—
maskMASK1/white marks the regions to regenerate.
promptSTRINGWhat to generate in the masked area. The source image is <Picture 1>, extra reference images are <Picture 2>, <Picture 3>, ...
referenceCOMBOmasked sourceHow the source crop enters the conditioning as <Picture 1>: 'masked source' shows it with the inpaint area blanked to gray (the mask's hole signals what to fill), 'source' shows it untouched (edit style - the model can see what was there), 'off' sends no picture to the text encoder at all.
megapixelsCOMBOnativeRender resolution of the inpaint crop. 'native' keeps the crop's own pixels; the MP presets rescale crop + mask to that pixel area first - H3 stills hit their quality sweet spot around 3 MP and up. The result is scaled back to the crop size for stitching.
seedINT00–18446744073709550000—
stepsINT201–10000—
cfgFLOAT1.00–100CFG scale. At 1.0 the negative prompt is skipped and the positive-only basic guider is used (the H3 preset).
sampler_nameCOMBOres_multistep44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBOsimple'beta' or 'normal' tends to outperform 'simple' for reference-heavy prompts.
denoiseFLOAT1.000–1—
negative_promptSTRINGNegative prompt - only encoded when cfg differs from 1.0.
expand_pixelsINT320–512Context margin added around the masked area before sampling - more context helps the model blend the fill into the scene.
mask_blurFLOAT16.00–256Grow + blur applied to the denoise mask (same as the Flux2 inpainter's mask blur). Soft edges translate directly into per-row denoise strength on H3.
blend_pixelsFLOAT16.00–256Feather width of the blend mask used when stitching the decoded still back into the original image.
ref_image_sizeCOMBOmatchReference image sizing. 'match' scales each ref (down only, keeping aspect) to the render area; 'max' uses a 2048px short edge for best identity fidelity but is slower.
ref_imagesoptCOMFY_AUTOGROW_V3—
sigmasoptSIGMASOptional exact sigma schedule (e.g. from a '⭐ Star Custom Sigmas' node) - overrides the scheduler, steps and denoise widgets.
previewoptSTAR_PREVIEWOptional live sampling preview from a '⭐ Star Preview' node.

Outputs (4)

NameTypeDescription
IMAGEIMAGEThe original image with the inpainted region stitched back in.
LATENTLATENTThe sampled packed AV latent (NestedTensor video+audio), before decoding.
MASKMASK—
seedINT—