Knowledge Base
  • Dreamerland
  • workflow
    • Hires. fix
      • Hires. fix with different model
    • Optical illusion
    • Inpainting
      • BrushNet
      • Inpaint not masked
    • Regional Prompt (color mask)
      • Regional Prompt with Reference Image
    • Regional Prompt (prompt mode)
    • Outpainting
    • Image prompt
      • Consistent face
      • Consistent anime character
      • Style
    • Doodle
      • Inpaint with doodle
      • Area inpaint with doodle
    • Motion brush
    • Relighting
    • Live Portrait
    • Face Swap
    • 3D Parallax effect
    • In-context transfer
  • Video
    • Image to Video
    • Hunyuan Video
      • Image to Video
    • Wan2.1 Video
      • Pose reference
      • Video to Video
        • Reference Image
        • Key frames
      • Inpaint
        • Free mode
  • Basic terms
    • Sampling method
    • Guidance scale
    • Negative embeddings
    • CLIP skip
  • FAQ
    • Dreamerland Web app
    • Prompt syntax () and []
    • Bad quality image or deformed image
    • High res. fix vs tiled upscale
    • How to enable sensitive content
    • Wildcards
Powered by GitBook
On this page
  1. workflow
  2. Inpainting

Inpaint not masked

Last updated 1 year ago

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:

a young girl, wearing schcool uniform, in classroom
Draw a mask on the face
Check "inpaint not masked", employ Pose control layer