AI HD Painter that makes your favorite things appear in images

MLBoy
2 min readFeb 12, 2024

Fill in the image…

Enter the text
“suits”

This can be done with a model called HD Painter .

Instant demo

How to use

It’s open source, so you can use it from code.

install

git clone https://github.com/Picsart-AI-Research/HD-Painter.git
cd HD-Painter
python3 -m venv venv
source ./venv/bin/activate
pip install pip --upgrade
pip install -r requirements.txt

execution

python hd_inpaint.py --model-id ds8_inp --method painta+rasg --image-path input_image.jpg --mask-path mask_image.png --prompt "prompt text" --output-dir output_dir

🐣

I’m a freelance engineer.
Work consultation
Please feel free to contact us with a brief development description.
rockyshikoku@gmail.com

I am creating applications using machine learning and AR technology.

I send machine learning / AR related information.

GitHub

Twitter
Medium

--

--