> ## Documentation Index
> Fetch the complete documentation index at: https://manus.im/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 內建 AI 功能

> 了解如何將 AI 功能整合到您的網路應用程式中

由 Manus 建構的網路應用程式不僅是靜態網站；它們是智慧、動態的平台，其核心融入了 AI 功能。這使您能夠為使用者建立獨特且引人入勝的體驗。

## 大型語言模型 (LLM)

您可以將大型語言模型的力量直接整合到您的應用程式中，以建立能夠理解和生成類似人類文字的功能。這為互動性和使用者協助開闢了無限可能。

| 用例 | 範例提示詞 |
| :- | :- |
| **AI 驅動的聊天機器人** | `"Add a chatbot to the bottom right corner of the site. It should be able to answer frequently asked questions about our pricing, features, and return policy."` |
| **內容生成工具** | `"Create a new page called 'Blog Post Helper'. Add a text input field and a button. When the user enters a topic and clicks the button, call the LLM to generate a 100-word blog post introduction on that topic and display it below."` |
| **自然語言搜尋** | `"Upgrade the search bar in the header to use natural language processing. When a user searches for 'cheap red shoes for running', it should understand the intent and show relevant products from the database."` |
| **自動摘要** | `"On the article pages, add a 'Summarize' button. When clicked, use the LLM to generate a three-bullet-point summary of the article's content."` |

## 圖像生成

除了基於文字的 AI，您還可以將動態圖像生成整合到您的應用程式中。這實現了廣泛的創意和個人化視覺體驗。

| 用例 | 範例提示詞 |
| :- | :- |
| **個人化頭像** | `"On the user profile page, add a feature to generate a personalized avatar. The user can enter a text description like 'a friendly robot with a blue hat', and the app should generate and display the image."` |
| **動態產品模型** | `"On the product page for our custom t-shirts, add a section where users can input text. Use the image generation model to create a mockup of the t-shirt with their custom text printed on it."` |
| **創意背景** | `"Create a 'background generator' tool. Add a text area where users can describe a scene, like 'a futuristic cityscape at sunset, in a watercolor style'. Generate a high-resolution background image based on their description."` |
| **AI 生成的插圖** | `"For our blog, create a feature that generates a unique header image for each new post based on the post's title and a summary of its content."` |

## 可用的 LLM 模型

由 LLM 驅動的功能可以在三家供應商的十個模型中任選其一執行：OpenAI（GPT-5）、Anthropic（Claude）和 Google（Gemini）。所有模型都支援視覺、工具使用、延伸思考/推理，以及結構化 JSON 輸出。它們在速度、能力和價格上有所不同。價格按 token 計算，輸入（提示詞）和輸出（回應）分開計費，下表以每 1,000,000 個 token 的美元價格列出。

| 模型 | 供應商 | 輸入（\$/1M） | 輸出（\$/1M） | 說明 |
| - | - | - | - | - |
| GPT-5 nano | OpenAI | \$0.05 | \$0.40 | OpenAI 最小且成本最低的模型 |
| GPT-5 mini | OpenAI | \$0.25 | \$2.00 | GPT-5 系列中精簡、成本較低的模型 |
| GPT-5 | OpenAI | \$1.25 | \$10.00 | OpenAI 的通用型 GPT-5 模型 |
| GPT-5.5 | OpenAI | \$5.00 | \$30.00 | OpenAI 能力最強的模型 |
| Claude Haiku 4.5 | Anthropic | \$1.00 | \$5.00 | Anthropic 最小且成本最低的模型 |
| Claude Sonnet 4.6 | Anthropic | \$3.00 | \$15.00 | Claude 系列中的中階模型 |
| Claude Opus 4.6 | Anthropic | \$5.00 | \$25.00 | Claude 系列中的高能力模型 |
| Claude Opus 4.7 | Anthropic | \$5.00 | \$25.00 | Claude Opus 級別中的最新模型 |
| Gemini 3 Flash | Google | \$0.50 | \$3.00 | Google 成本較低的高速模型 |
| Gemini 3.1 Pro | Google | \$2.00 | \$12.00 | Google 能力最強的模型 |

您可以在提示詞中指定特定模型，也可以描述您的目標，讓 Manus 為您選擇。同一個應用程式中的不同功能可以使用不同的模型。

| 用例 | 範例提示詞 |
| - | - |
| 選擇特定模型 | 「在右下角新增一個客服聊天機器人。使用 Claude Haiku 4.5，讓回應保持快速且低成本。」 |
| 讓 Manus 選擇 | 「在每篇文章中新增一個『摘要』按鈕。我希望品質好且成本低，請選擇合適的模型。」 |
| 並排比較模型 | 「建立一個頁面，讓我輸入一個提示詞，同時傳送給 GPT-5、Claude Sonnet 4.6 和 Gemini 3.1 Pro，並比較它們的回應、延遲和成本。」 |
| 啟用延伸思考 | 「在數學家教功能中，使用啟用延伸推理的 GPT-5，讓它逐步解題。」 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.