> 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 画像生成ツールが内蔵されています。新しい画像の生成に加え、参照画像を使った編集もできます。Agent のツール設定で選択するだけで、すぐに画像生成を開始できます。

Agent 設定ページの「<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" %}
[Agent にツールを設定する](/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            |
| **素早いプロトタイプ作成**    | `Web サイトのホームページのコンセプト画像を素早く生成してください` | 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" %}
Agent が以前生成した画像を読み取れないと回答した場合は、編集したい画像を会話にもう一度アップロードしてから、変更内容を伝えてください。
{% endhint %}

***

### 🎯 実践的な活用ガイド <a href="#use-case-guide" id="use-case-guide"></a>

#### **用途 1：ソーシャルメディアのコンテンツ制作** <a href="#use-case-social-media-content" id="use-case-social-media-content"></a>

**要件：** Instagram の投稿用画像を制作します

**推奨：** Gemini 3 Pro Image

**指示の例：** `IG の投稿に適した、温かみのあるカフェのシーンを制作してください`

#### **用途 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.
