✦
Summary
Lama Cleaner, now renamed IOPaint, is a free and open-source image inpainting and outpainting tool powered by state-of-the-art AI models. It removes unwanted objects, defects, watermarks, or people from pictures, or erases and replaces anything in an image, and it runs fully self-hosted on CPU, GPU, or Apple Silicon. The GitHub repository is archived, with the project continuing as IOPaint.
Key Features
Free and open-source image inpainting and outpainting, fully self-hosted
Erase models such as LaMa to remove objects, defects, watermarks, and people
Diffusion models for object replacement and outpainting, including Stable Diffusion inpainting and PowerPaint
Segment Anything plugin for accurate interactive object segmentation
RemoveBG and anime segmentation plugins for background removal and masks
RealESRGAN super-resolution and GFPGAN/RestoreFormer face restoration plugins
Web interface plus command-line batch processing
Automatic model downloads from Hugging Face
Runs on CPU, GPU, and Apple Silicon, with a Windows one-click installer and Docker image
OptiClean companion app for macOS and iOS object erasing
About Lama Cleaner
The tool offers erase models such as LaMa for removing unwanted elements, and diffusion models including Stable Diffusion inpainting, PowerPaint, and BrushNet for replacing objects or outpainting beyond an image's edges. Plugins add interactive object segmentation with Segment Anything, background removal, anime segmentation, super-resolution with RealESRGAN, and face restoration with GFPGAN and RestoreFormer. A web interface makes it easy to use, models download automatically from Hugging Face, and a command-line mode supports batch processing of image folders.
Lama Cleaner / IOPaint is aimed at image editors, content creators, researchers, and anyone cleaning up image datasets for machine learning. It installs with a single pip command or a Windows one-click installer, is licensed under Apache 2.0, and also ships as a Docker image and as the OptiClean app for macOS and iOS.