UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

46 lines (31 loc) 1.67 kB
--- title: 在 LobeChat 中使用 302.AI description: 学习如何在 LobeChat 中配置和使用 302.AI 的API Key,以便开始对话和交互。 tags: - LobeChat - 302.AI - API密钥 - Web UI --- # 在 LobeChat 中使用 302.AI <Image cover src={'https://file.302.ai/gpt/imgs/20250722/d346c796faa4443eb0bd4218f84205f6.jpg'} /> [302.AI](https://www.302.ai/) 是一个按需付费的 AI 应用平台,提供市面上最全的 AI API 和 AI 在线应用。 本文将指导你如何在 LobeChat 中使用 302.AI。 <Steps> ### 步骤一:获得 [302.AI](https://www.302.ai/) 的 API Key - 点击 `开始使用`,注册并登录 [302.AI](https://www.302.ai/) - 点击左侧的 `API Keys` - 点击 `添加API KEY`,复制并保存生成的 API 密钥 <Image alt={'获取 API 密钥'} inStep src={'https://file.302.ai/gpt/imgs/20250722/01abd69fd61540489781fd963e504a04.jpg'} /> ### 步骤二:在 LobeChat 中配置 302.AI - 访问 LobeChat 的`设置`界面 -`语言模型`下找到 `302.AI` 的设置项 <Image alt={'填入 API 密钥'} inStep src={'https://file.302.ai/gpt/imgs/20250722/5247463e74c742f79bef416bbb0722bf.jpg'} /> - 填入获得的 API 密钥 - 为你的 AI 助手选择一个 302.AI 的模型即可开始对话 <Image alt={'选择 302.AI 模型并开始对话'} inStep src={'https://file.302.ai/gpt/imgs/20250722/d346c796faa4443eb0bd4218f84205f6.jpg'} /> <Callout type={'warning'}> 在使用过程中你可能需要向 API 服务提供商付费,请参考 302.AI 的相关费用政策。 </Callout> </Steps> 至此你已经可以在 LobeChat 中使用 302.AI 提供的模型进行对话了。