ComfyUI Node
Mpi LanPaint KSampler
Uses the provided model, positive and negative conditioning to denoise the latent image.
Mpi LanPaint KSampler
- model
- positive
- negative
- latent_image
- LATENT
◄seed0►
◄steps30►
◄cfg5.0►
◄sampler_name▾►
◄schedulerkarras►
◄denoise1.00►
◄LanPaint_NumSteps5►
◄LanPaint_PromptMode▾►
◄LanPaint_InfoLanPaint KSampler.►
◄Inpainting_mode🖼️ Image Inpainting►
CategoryMpiNodes/Sampling
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | The model used for denoising the input latent. | |
| seed | INT | 00–18446744073709550000 | The random seed used for creating the noise. |
| steps | INT | 301–10000 | The number of steps used in the denoising process. |
| cfg | FLOAT | 5.00–100 | The Classifier-Free Guidance scale balances creativity and adherence to the prompt. Higher values result in images more closely matching the prompt however too high values will negatively impact quality. |
| sampler_name | COMBO | Recommended: euler. | |
| scheduler | COMBO | karras | The scheduler controls how noise is gradually removed to form the image. |
| positive | CONDITIONING | The conditioning describing the attributes you want to include in the image. | |
| negative | CONDITIONING | The conditioning describing the attributes you want to exclude from the image. | |
| latent_image | LATENT | The latent image to denoise. | |
| denoise | FLOAT | 1.000–1 | The amount of denoising applied, lower values will maintain the structure of the initial image allowing for image to image sampling. |
| LanPaint_NumSteps | INT | 50–100 | The number of steps for the Langevin dynamics, representing the turns of thinking per step. |
| LanPaint_PromptMode | COMBO | Image First: emphasis image quality, Prompt First: emphasis prompt following | |
| LanPaint_Info | STRING | LanPaint KSampler. | For more info, visit https://github.com/scraed/LanPaint. If you find it useful, please give a star ⭐️! |
| Inpainting_mode | COMBO | 🖼️ Image Inpainting | Choose Image mode for photos or Video mode for video frames with temporal consistency |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LATENT | LATENT | The denoised latent. |