# Regional Prompt (color mask)

<mark style="background-color:orange;">**What is regional prompt?**</mark>

It is a tool that allows you to specify different prompts for different regions.

<mark style="background-color:orange;">**Why use a regional prompt?**</mark>

Have you ever found it difficult to create multiple subjects in a single image? Here is an example:

<figure><img src="/files/nJZWfxu1tXlP1ka8Buek" alt="" width="375"><figcaption><p>try to generate a image with 2 girls. one girl with school uniform on the left. another one with bikini on the left</p></figcaption></figure>

You will probably get the result below with the above prompt. The resulting image is definitely not what we are thinking of.

<figure><img src="/files/O4BiPI0PipAt25HAiAoT" alt="" width="375"><figcaption></figcaption></figure>

Regional prompt is your helper. We can specify different prompts for the girl on the left and the girl on the right using the regional prompt.

<mark style="background-color:orange;">**How does it work?**</mark>

Enable the regional prompt feature with the toggle. It will take you to a color map page.

<figure><img src="/files/Lqn0LrETuoxWZc7Q1yHu" alt="" width="375"><figcaption></figcaption></figure>

Draw a color map for image composition. For example, we want a girl with a school uniform on the left in the <mark style="color:red;">red</mark> area, a girl with a bikini on the right in the <mark style="color:yellow;">yellow</mark> area, and a starry sky on top in the white area. Here is the color map we drew:

<figure><img src="/files/cmx08Ieo5GqS2TpSS53Q" alt="" width="375"><figcaption></figcaption></figure>

Great! We have a color map now. Let's create a prompt for each area. We enter the prompt for each area as shown below. \**Remember to specify "2 girls" in the prompt; otherwise, it will become "1 girl" wearing half a school uniform and half a bikini.*

<figure><img src="/files/qQWlLehlZ0cBeeHBO6Hp" alt="" width="375"><figcaption></figcaption></figure>

Start generating! We have a great image with the correct composition!

<figure><img src="/files/sIjTRdgJnaRg6Y8nip3k" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dreamerland.ai/image/regional_prompt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
