Documentation Index
Fetch the complete documentation index at: https://docs.qingbo.dev/llms.txt
Use this file to discover all available pages before exploring further.
请求格式
所有请求使用 JSON 格式,需要以下 headers:成功响应
不同端点的响应结构有所不同,但都遵循各自的 API 规范:- Chat Completions — OpenAI 标准响应格式
- Claude Messages — Anthropic 标准响应格式
- Gemini — Google 标准响应格式
- 异步任务 — 清波 API 统一任务响应格式
错误响应
不同端点的错误结构略有差异: 同步端点(chat / messages / images 等)— OpenAI 兼容格式,带type 字段:
/v1/tasks/...)— 简化格式,只 message + code:
状态码
| 状态码 | 说明 | 处理方式 |
|---|---|---|
| 400 | 请求参数无效 | 检查请求参数格式 |
| 401 | 认证失败 | 检查 API Key 是否正确 |
| 402 | 余额不足 | 充值账户 |
| 404 | 任务/资源未找到 | 检查 task_id 是否正确 / 是否归当前账号 |
| 429 | 请求频率超限 | 降低请求频率 |
| 500 | 服务器内部错误 | 稍后重试 |