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

# Canvas 畫布

MaiGPT Canvas 畫布：AI 產出文件與圖表時的呈現區域，如何請 AI 用 Canvas 輸出、預覽與下載，以及撰寫文件與製作圖表的技巧。

Canvas 是 MaiGPT 用來呈現文件與圖表的區域。當 AI 以 Canvas 產出內容時，你可以在對話旁檢視成果，並依內容類型使用預覽、原始碼與下載功能。Markdown 文件目前提供預覽；若要手動修改文字，請先下載檔案，再用文字編輯器開啟。

{% hint style="info" %}
嵌在網站上的 Web Chat 也有同一套畫布，另有呈現地點與行程的**地圖畫布**；訪客端的工具列與操作見 [Web Chat：畫布與瀏覽器](/build/choose-channel/web-chat.md#side-panels)。
{% endhint %}

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-f0ff5e804996511d1c21c83ed05e0ee9ecd2030d%2Fcanvas-markdown-preview.png?alt=media" alt="Markdown Canvas 文件預覽"><figcaption><p>Markdown Canvas 顯示文件內容，右上方提供原始碼、全螢幕與下載控制</p></figcaption></figure>

***

## 什麼時候會用到 Canvas <a href="#when-to-use-canvas" id="when-to-use-canvas"></a>

| 情境      | 範例指令                 |
| ------- | -------------------- |
| 寫報告     | 「幫我寫一份 Q1 業績摘要」      |
| 寫 Email | 「幫我回覆這封客戶的詢問信」       |
| 整理會議紀錄  | 「把以下內容整理成會議紀錄格式」     |
| 畫流程圖    | 「畫一張請假流程圖」           |
| 製作表格    | 「整理成表格比較 A 方案和 B 方案」 |

***

## 怎麼使用 <a href="#how-to-use" id="how-to-use"></a>

### 開啟 Canvas <a href="#open-canvas" id="open-canvas"></a>

AI 在產出較長的文件內容時，會自動開啟 Canvas。你也可以主動請它：

> 「幫我用 Canvas 寫一份...」

### 編輯內容 <a href="#edit-content" id="edit-content"></a>

Canvas 開啟後，你可以：

1. **檢視文件** — 在 Markdown Canvas 閱讀內容；切換到原始碼模式可以檢視 Markdown 文字，該模式也不是文字編輯欄位。
2. **下載後修改** — 下載 Markdown 檔案，再用文字編輯器修改；本機檔案的修改不會自動回寫 Canvas。
3. **提出修改指示** — 在對話框明確指出要調整的段落，例如「第二段改得更簡潔」。

### 匯出 <a href="#export" id="export"></a>

Markdown Canvas 右上角提供 <mark style="color:blue;">下載</mark> 選單：

* **原始格式 (.md)** — 儲存 Markdown 檔案，可用文字編輯器修改
* **PDF 文件** — 下載供閱讀與分享的 PDF

若要複製 Markdown 文字，可先切換到程式碼模式，再使用內容區的複製按鈕。

***

## Canvas 可以做出什麼 <a href="#what-canvas-can-create" id="what-canvas-can-create"></a>

| 類型     | 適合用來做          | 範例           |
| ------ | -------------- | ------------ |
| **文件** | 報告、Email、提案、公告 | 「寫一份新產品上線公告」 |
| **表格** | 比較分析、數據整理      | 「比較三家供應商的報價」 |
| **圖表** | 流程圖、組織圖、時序圖    | 「畫出客訴處理流程」   |

***

## 小技巧 <a href="#tips" id="tips"></a>

{% hint style="success" %}
**讓 AI 幫你迭代**

不需要一次到位。先讓 AI 產出初版，再一步步修改：

1. 「先寫一版草稿」
2. 「語氣改得更正式」
3. 「加上數據佐證」
4. 「最後一段改成行動呼籲」
   {% endhint %}

{% hint style="info" %}
**保留需要的版本**

需要保留目前內容時，先下載檔案。Markdown Canvas 的預覽與原始碼模式不提供直接修改文字的功能；請在下載後的本機檔案中編輯。
{% endhint %}

***

## 撰寫文件 <a href="#write-documents" id="write-documents"></a>

你可以請 AI 幫你寫報告、Email、提案、公告或會議紀錄，並在 Canvas 中檢視成果。Markdown 文件可下載後再手動編輯。

### 快速開始 <a href="#quick-start" id="quick-start"></a>

直接告訴 AI 你要寫什麼：

> 「幫我寫一封給客戶的報價回覆信」
>
> 「用 Canvas 幫我整理今天的會議紀錄」
>
> 「寫一份新功能上線的內部公告」

當 AI 以 Canvas 產出文件後，你可以開啟預覽並下載成果。

### 編輯與修改 <a href="#edit-and-revise" id="edit-and-revise"></a>

#### 下載後手動修改 <a href="#direct-edit" id="direct-edit"></a>

Markdown Canvas 無法像 Word 一樣直接點擊文字編輯。請使用右上角的下載選單儲存 Markdown 檔案，再用文字編輯器開啟；原始碼模式僅供檢視與複製。

#### 請 AI 幫你改 <a href="#ai-assisted-edit" id="ai-assisted-edit"></a>

在對話框輸入明確的修改指示，例如：

| 你說           | AI 做     |
| ------------ | -------- |
| 「語氣改正式一點」    | 整篇文件語氣調整 |
| 「第二段太長，精簡一下」 | 縮短特定段落   |
| 「加一段關於時程的說明」 | 新增段落     |
| 「改成條列式」      | 重新排版格式   |
| 「翻譯成英文」      | 整篇翻譯     |

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-feb7783cf407a43f54775edab716d4327a0e9cf4%2Fcanvas-markdown-download.png?alt=media" alt="Markdown Canvas 下載選單"><figcaption><p>下載選單提供原始 Markdown 格式與 PDF</p></figcaption></figure>

### 常用文件範本 <a href="#document-templates" id="document-templates"></a>

試試這些指令，快速產出常見文件：

| 文件類型      | 範例指令                                 |
| --------- | ------------------------------------ |
| **週報**    | 「幫我寫本週週報，重點有：完成 A 專案、開始 B 需求、下週要做 C」 |
| **Email** | 「寫一封婉拒供應商報價的 Email，語氣禮貌但明確」          |
| **會議紀錄**  | 「把以下內容整理成會議紀錄格式：（貼上筆記）」              |
| **提案**    | 「寫一份導入 AI 客服的提案大綱，包含效益分析」            |
| **公告**    | 「寫一份系統維護公告，時間是週六凌晨 2-6 點」            |

### 匯出文件 <a href="#export-document" id="export-document"></a>

Markdown 文件的下載與複製方式請見上方[匯出](#export)。下載後的本機檔案可用對應工具編輯。

***

## 製作圖表 <a href="#create-charts" id="create-charts"></a>

你可以用自然語言描述，讓 AI 在 Canvas 中幫你畫流程圖、組織圖、時序圖等各種圖表。不需要學任何語法，直接說你要畫什麼就好。

### 快速開始 <a href="#chart-quick-start" id="chart-quick-start"></a>

直接告訴 AI 你想畫什麼圖：

> 「畫一張請假流程圖」
>
> 「畫我們部門的組織架構圖」
>
> 「畫一張使用者下單到出貨的流程」

### 可以畫哪些圖表 <a href="#supported-chart-types" id="supported-chart-types"></a>

| 圖表類型    | 範例指令           | 用途      |
| ------- | -------------- | ------- |
| **流程圖** | 「畫出報銷流程」       | 步驟、決策分支 |
| **組織圖** | 「畫部門架構」        | 上下隸屬關係  |
| **時序圖** | 「畫 API 呼叫的時序圖」 | 系統互動順序  |
| **甘特圖** | 「畫專案時程甘特圖」     | 專案排程    |
| **心智圖** | 「用心智圖整理行銷策略」   | 發想與歸類   |

### 修改圖表 <a href="#edit-chart" id="edit-chart"></a>

產出後想調整？直接說：

| 你說              | AI 做 |
| --------------- | ---- |
| 「在第二步後面加一個審核步驟」 | 新增節點 |
| 「把流程圖改成由左到右」    | 調整方向 |
| 「拿掉最後一個步驟」      | 刪除節點 |
| 「顏色改成藍色系」       | 調整樣式 |

### 匯出圖表 <a href="#export-chart" id="export-chart"></a>

完成後你可以：

* **複製** — 貼到簡報或文件中
* **截圖** — 直接截取 Canvas 中的圖表畫面

***

## 下一步 <a href="#next-steps" id="next-steps"></a>

* [Deep Research 深度研究](/work/maigpt/deep-research.md)
* [回到 MaiGPT 總覽](/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/work/maigpt/canvas.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.
