Recently, developer scraed released LanPaint on GitHub, a zero-training image inpainting tool. This tool aims to help users achieve high-quality image inpainting results on any Stable Diffusion (SD) model, including custom-trained models. LanPaint achieves more seamless and accurate results by allowing the model to "think" before denoising through multiple iterations.
One of LanPaint's key features is its zero-training requirement. Users can immediately use the tool on any SD model without a tedious training process. Furthermore, LanPaint integrates seamlessly; users can operate it just like the standard ComfyUI KSampler, resulting in a smooth workflow and significantly lowering the barrier to entry.
Functionally, LanPaint delivers high-quality, seamless inpainting. Users simply download the example files, drag their image into ComfyUI, and use the tool for various inpainting tasks. For example, users can transform a basketball hoop image into a basketball image or change a white shirt into a blue shirt. Various example results showcase LanPaint's power in handling complex images.
Using LanPaint is straightforward. Simply install ComfyUI and ComfyUI-Manager, then add the LanPaint node via search or manual installation. After installation, the LanPaint node will appear in ComfyUI's "Sampling" category, allowing users to perform high-quality image inpainting just like the default KSampler.
During use, note that LanPaint requires a binary mask (values of 0 or 1), and the mask's transparency and hardness must be set to maximum for compatibility. Additionally, LanPaint relies heavily on the user's text prompt; users need to clearly describe the desired content within the masked area.
LanPaint brings revolutionary improvements to the image inpainting field, simplifying the workflow and enhancing inpainting quality, providing users with a more powerful image processing tool.
Project: https://github.com/scraed/LanPaint
Key Highlights:
🎨 Zero-Training Inpainting: Use immediately on any Stable Diffusion model without additional training.
🛠️ Simple Integration: Same workflow as the standard ComfyUI KSampler, lowering the barrier to entry.
🚀 High-Quality Inpainting: Provides high-quality, seamless image inpainting results, supporting various complex inpainting tasks.