跳轉到主要內容

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.

ChatHub 是一個瀏覽器擴充功能,讓你可以同時與多個 AI 模型對話。將 CometAPI 新增為與 OpenAI 相容的提供者,然後從模型頁面選擇你想要的模型。

先決條件

  • 已安裝 ChatHub 瀏覽器擴充功能
  • 擁有一個啟用中 API key 的 CometAPI 帳戶

設定

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

在 ChatHub 中設定 OpenAI

開啟 ChatHub 的 SettingsOpenAI。在 API Host 欄位輸入 https://api.cometapi.com,將你的 CometAPI key 貼到 API Key,然後按一下 Save
已填入 CometAPI host 的 ChatHub OpenAI 設定
在 ChatHub 設定中填入 API key 欄位
3

測試連線

在 ChatHub 中傳送一則測試訊息。若成功收到回覆,即表示整合運作正常。
ChatHub 顯示來自 CometAPI 的成功回應