系统概览

--

运行时间

扫码进群,注明来意

微信二维码

添加微信获取更多技术支持和交流

系统信息

版本号
--
Node.js版本
--
服务器时间
--
操作系统
--
内存使用
--
CPU 使用
--
运行模式
--
进程 PID
--

路径路由调用示例

通过不同路径路由访问不同的AI模型提供商,支持灵活的模型切换

Gemini CLI OAuth

突破限制
/gemini-cli-oauth/v1/chat/completions
curl http://localhost:3000/gemini-cli-oauth/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gemini-2.0-flash-exp",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1000
  }'
/gemini-cli-oauth/v1/messages
curl http://localhost:3000/gemini-cli-oauth/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "gemini-2.0-flash-exp",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Gemini Antigravity

突破限制/实验性
/gemini-antigravity/v1/chat/completions
curl http://localhost:3000/gemini-antigravity/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gemini-3-pro-preview",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1000
  }'
/gemini-antigravity/v1/messages
curl http://localhost:3000/gemini-antigravity/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "gemini-3-pro-preview",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Claude Custom

官方API/三方
/claude-custom/v1/chat/completions
curl http://localhost:3000/claude-custom/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "claude-3-sonnet-20240229",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1000
  }'
/claude-custom/v1/messages
curl http://localhost:3000/claude-custom/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "claude-3-sonnet-20240229",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Claude Kiro OAuth

突破限制/免费使用
/claude-kiro-oauth/v1/chat/completions
curl http://localhost:3000/claude-kiro-oauth/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "claude-3-5-sonnet-20241022",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1000
  }'
/claude-kiro-oauth/v1/messages
curl http://localhost:3000/claude-kiro-oauth/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "claude-3-5-sonnet-20241022",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

OpenAI Custom

官方API/三方
/openai-custom/v1/chat/completions
curl http://localhost:3000/openai-custom/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-4",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1000
  }'
/openai-custom/v1/messages
curl http://localhost:3000/openai-custom/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "gpt-4",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Qwen OAuth

突破限制
/openai-qwen-oauth/v1/chat/completions
curl http://localhost:3000/openai-qwen-oauth/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen-turbo",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1000
  }'
/openai-qwen-oauth/v1/messages
curl http://localhost:3000/openai-qwen-oauth/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "qwen-turbo",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

iFlow OAuth

突破限制
/openai-iflow/v1/chat/completions
curl http://localhost:3000/openai-iflow/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen3-max",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1000
  }'
/openai-iflow/v1/messages
curl http://localhost:3000/openai-iflow/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "qwen3-max",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

OpenAI Codex OAuth

突破限制
/openai-codex-oauth/v1/chat/completions
curl http://localhost:3000/openai-codex-oauth/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "写一个Python快速排序"}],
    "stream": true
  }'
/openai-codex-oauth/v1/messages
curl http://localhost:3000/openai-codex-oauth/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "model": "gpt-5",
    "max_tokens": 4096,
    "messages": [{"role": "user", "content": "解释PKCE认证流程"}]
  }'

使用提示

  • 即时切换: 通过修改URL路径即可切换不同的AI模型提供商
  • 客户端配置: 在Cherry-Studio、NextChat、Cline等客户端中设置API端点为对应路径
  • 跨协议调用: 支持OpenAI协议调用Claude模型,或Claude协议调用OpenAI模型

可用模型列表

点击模型名称可直接复制到剪贴板
加载中...