跳轉到主要內容

Documentation Index

Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt

Use this file to discover all available pages before exploring further.

Open WebUI 是一個適用於 AI 模型的自架 Web 介面。請將其設定為使用 CometAPI 作為外部的 OpenAI 相容連線。

先決條件

設定

1

取得您的 CometAPI API key

登入 CometAPI 控制台。點擊 Add API Key,並複製您的 key 和 base URL(https://api.cometapi.com)。
CometAPI 控制台 — Add API Key
CometAPI API key 與 base URL
2

新增外部 OpenAI 連線

在 Open WebUI 中,前往 Admin PanelSettingsExternal Connections。啟用 External Link OpenAI API,在 API Address 欄位中輸入 https://api.cometapi.com/v1,將您的 key 貼到 Key 欄位,然後點擊 Save
已輸入 CometAPI URL 的 Open WebUI 外部連線設定
已儲存設定且 CometAPI 連線啟用中的 Open WebUI
3

測試連線

開始一段聊天並傳送測試訊息。成功收到回覆即表示整合運作正常。