跳转到主要内容

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.

Lobe-Chat 是一款功能丰富的开源 AI 聊天应用,内置支持 CometAPI——无需手动配置 URL。

前提条件

设置

1

获取你的 CometAPI API key

登录 CometAPI 控制台。点击 Add API Key 并复制你的密钥。
CometAPI 控制台——添加 API Key
CometAPI API key 和 base URL
2

选择 CometAPI 作为模型提供商

在 Lobe-Chat 中,点击你的头像 → Application SettingsModel Providers。选择 CometAPI,粘贴你的 API key,并打开该提供商开关。然后选择一个模型以启用它。
Lobe-Chat 应用设置——模型提供商列表
Lobe-Chat 中已输入 API key 的 CometAPI 提供商设置
3

测试连接

开始一段聊天并发送一条测试消息。成功收到响应即表示集成工作正常。
Lobe-Chat 对话中显示来自 CometAPI 的成功响应
Lobe-Chat 模型响应面板