> ## Documentation Index
> Fetch the complete documentation index at: https://docs.preview.x6.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LobeChat

> 本文档仅供参考，演示如何配置我们的 API 与第三方 AI 聊天界面配合使用。文中提及的任何第三方软件、网站或服务均非由我们运营、控制或背书。

# **LobeChat 简介**

<Frame>
  <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-42.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=91f42a32aa2a2ac9606c567a78f59306" alt="Image" width="1200" height="482" data-path="images/image-42.webp" />
</Frame>

[**LobeChat**](https://lobechat.com) 是一个开源的多模态 AI 聊天平台与框架，作为各类大语言模型（LLM）的统一接入界面。它被设计为一个个人 AI"操作系统"，允许用户通过单一、连贯的界面访问、编排并使用不同的 AI 模型与工具。

核心特性：

* 通过 OpenRouter 协议支持多家提供商的模型
* 可扩展功能的插件生态
* 可定制的会话管理
* 跨平台访问

# 步骤

<Steps>
  <Step title="访问 LobeChat">
    打开 [https://lobechat.com](https://lobechat.com)，使用你偏好的方式登录（GitHub、Google 或邮箱等）。根据个人偏好完成账号设置。

    <Frame>
      <img src="https://mintcdn.com/x6/w6SForJHNVjHtEfm/images/lobe1.webp?fit=max&auto=format&n=w6SForJHNVjHtEfm&q=85&s=db9620bc46c6df05834fa41fd6ca1f2b" alt="Lobe1" width="1200" height="699" data-path="images/lobe1.webp" />
    </Frame>
  </Step>

  <Step title="进入 AI 服务提供商设置">
    1. 在界面左上角找到并点击你的 **用户头像**。
    2. 在下拉菜单中选择 **"Settings"**。

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-81.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=4526304788a4a4af5d7b1060ec8f20c4" alt="Image" width="1214" height="855" data-path="images/image-81.webp" />
    </Frame>

    3. 在 Settings 面板的左下角侧栏中，进入 **"Advanced"**。
    4. 开启开发者模式（Developer Mode）。

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-82.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=86c1c8cb2e1891e4971f66d9ca175f44" alt="Image" width="1214" height="855" data-path="images/image-82.webp" />
    </Frame>
  </Step>

  <Step title="配置 x6.ai API 连接">
    点击 Provider → OpenRouter，然后配置 API Key 和 API Proxy URL：

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-83.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=5dd943ac8c30cfeddf5b119281420852" alt="Image" width="1455" height="855" data-path="images/image-83.webp" />
    </Frame>

    **API 配置参数**

    | 字段            | 内容                                            |
    | ------------- | --------------------------------------------- |
    | API Key       | 在 [x6.ai](https://x6.ai/settings/api-keys) 获取 |
    | API Proxy URL | [https://api.x6.ai/v1](https://api.x6.ai/v1)  |

    填入凭证后，点击旁边的 **"+"** 按钮添加自定义模型配置。

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-84.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=73e69e751aeaefd38a93ec8a5389d630" alt="Image" width="1455" height="855" data-path="images/image-84.webp" />
    </Frame>

    #### **模型注册**

    指定你希望使用的模型。本示例以 [**Gemini 3 Pro Image Preview**](https://x6.ai/m/Gemini%203%20Pro%20Image%20Preview%20\(Nano%20Banana%20Pro\)) 为例。

    > 为获得最佳兼容性，请选择 **API 格式：OpenAI**。\
    > Provider：**Default**

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-46.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=82662084f9b7663e17d7128a00af9fb5" alt="Image" width="1054" height="669" data-path="images/image-46.webp" />
    </Frame>

    **Model ID 格式：**

    输入完整的 Model ID：

    `gemini-3-pro-image-preview`

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-47.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=07fcd4794191b9e28c3114626b7a2d96" alt="Image" width="1055" height="681" data-path="images/image-47.webp" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-85.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=64e93e980239d139d4f80c6bee967c3c" alt="Image" width="1455" height="855" data-path="images/image-85.webp" />
    </Frame>

    你可以在此配置相关参数，完成后点击 **"OK"**。

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-86.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=7d58a9357e30a45a5afc3cdf652c1e34" alt="Image" width="1455" height="855" data-path="images/image-86.webp" />
    </Frame>

    ### **启用提供商**

    打开右上角的 **OpenRouter 主开关**，启用提供商连接。

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-87.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=54552ab3695455701d1815a0c1e6ecb4" alt="Image" width="1600" height="768" data-path="images/image-87.webp" />
    </Frame>
  </Step>

  <Step title="开始对话">
    1. 点击左侧边栏的 Home 按钮，在 OpenRouter 下选择一个模型。

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-88.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=be952a480ef2b606273a2ef483c4f91f" alt="Image" width="1455" height="855" data-path="images/image-88.webp" />
    </Frame>

    2. 现在即可开始使用。

    <Frame>
      <img src="https://mintcdn.com/x6/el_h-gJpYp66h95k/images/image-89.webp?fit=max&auto=format&n=el_h-gJpYp66h95k&q=85&s=45cbc7941edcd605b3985d6e23396fec" alt="Image" width="1455" height="855" data-path="images/image-89.webp" />
    </Frame>
  </Step>
</Steps>

# **常见问题**

| **问题**    | **解决方案**                       |
| --------- | ------------------------------ |
| **认证失败**  | 检查 API Key 是否正确复制，前后没有多余空格     |
| **模型无响应** | 确认 Model ID 与 x6.ai 文档中的格式完全一致 |
| **连接超时**  | 检查网络连接，并确认 API Proxy URL 正确    |
