API 接入

API Base URL
https://yue.feidudu.top/v1
订阅平台 Base URL
https://yuehaochi.feidudu.top/v1

创建令牌

登录控制台,在令牌管理中创建 API 密钥。两个平台的账号、密钥和余额分别管理。

查询模型

curl https://yue.feidudu.top/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"

发送请求

curl https://yue.feidudu.top/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_CONFIGURED_MODEL","messages":[{"role":"user","content":"Hello"}]}'

站点信息

New API:yue.feidudu.top
Sub2API:yuehaochi.feidudu.top

模型调用需要管理员先配置有效的上游渠道或订阅账号。可用模型和价格以各平台配置为准。

开源项目

New API(AGPL-3.0)
Sub2API(LGPL-3.0)