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

# AI 画像生成

MaiGPT の AI 画像生成：日本語などで説明して画像を生成する方法、繰り返しの編集と改善、効果的なプロンプトのコツを紹介します。

MaiGPT には AI 画像生成機能が組み込まれています。ほしい画像を文章で説明すると、AI が画像を生成します。中国語での説明にも対応しており、英語で書く必要はありません。生成後も、満足できるまで何度でも修正できます。

***

## テキストの説明から画像を生成する <a href="#generate-from-text" id="generate-from-text"></a>

会話の中で、ほしい画像を直接説明します。

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

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

説明が具体的であるほど、期待に近い画像になります。

| 一般的な説明     | より良い説明                                          |
| ---------- | ----------------------------------------------- |
| 「猫を描いて」    | 「オレンジ色の猫が窓辺に座っていて、背景は夕焼け、水彩画風」                  |
| 「ポスターを作って」 | 「A4 縦向きのポスターで、タイトルは『2025 年度カンファレンス』、テック風、青紫の色調」 |
| 「商品画像」     | 「白い背景に置かれた一杯のコーヒー、俯瞰アングル、横にコーヒー豆がいくつか、商業写真風」    |

次の項目を指定できます。

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

### 画像をダウンロードする <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 が指示に基づいて新しいバージョンを生成します。

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

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

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

### ヒント <a href="#tips" id="tips"></a>

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

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

1. まず構図と主題が問題ないことを確認する
2. 次に色調とスタイルを調整する
3. 最後にディテール（テキスト、ロゴなど）を加える
   {% endhint %}

{% hint style="info" %}
**満足できなければやり直す**

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

***

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

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
