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. Regional Prompt (color mask)

Regional Prompt with Reference Image

Control the image composition with control layer

Last updated 1 year ago

You may want to have more control while using a regional prompt. Here, we bring you a demonstration of using a reference image to draw a color map and using the reference image in the control layer.

How does it work?

In this example, we want to generate an image of a woman with half white hair and half black hair.

First, open the color map drawing canvas. Click the "Background" button to select a reference image.

Now, let's draw a color map on the reference image. We want the woman to have half white hair on the left and half black hair on the right. We'll use the color red for the left part of her hair and yellow for the right part.

Here is a final color map we have. Next step is to write prompts for each area.

Don't forget to add a control layer with the reference image. We used a depth control here.

Okay, now we can click a button to generate images! Below are the resulting images of this configuration in both the realistic model and anime model.

Dreamer photoreal V2 model
Anime Diffusion V2 model
Page cover image