WWW.WANWAN12.ME

Unified HTTPS Gateway

这个入口把当前能稳定兼容的服务都挂在同一个 HTTPS 主域名下。 模型接口继续使用 /api/v1,AstrBot 走 /astrbot/, NapCat 走它原生的 /webui/,同时保留 /napcat/webui/ 的跳转。

API: /api/v1 AstrBot: /astrbot/ NapCat: /webui/ Alias: /napcat -> /webui/
/api/v1 Codex Proxy API

OpenAI 兼容模型接口。调用时继续带 Bearer API Key,适合模型列表、聊天补全和工具调用。

查看模型列表
/astrbot/ AstrBot

入口挂在 /astrbot/。Dashboard 本体通过 Nginx 转发到本机 1212,相关 /api/* 继续由 AstrBot 后端处理。

打开 AstrBot
/webui/ NapCat

NapCat 原生前端前缀就是 /webui/。这里不硬改打包产物结构,保证主页面和插件资源路径保持一致。

打开 NapCat

API Example

把 Base URL 设成 https://www.wanwan12.me/api/v1,然后带上你的代理 API Key。

curl https://www.wanwan12.me/api/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <YOUR_CODEX_PROXY_API_KEY>' \
  -d '{
    "model": "gpt-5.4",
    "messages": [{"role": "user", "content": "hello"}]
  }'