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

Inpainting

Last updated 1 year ago

Inpainting is a technique used to modify or restore masked areas in an image. Depending on the strength of inpainting, it can serve two purposes. Firstly, it can be employed to create entirely new content within any region of an existing picture. Secondly, it can be used to subtly restore deformed parts of an image.

Let's look at a simple example of inpainting. We will use this image as a base image.

We will try to change her hair color by inpainting function. Follow the steps below:

  1. Choose Inpaint Mode

  2. Select a source image from your phone

  3. Mask the hair area in the image

  4. Enter "1girl, pink hair" in prompt

Now we can hit Start drawing button to see the result. The final output is absolutely awesome.

A girl with black hair, wearing school uniform, in classroom
Select inpaint mode
Mask hair area