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

# AI Image Generation

MaiGPT has built-in AI image generation. Describe the visual you want in text, and AI will generate an image for you. Chinese descriptions are supported — no need to write in English. After generation, you can iteratively edit the image until you're satisfied.

***

## Generate Images from Text Descriptions

Describe the image you want directly in the conversation:

> "Draw an illustration of a modern office with bright tones"
>
> "Generate a product branding image for marketing with a gradient blue background"
>
> "Draw a cute mascot — a cat wearing a business suit"

### Description Tips

The more specific your description, the closer the image matches your expectations:

| Generic Description | Better Description                                                                                                  |
| ------------------- | ------------------------------------------------------------------------------------------------------------------- |
| "Draw a cat"        | "An orange cat sitting on a windowsill, sunset in the background, watercolor style"                                 |
| "Make a poster"     | "An A4 portrait poster with the title '2025 Annual Conference,' tech style, blue-purple tones"                      |
| "Product image"     | "A cup of coffee on a white background, overhead angle, a few coffee beans beside it, commercial photography style" |

You can specify:

* **Style** — Watercolor, flat design, realistic, cartoon, commercial photography
* **Color tone** — Bright, warm, cool, monochrome
* **Composition** — Overhead, front-facing, close-up, panoramic
* **Purpose** — Social media post, presentation graphic, marketing material

### Downloading Images

After an image is generated, click it to view in full size. Right-click or long-press to save it to your device.

***

## Editing and Iterating on Images

Not satisfied with the AI-generated image? No need to start over — you can keep refining it in the same conversation until you're happy with the result.

### How to Edit

After an image is generated, tell AI what you want to change directly in the conversation:

> "Change the background to white"
>
> "Change the person's expression to a smile"
>
> "Add the company logo in the bottom right corner"
>
> "Make the overall tone warmer"

AI will generate a new version based on your instructions.

### Generating Based on an Existing Image

You can also upload an image and have AI use it as a reference to generate a new one:

> (Upload a product photo)
>
> "Using this image's style as a reference, generate similar marketing material for me"
>
> "Convert this image to cartoon style"

### Tips

{% hint style="success" %}
**Edit Step by Step**

Don't request too many changes at once. Modify one thing at a time for the best results:

1. First confirm the composition and subject are OK
2. Then adjust the color tone and style
3. Finally add details (text, logo, etc.)
   {% endhint %}

{% hint style="info" %}
**Not Happy? Start Over**

If modifications keep drifting off course, just re-describe from scratch. AI generates independently each time, so starting fresh is sometimes faster than continuing to edit.
{% endhint %}

***

## Next Steps

* [Connectors](/maiagent-user-guide/maiagent-user-guide-en/maigpt/connectors.md)
* [Back to MaiGPT Overview](/maiagent-user-guide/maiagent-user-guide-en/maigpt/maigpt.md)


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-en/maigpt/image.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
