> 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/build/tools/ai-image-generation-guide.md).

# 組み込み AI 画像生成ツール

MaiAgent に組み込まれた AI 画像生成ツールと、その効果や適した用途を紹介します

### 📋 機能の概要 <a href="#feature-summary" id="feature-summary"></a>

MaiAgent には 3 種類の AI 画像生成ツールが組み込まれています。新しい画像の生成に加え、参照画像を使った編集もできます。AI エージェントのツール設定で選択するだけで、すぐに画像を生成できます。

AI エージェントの設定画面で、<mark style="color:blue;">ツール</mark> の <mark style="color:blue;">ツールを選択</mark> をクリックします。<mark style="color:blue;">システム組み込みツール</mark> から、次の画像生成ツールを選択できます。

* <mark style="color:blue;">Gemini 3 Pro Image</mark>
* <mark style="color:blue;">Gemini 3.1 Flash Image</mark>
* <mark style="color:blue;">GPT Image 2 画像生成ツール</mark>

<figure><img src="https://2584873290-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTvHx8hgwYGDTLD3A7xoW%2Fuploads%2Fgit-blob-79b7d7d056695fd0b39063bb5214a57698409eb5%2Fai-image-tools-select-tools.png?alt=media" alt="ツール選択画面に表示された Gemini 3.1 Flash Image、GPT Image 2 画像生成ツール、Gemini 3 Pro Image"><figcaption><p>「ツールを選択」画面の画像生成ツール</p></figcaption></figure>

{% hint style="info" %}
[AI エージェントにツールを設定する](/maiagent-user-guide/ja/build/tools/configure_tools.md)を参照してください。
{% endhint %}

***

### 🎨 ツールの比較表 <a href="#tool-comparison-table" id="tool-comparison-table"></a>

| ツール                        | 主な特長                             | 適した用途               |
| -------------------------- | -------------------------------- | ------------------- |
| **Gemini 3 Pro Image**     | 文脈の理解、中国語のプロンプト、参照画像の入力、対話形式の編集  | 文脈の理解が必要な創作や中国語での依頼 |
| **Gemini 3.1 Flash Image** | 高速生成、中国語のプロンプト、参照画像の入力、複数段階の編集指示 | 素早い試行やアイデア出し        |
| **GPT Image 2**            | プロ品質、複数回の調整、参照画像の入力、透明な背景        | ブランドデザインや業務用途       |

### ⭐️ 画像生成の例 <a href="#generation-examples" id="generation-examples"></a>

#### GPT Image 2：プロ向けデザインの例 <a href="#gpt-image-professional-example" id="gpt-image-professional-example"></a>

**プロンプト：** 「透明な背景で、1024x1024 サイズのミニマルなコーヒーカップのロゴを描いてください」

<figure><img src="https://2584873290-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTvHx8hgwYGDTLD3A7xoW%2Fuploads%2Fgit-blob-adda4bd85627865956b8d155649cd637e98c005f%2Fai-image-gpt-image-2-logo-example.png?alt=media" alt="GPT Image 2 が生成した、透明な背景のミニマルなコーヒーカップのロゴ"><figcaption><p>GPT Image 2 が生成したコーヒーカップのロゴ（背景は透明）</p></figcaption></figure>

**特長：** 透明な背景、洗練された線、ブランドへの活用に適した仕上がり

***

### 📝 使い方とベストプラクティス <a href="#usage-and-best-practices" id="usage-and-best-practices"></a>

#### 基本的なプロンプトの例 <a href="#basic-syntax" id="basic-syntax"></a>

| 用途           | プロンプトの例                             | おすすめのツール               |
| ------------ | ----------------------------------- | ---------------------- |
| **日常の創作**    | `かわいい子犬を描いてください`                    | Gemini 3 Pro Image     |
| **プロ向けデザイン** | `透明な背景で、モダンかつミニマルなロゴをデザインしてください`    | GPT Image 2            |
| **素早い試作**    | `ウェブサイトのホームページのコンセプト画像を素早く生成してください` | Gemini 3.1 Flash Image |

