> 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="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FQvfbSuG1SbUw77feyVrk%2FIMG_7959.jpg?alt=media&amp;token=5b69d1c0-c736-4a66-b50c-3ff8474d176d" 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="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FD76XxDRebck4kyHmSfHm%2FIMG_7952.JPG?alt=media&amp;token=cff3ad71-9be7-48bf-9567-df5dfb217758" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FiD2D8aqDYAYh6ATnWT2h%2FIMG_7958.JPG?alt=media&amp;token=32a81efb-4169-4f38-9b5a-72362b7f841f" alt="" width="375"><figcaption></figcaption></figure></div>

<div><figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2Fi5jB78nDdWfOEmE8kqeT%2FIMG_7961.JPG?alt=media&amp;token=26b8ec48-668a-4704-a5d7-69f71f322a9c" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FGLf4yK50TdWPzqF5ZAo1%2FIMG_7960.JPG?alt=media&amp;token=71d23182-f1a2-42ce-9630-ceca216b22a3" 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="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FLTlccfn4BPNHeRM4hgHN%2FIMG_7963.jpg?alt=media&amp;token=14209dbd-fc8c-4bee-8106-1337f2e4c6ee" alt="" width="563"><figcaption><p>edit in regional prompt mode</p></figcaption></figure> <figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FF9u4oyTYt1Y4hpViWnth%2FIMG_7968.jpg?alt=media&amp;token=ec52252c-8f5c-4f27-9ea9-3f5f0ea9c5ad" alt="" width="563"><figcaption><p>The final input</p></figcaption></figure></div>

Below are the results of the above setting

<div><figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FSuEjNxG70rlp7cxSo9eR%2FIMG_7964.JPG?alt=media&amp;token=c62a5521-16e8-44cb-a503-ead053f9bedb" alt=""><figcaption></figcaption></figure> <figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2F7AUNlpL94tANgjNL4txj%2FIMG_7966.JPG?alt=media&amp;token=50c6bd3b-040e-48a9-b4ee-28be36e642b6" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FNizAxJk0WvCDW4Q6Xn2W%2FIMG_7967.JPG?alt=media&amp;token=11281681-067c-4e81-8e8c-30aac63cebdf" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2Fnmm2uxvTcGL7ECwXIEPD%2FIMG_7955.JPG?alt=media&amp;token=4b011282-0e12-42da-85cc-fd57ebd66f4c" alt="" width="563"><figcaption></figcaption></figure></div>

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