ComfyUI Node
Mask & Latent
A ComfyUI node in Utility-MegaPack with 25 inputs and 3 outputs.
Mask & Latent
- image
- mask
- a
- latent
- mask
- latent
- info
◄modelatent_inspect►
◄theme(use pack default)►
◄r1.00►
◄g0.00►
◄b0.00►
◄tolerance0.05►
◄kernel_size3►
◄radius4.00►
◄combine_opunion►
◄min_value0.00►
◄max_value0.50►
◄invertfalse►
◄math_opblend►
◄weight0.50►
◄strength0.10►
◄seed-1►
◄scale1.50►
◄on_nanraise►
◄target_h64►
◄target_w64►
◄fill_value0.00►
CategoryUtility-MegaPack
Inputs (25)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | latent_inspect | 14 options: latent_inspect, latent_math, latent_nan_guard, latent_noise_inject, latent_pad_crop, latent_upscale_smart, +8 |
| theme | COMBO | (use pack default) | 17 options: (use pack default), (use ComfyUI default), cyberpunk, minimalist, glassmorphic, retro_terminal, +11 |
| imageopt | IMAGE | — | |
| ropt | FLOAT | 1.000–1 | — |
| gopt | FLOAT | 0.000–1 | — |
| bopt | FLOAT | 0.000–1 | — |
| toleranceopt | FLOAT | 0.050–1 | — |
| maskopt | MASK | — | |
| kernel_sizeopt | INT | 31–32 | — |
| radiusopt | FLOAT | 4.000.1–100 | — |
| aopt | MASK | — | |
| combine_opopt | COMBO | union | 4 options: union, intersect, diff, xor |
| min_valueopt | FLOAT | 0.000–1 | — |
| max_valueopt | FLOAT | 0.500–1 | — |
| invertopt | BOOLEAN | false | — |
| latentopt | LATENT | — | |
| math_opopt | COMBO | blend | 3 options: add, subtract, blend |
| weightopt | FLOAT | 0.500–1 | — |
| strengthopt | FLOAT | 0.100–2 | — |
| seedopt | INT | -1-1–4294967295 | — |
| scaleopt | FLOAT | 1.500.25–8 | — |
| on_nanopt | COMBO | raise | 3 options: raise, zero_out, clamp |
| target_hopt | INT | 641–4096 | — |
| target_wopt | INT | 641–4096 | — |
| fill_valueopt | FLOAT | 0.00-10–10 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| latent | LATENT | — |
| info | DICT | — |