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
Metadata
Release files for lama-cleaner 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lama-cleaner-1.2.5.tar.gz | 5.9 MB | Without provenance | Details for lama-cleaner-1.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lama_cleaner-1.2.5-py3-none-any.whl | Python 3 | none | any | Details for lama_cleaner-1.2.5-py3-none-any.whl |
Total release size: 12.7 MB
Release files / lama-cleaner-1.2.5.tar.gz
| Download URL | lama-cleaner-1.2.5.tar.gz |
|---|---|
| Size | 5.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdcedb838910e6a2a277f262e7fdd38728b03cd7ce704278750ee1d00cbb01b4
|
|
BLAKE2b-256 checksum How to use checksums |
c30eaeefc3fc8206b5234edf3c55356770f2abe8e983620c4282b17455885dc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / lama_cleaner-1.2.5-py3-none-any.whl
| Download URL | lama_cleaner-1.2.5-py3-none-any.whl |
|---|---|
| Size | 6.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2ff2df4ae9661bffc13ee03d44a030d94f175628a2ef3e09530247a7cede703
|
|
BLAKE2b-256 checksum How to use checksums |
ffb769b1e08415110265cfe56a5f811215ee611077f56749f9613c773857c274
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for lama-cleaner 1.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.