EditUtils: Minimax H3 Image Edit Apply (Model Check) lrzjason
The H3I node that patches nothing — and why you might still want it
- model
- model
Every other "Edit Apply" node in this pack rewrites something. This one doesn't. Connect it and the tensor you get back is the tensor you sent in, minus a few lines of console output. That's not a bug in a half-finished release - it's the point, and knowing why saves you from wiring it into a graph that doesn't need it.
Why a no-op node exists
MiniMax-H3-Image consumes reference latents natively. ComfyUI's own model_base.MiniMaxH3Image reads the minimax_refs conditioning key, packs the layout as [text | references | target], re-injects the reference rows at t=0.999 every step, and predicts with the checkpoint's PDD head for the current sigma. Nothing is missing from the forward pass, so there's nothing for a third party to patch.
Contrast that with the pack's MOSS-Image and FLUX.2 Klein routes, where the DiT genuinely has no reference slot and a forward rewrite is required. H3-Image doesn't need one. So this node is a guard, not a patch. Its own tooltip is honest about it: connect only the model wire.
How it works
It reaches into the model and looks for three things: pdd_sigmas (the head bank that makes it a PDD distill), audio_latents_dim being None (no audio stream, unlike the H3 video model), and video_patch_proj. All three present means it's the image model and the references will land. Anything else and it either raises or warns.
With debug_log on it also prints the facts you'd otherwise hunt through the source for: the checkpoint's PDD sigma grid, the step count that grid implies (len(grid) - 1, six for the released checkpoint), and the CFG contract.
Inputs and outputs
Required: model. Optional: debug_log (default on - unusual, and a sign this node is for diagnosing) and strict (default on).
strict=True raises a ValueError when the connected model isn't a MiniMax-H3-Image checkpoint. Set it to False and the node prints the same message and passes the model through untouched - useful if you're sharing one graph across several model families and don't want it to die on the others.
Output: model, which goes on to the sampler. That's the whole interface.
What the log tells you
[MinimaxH3ImageEditApply] MiniMax-H3-Image model detected.
[MinimaxH3ImageEditApply] PDD sigma grid: [...] -> sample with exactly 6 steps (KSampler steps=6).
[MinimaxH3ImageEditApply] CFG is baked into the checkpoint: use cfg=1.0 and a zeroed-out
(ConditioningZeroOut) negative.
If you've been running 20 steps and CFG 3.5 because that's what your last graph said, this node is how you find out. H3-Image is a 6-step distill on a fixed 7-point sigma grid; other step counts interpolate off-grid. The "guidance" is inside the weights, so the negative only has to exist - ConditioningZeroOut on the positive is enough.
Wiring
You don't need it. The pack's example workflow leaves it out entirely:
UNETLoader (minimax_h3_image_pruned_w4a8) ──► KSampler ──► VAEDecode ──► SaveImage
Add it between the loader and the sampler when you want the contract printed, or when you're mixing model families in one graph. It'll cost you one clone and a couple of console lines.
Installing
cd ComfyUI/custom_nodes
git clone https://github.com/lrzjason/ComfyUI-EditUtils
# restart ComfyUI
Or search ComfyUI-EditUtils in ComfyUI Manager. No pip dependencies - the pack ships none and relies on ComfyUI core. H3-Image support was added to the pack in November 2026 and requires a ComfyUI build with native image_model="minimax_h3_image" and a minimax CLIP type; without that, none of these nodes have a model to check.
Common issues
It raises on a perfectly good H3 model. You're probably on the H3 video model (minimax_h3), which has an audio stream and no video_patch_proj. That model ignores minimax_refs entirely - exactly the silent failure this check exists to convert into a loud one. Load the H3-Image checkpoint instead.
It doesn't fix anything. Correct, it never will. If your references aren't showing up, the problem is upstream: a preparer with to_ref off, a missing minimax_refs on the conditioning (check MinimaxH3ImageOutputExtractor_EditUtils), or a target latent outside the 4–20 MP range H3I was trained for.
Every render prints the same four lines. Set debug_log off once you've stopped needing them.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| debug_logopt | BOOLEAN | true | — |
| strictopt | BOOLEAN | true | Raise instead of warning when the model is not a MiniMax-H3-Image model. Disable to pass the model through unchanged. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| model | MODEL | — |