Nodes/Utility-MegaPack/Mask & Latent
ComfyUI Node

Mask & Latent

A ComfyUI node in Utility-MegaPack with 25 inputs and 3 outputs.

By IxMxAMAR·Created 3 months ago·Updated 22 days ago· 0
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)

NameTypeDefaultDescription
modeCOMBOlatent_inspect14 options: latent_inspect, latent_math, latent_nan_guard, latent_noise_inject, latent_pad_crop, latent_upscale_smart, +8
themeCOMBO(use pack default)17 options: (use pack default), (use ComfyUI default), cyberpunk, minimalist, glassmorphic, retro_terminal, +11
imageoptIMAGE
roptFLOAT1.000–1
goptFLOAT0.000–1
boptFLOAT0.000–1
toleranceoptFLOAT0.050–1
maskoptMASK
kernel_sizeoptINT31–32
radiusoptFLOAT4.000.1–100
aoptMASK
combine_opoptCOMBOunion4 options: union, intersect, diff, xor
min_valueoptFLOAT0.000–1
max_valueoptFLOAT0.500–1
invertoptBOOLEANfalse
latentoptLATENT
math_opoptCOMBOblend3 options: add, subtract, blend
weightoptFLOAT0.500–1
strengthoptFLOAT0.100–2
seedoptINT-1-1–4294967295
scaleoptFLOAT1.500.25–8
on_nanoptCOMBOraise3 options: raise, zero_out, clamp
target_hoptINT641–4096
target_woptINT641–4096
fill_valueoptFLOAT0.00-10–10

Outputs (3)

NameTypeDescription
maskMASK
latentLATENT
infoDICT