Inpaint not masked

We have introduced the fundamental inpaint function, and now we will discuss the concept of "inpaint not masked" in this section.

There are instances when you may want to preserve a specific small area, typically a face, while redrawing or modifying the rest of the image.

Let's see how this work with a simple example. We will use this image as base image in this section

Similar to the normal inpainting process, we begin by selecting the inpaint mode and proceed to draw a mask. However, in this case, we draw the mask specifically on the area that we wish to preserve.

After drawing the mask, remember to check the "Inpaint not masked" option. To maintain accurate body composition, it is advisable to utilize a control layer in conjunction with the inpainting process. In this case, we will employ Pose control with the base image.

Lastly, input the desired prompt. In this case, let's use the following prompt: "1 girl, wearing bodysuit, pink hair, long hair, in cyberpunk city."

Now, click on the "Start drawing" button. Below is the resulting image we obtained:

Last updated