Nodes/ComfyUi-MpiNodes/Mpi LanPaint Image Encode
ComfyUI Node

Mpi LanPaint Image Encode

Encode an image and attach an inpainting mask to the latent (replaces VAEEncode + SetLatentNoiseMask).

By MadPonyInteractive·Created about a year ago·Updated a day ago· 4
Mpi LanPaint Image Encode
  • image
  • vae
  • mask
  • latent
CategoryMpiNodes/Sampling

Inputs (3)

NameTypeDefaultDescription
imageIMAGEThe image to encode (1 = regenerate region comes from the mask).
vaeVAEThe VAE.
maskoptMASKInpainting mask [H, W] (1 = regenerate, 0 = keep). Snapped to the latent size automatically.

Outputs (1)

NameTypeDescription
latentLATENT—