> For the complete documentation index, see [llms.txt](https://docs.dreamerland.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dreamerland.ai/image/regional-prompt-prompt-mode.md).

# Regional Prompt (prompt mode)

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

Have you ever found prompt bleeding in your image (one part of prompt effecting another part)? Let's see the below example:

<figure><img src="/files/9ZqTe4PM5ROUDBpcKTF9" alt=""><figcaption></figcaption></figure>

We want to create a image with a Spanish woman wearing a forest printed tee shirt with Japanese temple around. We get the results below with this prompt.&#x20;

<div><figure><img src="/files/uzTnzWvh3VTCBafvYgY6" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/2SwjtcWZw7YcwYYvA5OK" alt="" width="375"><figcaption></figcaption></figure></div>

<div><figure><img src="/files/6on4xaSQP9zmPDbUdlfa" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/ukcr1vIG5GorXFWbaF4w" alt="" width="375"><figcaption></figcaption></figure></div>

The tee shirt print is influenced by "Japanese temple". The skirt is affected by "printed" to be a printed skirt. Additionally, even the woman's face is affected by "Japanese" and "Japan" and she looks like an asian woman.

The regional prompt is designed to prevent prompt bleeding.

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

Let's try to move some descriptive words to regional prompt like this.

<div><figure><img src="/files/28XQGqf2AYCb0oOsajXG" alt="" width="563"><figcaption><p>edit in regional prompt mode</p></figcaption></figure> <figure><img src="/files/98gV1N3oKb3lfuYFKBB3" alt="" width="563"><figcaption><p>The final input</p></figcaption></figure></div>

Below are the results of the above setting

<div><figure><img src="/files/6TyrNicWFQI3pivFTU5e" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Kao6LKlrKUjyJWPDmLVF" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/8MzA3cJNkb8dM6mto6ZV" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="/files/JEfYEIc4OTOMe0syE7Dr" alt="" width="563"><figcaption></figcaption></figure></div>

The result appears to be perfect, which precisely aligns with what we aimed for in our prompt.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-prompt-mode.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.
