> 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/build/tools/gemini-3-image-tool.md).

# Gemini 3 圖片生成工具

使用 Gemini 3 Pro Image 從文字提示生成高品質圖片

### 功能簡介 <a href="#feature-introduction" id="feature-introduction"></a>

Gemini 3 圖片生成工具是 MaiAgent 整合 Google Gemini 3 Pro Image 模型的 AI 圖片生成功能。此工具讓 Agent 能夠根據使用者的文字描述生成高品質圖片，支援繁體中文與英文提示詞，並可透過參考圖片進行風格轉換與圖片編輯。

{% hint style="info" %}
Gemini 3 Pro Image 是 Google 最新的多模態 AI 模型，具備強大的圖片生成能力，能根據上下文理解與世界知識推理，生成高品質且符合情境的圖片。
{% endhint %}

***

### 主要功能 <a href="#key-features" id="key-features"></a>

<table><thead><tr><th width="200">功能類型</th><th>說明</th><th>應用場景</th></tr></thead><tbody><tr><td><strong>文字生成圖片</strong></td><td>根據文字描述生成對應的圖片</td><td>行銷素材、社群貼文、產品視覺化</td></tr><tr><td><strong>參考圖片編輯</strong></td><td>根據參考圖片進行風格轉換或內容修改</td><td>品牌視覺一致性、圖片風格調整</td></tr><tr><td><strong>對話式圖片編輯</strong></td><td>在多輪對話中持續調整與優化圖片</td><td>迭代設計、細節微調</td></tr><tr><td><strong>中文提示詞支援</strong></td><td>直接使用繁體中文描述想要的圖片</td><td>中文使用者無需翻譯即可使用</td></tr></tbody></table>

***

### 啟用 Gemini 3 圖片生成工具 <a href="#enable-gemini-3-image-tool" id="enable-gemini-3-image-tool"></a>

#### 前置需求 <a href="#prerequisites" id="prerequisites"></a>

1. 確認您的組織方案支援圖片生成功能
2. 確認已啟用 AI 功能權限
3. 準備要使用此工具的 Agent

#### 啟用步驟 <a href="#enable-steps" id="enable-steps"></a>

1. **進入 Agent 設定頁面**
   * 點選左側選單「<mark style="color:blue;">AI 功能</mark>」→「<mark style="color:blue;">AI 助理</mark>」
   * 在要設定的 Agent 那一列，點選「<mark style="color:blue;">操作</mark>」欄的「<mark style="color:blue;">編輯</mark>」圖示，進入「<mark style="color:blue;">設定</mark>」分頁
2. **配置工具設定**
   * 在設定頁左側「能力擴充」群組點選「<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;">確認</mark>」

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-233560cced21555f6646b6d7b68edf58a80ac476%2Fgemini-3-image-tool-select.png?alt=media" alt="選擇工具視窗中已勾選 Gemini 3 Pro Image"><figcaption><p>在「選擇工具」視窗勾選 Gemini 3 Pro Image</p></figcaption></figure>

3. **儲存設定**
   * 點選右下角「<mark style="color:blue;">儲存</mark>」按鈕
   * 畫面出現「儲存成功」即完成設定

{% hint style="warning" %}
**注意事項**

* 圖片生成會依張數扣除 Credits，單價依圖片生成模型而定，可在「<mark style="color:blue;">組織設定</mark>」→「<mark style="color:blue;">Credits</mark>」的「<mark style="color:blue;">計費方式</mark>」分頁查看
* 生成的圖片預設為 4K 高品質輸出
  {% endhint %}

***

### 使用方式 <a href="#how-to-use" id="how-to-use"></a>

#### 透過對話介面使用 <a href="#use-via-chat-interface" id="use-via-chat-interface"></a>

1. **輸入圖片描述**
   * 在對話框中輸入您想要生成的圖片描述
   * 範例：
     * 「幫我生成一張日落海灘的風景圖」
     * 「畫一隻穿著太空衣的貓咪」
     * 「設計一個簡約風格的咖啡店 Logo」
     * 「Create a watercolor painting of a mountain landscape」
2. **使用參考圖片**
   * 在對話中上傳一張圖片作為參考
   * 搭配文字指令描述您想要的修改
   * 範例：
     * 上傳一張照片後說：「把這張照片轉換成水彩畫風格」
     * 上傳一張產品圖後說：「幫這個產品設計一個宣傳海報」
3. **對話式編輯**
   * 生成圖片後，可以在後續對話中要求修改
   * 範例：
     * 「把背景改成藍色」
     * 「加上一些星星」
     * 「讓整體氛圍更溫暖一些」

{% hint style="info" %}
提供越詳細的描述，生成的圖片品質越好。建議包含風格、顏色、構圖、氛圍等細節。
{% endhint %}

***

### 應用情境範例 <a href="#use-case-examples" id="use-case-examples"></a>

#### 情境一：行銷素材製作 <a href="#use-case-marketing-materials" id="use-case-marketing-materials"></a>

