# sanster/lama-cleaner

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/sanster-lama-cleaner).**

23,235 stars · 2,478 forks · Python · Apache-2.0 · archived

## Links

- GitHub: https://github.com/Sanster/lama-cleaner
- Homepage: https://www.iopaint.com/
- awesome-repositories: https://awesome-repositories.com/repository/sanster-lama-cleaner.md

## Description

Lama Cleaner is an AI-powered image editing application focused on inpainting, object removal, and generative filling. It provides a suite of tools for erasing unwanted elements from photos and filling the resulting gaps using generative artificial intelligence.

The project includes specialized capabilities for image outpainting to extend borders, background removal through object segmentation, and face restoration to fix visual defects. It also features an image upscaler to increase resolution and clarity via super-resolution AI, as well as a Stable Diffusion-based editor for replacing specific image elements with new content.

Beyond individual edits, the software supports batch image processing via a command-line interface to apply filling and expansion tasks across entire folders of files.

## Tags

### Artificial Intelligence & ML

- [Image Inpainting](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-pipelines/text-to-image-generators/image-inpainting.md) — Removes unwanted objects and defects using generative AI to fill masked regions of photos.
- [Image Diffusion Models](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/image-diffusion-models.md) — Implements image diffusion models to iteratively refine noise into coherent pixels for filling and extending images.
- [Stable Diffusion Web Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-models/diffusion-models/stable-diffusion-web-interfaces.md) — Offers a web interface for performing generative filling and border extension via Stable Diffusion.
- [Image Editing](https://awesome-repositories.com/f/artificial-intelligence-ml/image-generation/image-editing.md) — Swaps existing objects or elements within an image with new content using diffusion models. ([source](https://github.com/sanster/lama-cleaner#readme))
- [Outpainting](https://awesome-repositories.com/f/artificial-intelligence-ml/image-generation/image-editing/outpainting.md) — Provides AI-driven image outpainting to naturally extend the borders of a picture. ([source](https://github.com/sanster/lama-cleaner#readme))
- [Object Mask Generators](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/image-segmentation/object-mask-generators.md) — Generates precise object masks through segmentation models to enable targeted editing and background removal.
- [Image Super Resolution Models](https://awesome-repositories.com/f/artificial-intelligence-ml/image-super-resolution-models.md) — Employs deep learning architectures to increase image resolution and reconstruct fine details.

### User Interface & Experience

- [Object Removal](https://awesome-repositories.com/f/user-interface-experience/content-rendering-components/image-overlays/media-watermarking-tools/watermark-removal/object-removal.md) — Offers specialized AI tools for removing unwanted objects, people, and defects from images. ([source](https://github.com/sanster/lama-cleaner#readme))

### Data & Databases

- [Generative Content Replacement](https://awesome-repositories.com/f/data-databases/atomic-transaction-models/atomic-model-replacements/generative-content-replacement.md) — Replaces specific image elements with new visual content using Stable Diffusion models.
- [Image Processing Batchers](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/batch-processing-systems/batch-processing-utilities/image-processing-batchers.md) — Provides a command-line utility for executing generative filling and expansion tasks across entire image folders. ([source](https://github.com/sanster/lama-cleaner#readme))

### Graphics & Multimedia

- [Outpainting](https://awesome-repositories.com/f/graphics-multimedia/image-editing-processing/image-editors/generative-ai/outpainting.md) — Extends picture borders by generating new pixels that blend naturally with the existing scene.
- [Mask-Based Area Replacement](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/face-portrait-manipulation/image-masking/mask-based-area-replacement.md) — Uses binary spatial masks to replace specific image regions with new generative content.
- [AI Upscaling](https://awesome-repositories.com/f/graphics-multimedia/image-editing-processing/image-enhancement-tools/ai-upscaling.md) — Increases resolution and clarity of photographs through super-resolution artificial intelligence.
- [Face Restoration](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/image-processing/face-restoration.md) — Fixes visual defects and improves the quality of human faces using generative restoration.

### Part of an Awesome List

- [Image Restoration and Enhancement](https://awesome-repositories.com/f/awesome-lists/ai/image-restoration-and-enhancement.md) — Enhances photo quality through face restoration and resolution upscaling to increase clarity.
- [Advanced Image Manipulation](https://awesome-repositories.com/f/awesome-lists/ai/advanced-image-manipulation.md) — AI-powered image inpainting tool.

### DevOps & Infrastructure

- [Background Removal Tools](https://awesome-repositories.com/f/devops-infrastructure/background-processing/background-removal-tools.md) — Isolates subjects by stripping backgrounds or generating foreground masks using segmentation models.
