# AI Image Chat

## Generate AI Images

#### Start the AI Image Chat

1. Open the **AI Image Chat** in **Mazing World**.
2. Select **up to 4 images**.
   * Drag and drop them into the upload area, **or**
   * Click **Browse File** to open the file selector.

Once uploaded, your images will appear directly inside the AI Chat.

<figure><img src="/files/f4Mu82gPpf7A9r9LjjN4" alt=""><figcaption></figcaption></figure>

#### Describe Your Changes

1. In the text input, **describe what you want to change or create**.
2. Send your message and wait for the AI to generate results.

The AI will generate **two image options** for you to choose from.

* If you don’t like the results, click **Generate More** to receive **two additional options**.
* Repeat this step until you are happy with one of the results.

When you find the image you like:

1. Click on the image option in the chat.
2. Confirm your selection.

<figure><img src="/files/6jQQgXoHhTz9kKBDhujq" alt=""><figcaption></figcaption></figure>

#### View and Reuse Your Result

* The final image will appear in the **image result panel on the right**.
* It will also be saved in your **History**, where you can:
  * Reuse the image
  * Review the exact workflow and prompt used to create it

<figure><img src="/files/Pqs7G5vo1szkGsMmz5i5" alt=""><figcaption></figcaption></figure>

## Start a New Chat

* When you upload your first image, the AI Chat starts automatically.
* A **New Chat** button will appear in the app header.

Click **New Chat** to:

* Clear the current image result
* Reset the chat history
* Start a fresh AI Image Chat

<figure><img src="/files/LWqShg8PdD3rI3I0j0mf" alt=""><figcaption></figcaption></figure>

## Prompt Enhancer

If you’re not sure whether your prompt is good enough, you can use the **built-in Prompt Enhancer**.

#### How to Use It

1. Type your prompt in the input field **(do not send it)**.
2. Click the **“+” icon** on the left side of the input.
3. Select **Prompt Enhancer** from the menu.

The AI will now improve your prompt.\
This may take a few seconds.

Once finished:

* A Prompt Enhancer window will open with the **enhanced prompt**.
* You can:
  * Click **Apply** to use it directly, or
  * Edit the prompt before applying it if needed

<figure><img src="/files/IqAi0CltTffQ38HpZcOc" alt=""><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://mazingxr.gitbook.io/mazing-world/ai-apps/ai-image-chat.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.
