> For the complete documentation index, see [llms.txt](https://macdocs.supgpt.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://macdocs.supgpt.app/tools/generate-image.md).

# Generate Image

To enable image generation in the app, activate the feature in either the **App Settings -> Image Generation** or in the **Chat Settings**.

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

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

## Model Settings

Each model has different settings to choose from.

## Saving the Image

The generated images can be saved in two ways:

* Drag the image directly from the chat to your desired location.
* Click the![](/files/OfOl1YR2WFNqepDh2fQv)button to save the image to the drive.

## Generated Fragments

All generated images are available in the Generated Fragments window. To open this window, click the <img src="/files/VmkH6lWgSUglpKjvdvot" alt="" data-size="original"> button in the top right corner of the chat window.

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


---

# 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://macdocs.supgpt.app/tools/generate-image.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.