**需求**：快速生成社群媒體貼文所需的視覺素材

**對話範例**：

```
使用者：幫我生成一張適合 Instagram 的圖片，主題是春季新品上市，風格清新明亮，有櫻花和購物袋的元素
AI：[生成圖片] 已為您生成春季新品上市的宣傳圖片，包含櫻花花瓣和時尚購物袋的元素，整體風格清新明亮。
使用者：很好，但可以把購物袋的顏色改成粉紅色嗎？
AI：[生成更新後的圖片] 已將購物袋調整為粉紅色，與櫻花主題更加一致。
```

#### 情境二：產品視覺化 <a href="#use-case-product-visualization" id="use-case-product-visualization"></a>

**需求**：為尚未生產的產品概念生成視覺呈現

**對話範例**：

```
使用者：我想設計一款智慧手錶，外觀是圓形錶面、銀色金屬錶帶、深藍色錶盤，請幫我生成概念圖
AI：[生成圖片] 已生成智慧手錶概念圖，圓形錶面搭配銀色金屬錶帶和深藍色錶盤。
```

#### 情境三：風格轉換 <a href="#use-case-style-transfer" id="use-case-style-transfer"></a>

**需求**：將現有圖片轉換為不同的藝術風格

**對話範例**：

```
使用者：[上傳照片] 把這張照片轉換成漫畫風格
AI：[生成圖片] 已將您的照片轉換為漫畫風格，保留了原始構圖和主要元素。
```

***

### 提示詞撰寫建議 <a href="#prompt-writing-tips" id="prompt-writing-tips"></a>

#### 有效的提示詞寫法 <a href="#effective-prompt-writing" id="effective-prompt-writing"></a>

**包含具體描述**：

* 主題：想要生成什麼內容
* 風格：寫實、卡通、水彩、油畫、平面設計等
* 顏色：主要色調和配色偏好
* 構圖：特寫、全景、俯瞰等
* 氛圍：溫暖、冷調、活潑、沉穩等

**良好範例**：

* 「一隻橘色的柴犬坐在秋天的公園長椅上，背景是金黃色的楓葉，溫暖的午後光線，寫實攝影風格」
* 「極簡風格的科技公司 Logo，使用藍色和白色，幾何圖形設計」

**避免過於模糊**：

* 「畫一張圖」（缺少具體描述）
* 「好看的圖片」（沒有明確方向）

***

### 常見問題 <a href="#faq" id="faq"></a>

#### Q：Gemini 3 圖片生成工具支援哪些語言的提示詞？ <a href="#faq-supported-languages" id="faq-supported-languages"></a>

**A**：支援繁體中文和英文提示詞。您可以直接使用中文描述想要的圖片內容。

#### Q：生成一張圖片需要多少 Credits？ <a href="#faq-token-cost-per-image" id="faq-token-cost-per-image"></a>

**A**：圖片生成依張數扣除 Credits，每張的單價依使用的圖片生成模型而定，可在「<mark style="color:blue;">組織設定</mark>」→「<mark style="color:blue;">Credits</mark>」的「<mark style="color:blue;">計費方式</mark>」分頁，「工具調用與 API 整合」類別下的「圖片生成」查看。建議定期查看組織的 Credits 餘額與消耗紀錄。

#### Q：可以使用參考圖片嗎？ <a href="#faq-reference-image" id="faq-reference-image"></a>

**A**：可以。在對話中上傳圖片作為參考，Agent 會將其納入生成過程。這對於風格轉換、圖片編輯或基於現有素材進行創作特別有用。

#### Q：生成的圖片解析度如何？ <a href="#faq-image-resolution" id="faq-image-resolution"></a>

**A**：預設生成 4K 高品質圖片，適合大多數使用場景。

#### Q：可以在多輪對話中持續修改圖片嗎？ <a href="#faq-multi-turn-editing" id="faq-multi-turn-editing"></a>

**A**：可以。Agent 會記住對話上下文，您可以在後續訊息中要求調整細節、修改風格或添加元素，逐步完善圖片。

#### Q：圖片生成失敗怎麼辦？ <a href="#faq-generation-failure" id="faq-generation-failure"></a>

**A**：可能原因與解決方式：

* **提示詞違反內容政策**：調整描述，避免不當內容
* **系統繁忙**：稍後重試
* **Credits 餘額不足**：到「<mark style="color:blue;">Credits</mark>」頁面確認組織的可用餘額

***

### 相關文檔 <a href="#related-docs" id="related-docs"></a>

{% hint style="info" %}
**延伸閱讀**

* [工具功能概覽](/build/tools/tool_description.md)
* [為 Agent 配置工具](/build/tools/configure_tools.md)
* [內建 AI 圖像生成工具](/build/tools/ai-image-generation-guide.md)
* [建立 Agent](/build/agent/setup.md)
  {% endhint %}


---

# 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/build/tools/gemini-3-image-tool.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.
