Image inpainting tool powered by SOTA AI Model. Remove any unwanted object, defect, people from your pictures or erase and replace(powered by stable diffusion) any thing on your pictures.
Go to file
2024-02-08 17:51:05 +08:00
.github Update issue templates 2023-02-17 10:01:20 +08:00
assets update readme 2024-01-24 22:21:47 +08:00
docker update 2023-11-01 21:14:52 +08:00
iopaint support scan converted diffusers 2024-02-06 17:04:56 +08:00
scripts Update README.md 2024-02-08 17:51:05 +08:00
web_app fix https://github.com/Sanster/IOPaint/issues/440 2024-02-04 21:54:54 +08:00
.gitignore update gitignore 2024-01-05 15:21:25 +08:00
build_docker.sh update 2023-11-01 21:14:52 +08:00
LICENSE init 2021-11-15 22:21:01 +08:00
main.py rename to iopaint 2024-01-05 15:19:23 +08:00
publish.sh update publish 2024-01-05 16:27:33 +08:00
README.md Update README.md 2024-02-06 23:17:19 +08:00
requirements-dev.txt update 2023-12-22 14:00:30 +08:00
requirements.txt update diffusers==0.26.1, fix load single file sdxl inpainting model 2024-02-04 21:54:54 +08:00
setup.py 1.0.4 2024-02-06 17:10:56 +08:00

IOPaint

A free and open-source inpainting & outpainting tool powered by SOTA AI model.

total download version python version HuggingFace Spaces Open in Colab

Erase Replace Object
Draw Text Out-painting

Quick Start

Start webui

IOPaint provides a convenient webui for using the latest AI models to edit your images. You can install and start IOPaint easily by running following command:

# In order to use GPU, install cuda version of pytorch first.
# pip3 install torch==2.1.2 torchvision==0.16.2 --index-url https://download.pytorch.org/whl/cu118
# AMD GPU users, please utilize the following command, only works on linux, as pytorch is not yet supported on Windows with ROCm.
# pip3 install torch==2.1.2 torchvision==0.16.2 --index-url https://download.pytorch.org/whl/rocm5.6

pip3 install iopaint
iopaint start --model=lama --device=cpu --port=8080

That's it, you can start using IOPaint by visiting http://localhost:8080 in your web browser.

Batch processing

You can also use IOPaint in the command line to batch process images:

iopaint run --model=lama --device=cpu \
--input=/path/to/image_folder \
--mask=/path/to/mask_folder \
--output=output_dir

--input is the folder containing input images, --mask is the folder containing corresponding mask images. When --mask is a path to a mask file, all images will be processed using this mask.

You can see more information about the available models and plugins supported by IOPaint below.

Features