Floyo
Floyo
Workflows
API
Pricing
Floyo
Floyo
Workflows
API
Pricing
Last updated
2026-06-28

Run hundreds of ComfyUI nodes and workflows in your browser.

ComfyUI and My Files on Floyo

Universally applicable, LanPaint is a high-quality inpainting tool designed for use with any Stable Diffusion model, enhancing the quality of image restoration tasks. Its unique "Think Mode" allows the model to process multiple iterations before finalizing the denoising, resulting in superior inpainting outcomes.

  • Supports a wide range of models including Ideogram4, Krea2, and Z-image, allowing for versatile integration.
  • Requires no training, enabling immediate use with existing models and workflows.
  • Offers advanced features like flexible masking and the ability to generate consistent characters, enhancing creative control.

Context

LanPaint is an extension for ComfyUI that specializes in inpainting, which is the process of reconstructing lost or deteriorated parts of images. This tool leverages advanced diffusion techniques to provide high-quality results without the need for additional training, making it accessible for users looking to enhance their image editing capabilities.

Key Features & Benefits

LanPaint’s core functionality includes universal compatibility with various models, meaning users can apply it without worrying about specific model requirements. The tool operates out of the box, simplifying the user experience and allowing for quick integration into existing workflows. Additionally, its flexible masking capabilities enable users to define any shape or size for inpainting, ensuring precise control over the restoration process.

Advanced Functionalities

One of LanPaint's standout features is its "Think Mode," which allows the model to engage in multiple iterations of reasoning before denoising. This results in more thoughtful and refined inpainting, particularly useful for complex tasks. Furthermore, the tool supports advanced configurations through its KSampler, granting users detailed control over parameters such as thinking depth and content alignment strength.

Practical Benefits

The incorporation of LanPaint into a ComfyUI workflow significantly enhances the efficiency and quality of image restoration tasks. Users benefit from improved control over the inpainting process, resulting in cleaner and more coherent outputs. The tool’s ability to handle various models and its straightforward setup streamline the creative workflow, making it easier to achieve desired results without extensive technical knowledge.

Credits/Acknowledgments

LanPaint is developed by Candi Zheng, Yuan Lan, and Yang Wang, as detailed in their research paper "LanPaint: Training-Free Diffusion Inpainting with Asymptotically Exact and Fast Conditional Sampling," published in the Transactions on Machine Learning Research. The repository is open-source and available under the appropriate license, encouraging community contribution and collaboration.

Inner Nodes

LanPaint_KSampler
LanPaint_KSamplerAdvanced
LanPaint_MaskBlend
LanPaint_SamplerCustom
LanPaint_SamplerCustomAdvanced

Run workflows with this node

Community workflows using LanPaint.