this post was submitted on 11 Dec 2023
5 points (100.0% liked)

Stable Diffusion

4285 readers
1 users here now

Discuss matters related to our favourite AI Art generation technology

Also see

Other communities

founded 1 year ago
MODERATORS
 

Hi all.

On Automatic 1111, I'm struggling to get inpaint upload to work. I've heard you need to define your mask first, but I don't know what that means? And how do you ensure it's grafted onto the correct part of the image? I can't see any means of selecting any part of either the base image or the upload image?

Any help is very much appreciated. I am both a noob AND an old person.

Thanks.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Hubi@feddit.de 3 points 10 months ago (6 children)

If you do not want to do the inpainting directly in the web interface, you'll have to upload a "alpha mask" of the area that you want to inpaint.

Here's an example:

Let's say this is your image. You open it in a editor that supports layers like Gimp. You add a transparent layer on top and draw the area that you want to inpaint over it in black. It should look like this.

Next, you replace the color layer with a white layer. It will look like this:

This is the image that you save and what you upload to the Automatic1111 web interface. Feel free to ask if you have any questions.

[โ€“] jittery3291@lemmy.world 3 points 10 months ago

Thanks so much. Will try tonight. Very much appreciate your time and consideration.

load more comments (5 replies)