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

# 集成

> 在编程助手、聊天客户端和应用平台中使用 XHuoAPI。每篇教程都经过完整实测。

每个工具需要的都是同样三项：Base URL、API Key、模型 ID。完整的分步教程在官网。

<CardGroup cols={2}>
  <Card title="Cursor" icon="code" href="https://xhuoapi.ai/guides/cursor.html">在 Cursor 的 Models 设置里填 API Key 并开启 Override OpenAI Base URL，即可通过 XHuoAPI 调用 DeepSeek、Claude、GPT 等模型。</Card>
  <Card title="Claude Code" icon="code" href="https://xhuoapi.ai/guides/claude-code.html">设置 ANTHROPIC\_BASE\_URL 和 ANTHROPIC\_AUTH\_TOKEN 两个环境变量，Claude Code 就能通过 XHuoAPI 调用 Claude，也能换成 DeepSeek、GLM、Qwen。</Card>
  <Card title="Codex CLI" icon="code" href="https://xhuoapi.ai/guides/codex-cli.html">在 \~/.</Card>
  <Card title="fx" icon="code" href="https://xhuoapi.ai/guides/fx.html">在 \~/.</Card>
  <Card title="Cline" icon="code" href="https://xhuoapi.ai/guides/cline.html">Cline 的 OpenAI Compatible 供应商配置：Base URL、API Key、模型 ID 三步接入 XHuoAPI，含 CLI 一行命令。</Card>
  <Card title="Roo Code" icon="code" href="https://xhuoapi.ai/guides/roo-code.html">Roo Code 的 OpenAI Compatible 供应商三步接入 XHuoAPI；不同模式可以绑定不同模型。</Card>
  <Card title="Continue" icon="code" href="https://xhuoapi.ai/guides/continue.html">在 Continue 的 config.</Card>
  <Card title="Open WebUI" icon="comments" href="https://xhuoapi.ai/guides/open-webui.html">在 Open WebUI 的 Admin Settings → Connections 里添加一条 OpenAI 连接指向 XHuoAPI，模型列表会自动拉取。</Card>
  <Card title="LobeChat" icon="comments" href="https://xhuoapi.ai/guides/lobechat.html">LobeChat 用 OPENAI\_PROXY\_URL 环境变量把 OpenAI 请求改发到 XHuoAPI。</Card>
  <Card title="Chatbox" icon="comments" href="https://xhuoapi.ai/guides/chatbox.html">在 Chatbox 里添加一个 OpenAI API 兼容的自定义供应商指向 XHuoAPI。</Card>
  <Card title="Cherry Studio" icon="comments" href="https://xhuoapi.ai/guides/cherry-studio.html">在 Cherry Studio 的模型服务里添加自定义供应商指向 XHuoAPI，一键获取模型列表。</Card>
  <Card title="Dify" icon="cubes" href="https://xhuoapi.ai/guides/dify.html">在 Dify 的模型供应商里用 OpenAI-API-compatible 逐个添加 XHuoAPI 的模型。</Card>
  <Card title="n8n" icon="diagram-project" href="https://xhuoapi.ai/guides/n8n.html">在 n8n 的 OpenAI 凭证里填 Base URL 指向 XHuoAPI，所有 OpenAI 节点与 AI Agent 节点即可复用。</Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.