路由:query (?/path),Base URL 填站点根地址;模型 ID 为 别名/模型(如 oc/deepseek-v4-flash-free) · Base URL https://ai.xiaoil.bot.cd
| 方法 | 地址 | 说明 |
|---|---|---|
| GET | https://ai.xiaoil.bot.cd/?v1/models | 可用模型列表(OpenAI 格式) · 需密钥 |
| GET | https://ai.xiaoil.bot.cd/?v1/models/info | 单模型元数据(?id=oc/model) · 需密钥 |
| POST | https://ai.xiaoil.bot.cd/?v1/chat/completions | 对话补全(流式 / 非流式) · 需密钥 |
| POST | https://ai.xiaoil.bot.cd/?v1/completions | 同 chat/completions · 需密钥 |
| POST | https://ai.xiaoil.bot.cd/?v1/images/generations | 图片生成(OpenAI 格式) · 需密钥 |
| GET | https://ai.xiaoil.bot.cd/?api/health | 健康检查(Agent Skills 兼容) |
| GET | https://ai.xiaoil.bot.cd/?health | 详细健康检查 |
| GET | https://ai.xiaoil.bot.cd/?skills/{id}/SKILL.md | Agent Skill 文档 |