ComfyUI Node
Mpi LanPaint Image Encode
Encode an image and attach an inpainting mask to the latent (replaces VAEEncode + SetLatentNoiseMask).
Mpi LanPaint Image Encode
- image
- vae
- mask
- latent
CategoryMpiNodes/Sampling
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The image to encode (1 = regenerate region comes from the mask). | |
| vae | VAE | The VAE. | |
| maskopt | MASK | Inpainting mask [H, W] (1 = regenerate, 0 = keep). Snapped to the latent size automatically. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | — |