前提条件
1
获取你的 CometAPI API key
2
将 CometAPI 添加到 Coze 工作流
- 方法 1:CometAPI 插件(推荐)
- 方法 2:HTTP Request 节点
- 在 Coze 中,点击 Get Started 并创建一个新的工作流。
- 在工作流编辑器中,点击 Add Node → Plugins 并搜索 CometAPI。
- 将 CometAPI 插件节点添加到你的工作流中。




- 在插件节点的 API Key 字段中,粘贴你的 CometAPI API key。
- 点击 Test 验证连接,然后点击 Publish。


3
测试并发布
在工作流中运行一条测试消息(例如询问当前时间)。如果 AI 成功回复,则表示集成工作正常。发布该工作流以使其上线。

如果调用失败,请检查你的 API key 和端点 URL,或联系 CometAPI 支持。







