Image inpainting tool powered by SOTA AI Model
Project description
Lama Cleaner
A free and open-source inpainting tool powered by SOTA AI model.
https://user-images.githubusercontent.com/3998421/196976498-ba1ad3ab-fa18-4c55-965f-5c6683141375.mp4
Features
- Completely free and open-source, fully self-hosted, support CPU & GPU & M1/2
- Windows 1-Click Installer
- Native macOS app
- Multiple SOTA AI models
- Erase model: LaMa/LDM/ZITS/MAT/FcF/Manga
- Erase and Replace model: Stable Diffusion/Paint by Example
- Plugins for post-processing:
- RemoveBG: Remove images background
- RealESRGAN: Super Resolution
- GFPGAN: Face Restoration
- RestoreFormer: Face Restoration
- Segment Anything: Accurate and fast interactive object segmentation
- FileManager: Browse your pictures conveniently and save them directly to the output directory.
- More features at lama-cleaner-docs
Quick Start
Lama Cleaner make it easy to use SOTA AI model in just two commands:
# In order to use the GPU, install cuda version of pytorch first.
# pip install torch==1.13.1+cu117 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cu117
pip install lama-cleaner
lama-cleaner --model=lama --device=cpu --port=8080
That's it, Lama Cleaner is now running at http://localhost:8080
See all command line arguments at lama-cleaner-docs
Development
Only needed if you plan to modify the frontend and recompile yourself.
Frontend
Frontend code are modified from cleanup.pictures, You can experience their great online services here.
- Install dependencies:
cd lama_cleaner/app/ && pnpm install
- Start development server:
pnpm start
- Build:
pnpm build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lama-cleaner-1.2.5.tar.gz
.
File metadata
- Download URL: lama-cleaner-1.2.5.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdcedb838910e6a2a277f262e7fdd38728b03cd7ce704278750ee1d00cbb01b4 |
|
MD5 | 4f4e5a1ee461812902b064f413eaa734 |
|
BLAKE2b-256 | c30eaeefc3fc8206b5234edf3c55356770f2abe8e983620c4282b17455885dc6 |
File details
Details for the file lama_cleaner-1.2.5-py3-none-any.whl
.
File metadata
- Download URL: lama_cleaner-1.2.5-py3-none-any.whl
- Upload date:
- Size: 6.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2ff2df4ae9661bffc13ee03d44a030d94f175628a2ef3e09530247a7cede703 |
|
MD5 | 56fff6d877d4308deb62364d0411912b |
|
BLAKE2b-256 | ffb769b1e08415110265cfe56a5f811215ee611077f56749f9613c773857c274 |