> 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-ja/maigpt/image.md).

# AI 画像生成

MaiGPTにはAI画像生成機能が標準搭載されています。作りたい画面を文章で説明するだけで、AIが画像を生成します。日本語の説明に対応しており、英語で書く必要はありません。生成後も納得いくまで繰り返し修正できます。

***

## 文章で説明して画像を生成する <a href="#generate-from-text" id="generate-from-text"></a>

対話の中で、ほしい画像を直接説明してください：

> 「モダンなオフィスのイラストを、明るいトーンで描いてください」
>
> 「マーケティング用の製品イメージ画像を、背景はグラデーションのブルーで生成してください」
>
> 「スーツを着た猫の、かわいいマスコットを描いてください」

<figure><img src="/files/XfnMQP2D5take3G7yja8" alt="MaiGPT AI画像生成の結果"><figcaption><p>文章で説明を入力すると、AIがそれに対応した画像をその場で生成します</p></figcaption></figure>

### 説明のコツ <a href="#prompt-tips" id="prompt-tips"></a>

説明が具体的であるほど、画像はイメージに近づきます：

| 一般的な説明     | より良い説明                                          |
| ---------- | ----------------------------------------------- |
| 「猫を描いて」    | 「オレンジ色の猫が窓辺に座っていて、背景は夕日、水彩風」                    |
| 「ポスターを作って」 | 「A4縦型のポスター、タイトルは『2025年度大会』、テクノロジー風、ブルーパープルのトーン」 |
| 「製品画像」     | 「白い背景に置かれた一杯のコーヒー、真上からのアングル、横にコーヒー豆が数粒、商業写真風」   |

次の要素を指定できます：

* **スタイル** — 水彩、フラットデザイン、リアル、カートゥーン、商業写真
* **トーン** — 明るい、暖色、寒色、モノクロ
* **構図** — 真上から、正面、クローズアップ、パノラマ
* **用途** — ソーシャル投稿、プレゼン用の挿絵、マーケティング素材

### 画像をダウンロードする <a href="#download-image" id="download-image"></a>

画像が生成されたら、画像をクリックすると拡大して確認できます。右クリックまたは長押しで、ご利用の端末に保存できます。

***

## 画像を編集・反復改善する <a href="#edit-and-iterate" id="edit-and-iterate"></a>

AIが生成した画像が気に入らないときも、最初からやり直す必要はありません。同じ対話の中で、納得いくまで修正を続けられます。

### 修正のしかた <a href="#how-to-edit" id="how-to-edit"></a>

画像が生成されたら、対話の中でAIに変更したい点を直接伝えてください：

> 「背景を白に変えてください」
>
> 「人物の表情を笑顔に変えてください」
>
> 「右下に会社のロゴを追加してください」
>
> 「全体のトーンを少し暖かくしてください」

AIは指示に従って新しいバージョンを生成します。

<figure><img src="/files/iOShQJdFEmHtXT4QJghv" alt="MaiGPT 画像の反復修正"><figcaption><p>対話の中で修正の方向性を指示すると、AIが新しいバージョンの画像を生成します</p></figcaption></figure>

### 既存の画像をもとに生成する <a href="#generate-from-existing-image" id="generate-from-existing-image"></a>

画像をアップロードして、それを参考にAIに新しい画像を生成させることもできます：

> （製品写真を1枚アップロード）
>
> 「この画像のスタイルを参考に、似たマーケティング素材を生成してください」
>
> 「この画像をカートゥーン風に変えてください」

### ちょっとしたコツ <a href="#tips" id="tips"></a>

{% hint style="success" %}
**ステップごとに修正する**

一度にたくさんの修正を依頼しないでください。一度に1か所ずつ変更すると、最も良い結果が得られます：

1. まず構図と被写体がOKかを確認する
2. 次にトーンとスタイルを調整する
3. 最後に細部（文字、ロゴなど）を加える
   {% endhint %}

{% hint style="info" %}
**気に入らなければやり直す**

修正するほど方向性がずれていくようであれば、いっそ最初から説明し直したほうが良いでしょう。AIは毎回独立して生成するため、修正を続けるより最初からやり直すほうが早い場合もあります。
{% endhint %}

***

## 次のステップ <a href="#next-steps" id="next-steps"></a>

* [コネクタ](/maiagent-user-guide/maiagent-user-guide-ja/maigpt/connectors.md)
* [MaiGPT概要に戻る](/maiagent-user-guide/maiagent-user-guide-ja/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-ja/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.
