AI 中转站· withrain.com
服务运行中

一个端点,连通全部模型

ai.withrain.com 个人 AI 中转服务

把 Gemini、OpenRouter、Mistral、NVIDIA NIM 等上游统一封装为 OpenAI 兼容接口,共用一枚 Bearer token。展开任一卡片即可取用端点地址与调用示例;状态灯反映各中转的实时可达性。

6 / 6
在线模型 API
6
中转通道总数
5
已上线子站

模型 API

OpenAI 兼容

全部端点遵循 /v1/chat/completions 规范,仅需替换路径前缀。鉴权统一使用站点 Bearer token。

Gemini
Google 多模态大模型
/gemini/
在线

EndpointPOST /gemini/v1/chat/completions
curl 示例
curl -X POST https://ai.withrain.com/gemini/v1/chat/completions \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-2.0-flash-exp","messages":[{"role":"user","content":"hi"}]}'
鉴权统一 Bearer token。model 以 Gemini 实际可用为准。
OpenRouter
聚合数百开源 / 闭源模型
/openrouter/
在线

EndpointPOST /openrouter/v1/chat/completions
curl 示例
curl -X POST https://ai.withrain.com/openrouter/v1/chat/completions \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4o-mini","messages":[{"role":"user","content":"hi"}]}'
鉴权统一 Bearer token。model 可自由选择,参考 OpenRouter 模型列表。
Mistral
欧洲旗舰模型
/mistral/
在线

EndpointPOST /mistral/v1/chat/completions
curl 示例
curl -X POST https://ai.withrain.com/mistral/v1/chat/completions \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistral-large-latest","messages":[{"role":"user","content":"hi"}]}'
鉴权统一 Bearer token。content 需为字符串(多轮数组会被自动展平)。
GitHub Models
GitHub 托管模型端点
/ghmodels/
在线

EndpointPOST /ghmodels/v1/chat/completions
curl 示例
curl -X POST https://ai.withrain.com/ghmodels/v1/chat/completions \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4o","messages":[{"role":"user","content":"hi"}]}'
鉴权统一 Bearer token。model 以 GitHub Models 列表为准。
NVIDIA NIM
NIM 推理微服务
/nim/
在线

EndpointPOST /nim/v1/chat/completions
curl 示例
curl -X POST https://ai.withrain.com/nim/v1/chat/completions \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"meta/llama-3.1-70b-instruct","messages":[{"role":"user","content":"hi"}]}'
鉴权统一 Bearer token。免费层大模型可能排队,建议优先生效稳定的中小尺寸模型。
Cerebras
晶圆级超算推理
/cerebras/
在线

EndpointPOST /cerebras/v1/chat/completions
curl 示例
curl -X POST https://ai.withrain.com/cerebras/v1/chat/completions \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama-3.3-70b","messages":[{"role":"user","content":"hi"}]}'
鉴权统一 Bearer token。model 以 Cerebras 实际可用为准。

创作应用

托管于家用主机

部署在本地 Ubuntu 主机、经隧道对外暴露的创作类服务。以下两项尚在部署流程中,卡片可展开查看当前进度。

ComfyUI
文生图 / 文生视频工作流 · SDXL 已出图验证
comfyui.withrain.com
部署中

现状Ubuntu 容器内 ComfyUI @ 8188 运行中(SDXL 已出图)。对外链路走 Cloudflare Tunnel 暴露。
后续步骤
1. 安装 cloudflared
2. cloudflared tunnel login
3. cloudflared tunnel create withrain-comfyui
4. cloudflared service install <credentials>
对外入口CF dashboard 为 comfyui.withrain.com 添加 CNAME 指向隧道地址。
GPT-SoVITS
AI 语音克隆与配音
voice.withrain.com
部署中

现状容器待部署,Ubuntu 上尚无对应服务监听。
后续步骤
1. 拉取 / 构建 GPT-SoVITS 镜像
2. 运行容器,暴露 9874 与模型权重卷
3. 建立隧道:voice.withrain.com → 127.0.0.1:9874
4. CF dashboard 添加 CNAME