#### 複数回に分けた調整（GPT Image 2） <a href="#multi-round-iteration-gpt-image" id="multi-round-iteration-gpt-image"></a>

```
1 回目：「カフェのロゴをデザインしてください」
2 回目：「色をダークブラウンに変えてください」
3 回目：「湯気を少し加えてください」
4 回目：「全体をもっとシンプルにしてください」

```

#### 参照画像を使った編集 <a href="#image-reference-editing-gemini-native" id="image-reference-editing-gemini-native"></a>

Gemini 3 Pro Image、Gemini 3.1 Flash Image、GPT Image 2 はいずれも、参照画像を使った編集に対応しています。会話で編集したい画像をアップロードし、変更したい部分だけを説明してください。指定しなかった部分は、可能な限り元の状態を保ちます。

```
「この画像を基に、背景を海辺の風景に変えてください」
「人物はそのままにして、服の色だけ変えてください」
「この風景に花を少し加えてください」

```

{% hint style="info" %}
AI エージェントが以前生成した画像を読み取れないと回答した場合は、編集したい画像を会話に再度アップロードしてから変更を依頼してください。
{% endhint %}

***

### 🎯 用途別の実践ガイド <a href="#use-case-guide" id="use-case-guide"></a>

#### **用途 1：SNS コンテンツの作成** <a href="#use-case-social-media-content" id="use-case-social-media-content"></a>

**目的：** Instagram の投稿用画像を作成する

**おすすめ：** Gemini 3 Pro Image

**プロンプトの例：** `Instagram の投稿に適した、居心地のよいカフェの風景を作成してください`

#### **用途 2：企業のブランドデザイン** <a href="#use-case-enterprise-brand-design" id="use-case-enterprise-brand-design"></a>

**目的：** 会社のロゴとブランド素材をデザインする

**おすすめ：** GPT Image 2

**プロンプトの例：** `透明な背景で、テクノロジー企業向けのモダンでシンプルなロゴをデザインしてください`

#### **用途 3：アイデア出しと試作** <a href="#use-case-creative-ideation-prototype" id="use-case-creative-ideation-prototype"></a>

**目的：** アイデアを素早く視覚化し、繰り返し調整する

**おすすめ：** Gemini 3.1 Flash Image

**プロンプトの例：** `Concept art for a mobile app interface design`

***

### ❓ よくある質問と解決方法 <a href="#faq-and-solutions" id="faq-and-solutions"></a>

#### 画像の品質 <a href="#image-quality-issues" id="image-quality-issues"></a>

**Q：高品質な画像を生成するにはどうすればよいですか？**

**A：** GPT Image 2 または Gemini 3 Pro Image を使用し、詳しく説明してください。

* ✅ 求めるスタイルを具体的に示します（例：「プロの写真のようなスタイル」）
* ✅ シーンを詳しく説明します（光、角度、雰囲気など）
* ✅ 品質要件を明確にします（例：「高解像度」「商用品質」）

**Q：生成された画像が期待と異なるのはなぜですか？**

**A：** プロンプトを次のように改善してください。

* 🎯 抽象的な説明ではなく、具体的に記述します
* 🎨 アートスタイルを明示します
* 📐 構図と視点を説明します
* 🌈 色と光の表現を説明します

#### 機能の使い方 <a href="#feature-usage-issues" id="feature-usage-issues"></a>

**Q：背景が透明な画像を生成するにはどうすればよいですか？**

**A：** GPT Image 2 を使用し、プロンプトで「背景を透明にする」と明示してください。

```
背景が透明なロゴをデザインしてください
背景が透明なアイコンを作成してください

```

**Q：生成済みの画像を編集できますか？**

**A：** はい。Gemini 3 Pro Image、Gemini 3.1 Flash Image、GPT Image 2 は、いずれも参照画像を使った編集に対応しています。編集したい画像をアップロードし、変更点を説明してください。

```
この画像を基に、空を夕焼けの色に変えてください
構図はそのままにして、人物の服だけ変えてください

```


---

# 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/build/tools/ai-image-generation-guide.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.
