API 接口
2026/7/28大约 1 分钟
API 接口
QuickAPI 提供多种 API 接口,兼容 OpenAI、Anthropic、Gemini 等主流格式。
接口列表
OpenAI 兼容接口
| 接口 | 路径 | 说明 |
|---|---|---|
| 聊天补全 | /v1/chat/completions | OpenAI Chat Completions API |
| Responses | /v1/responses | OpenAI Responses API(新一代) |
| Response 压缩 | /v1/responses/compact | 压缩对话历史,降低 token 消耗 |
| 图像生成 | /v1/images/generations | OpenAI DALL-E 图像生成 |
| 向量化 | /v1/embeddings | OpenAI Embeddings 文本向量化 |
Anthropic 兼容接口
| 接口 | 路径 | 说明 |
|---|---|---|
| Anthropic Messages | /v1/messages | Anthropic Claude Messages API |
Google Gemini 接口
| 接口 | 路径 | 说明 |
|---|---|---|
| Gemini | /v1beta/models/{model}:generateContent | Google Gemini 内容生成 |
其他接口
| 接口 | 路径 | 说明 |
|---|---|---|
| Jina Rerank | /v1/rerank | 搜索结果重排序 |
| 模型列表 | /v1/models | 获取可用模型列表 |
| 用户信息 | /v1/user | 查询用户余额和用量 |
通用说明
认证方式
所有 API 接口均需要认证,支持以下方式:
- Bearer Token(推荐):
Authorization: Bearer YOUR_API_KEY - x-api-key(Anthropic 接口推荐):
x-api-key: YOUR_API_KEY
接入地址
| 接入方式 | 地址 | 说明 |
|---|---|---|
| 默认(推荐) | https://api.quickapi.store | 直接到阿里云 ESA |
| 北京节点 | https://api-bj.quickapi.store | 北京腾讯云 → 阿里云 ESA |
| 香港节点 | https://quickapi.lz-0315.com | 香港 Cloudflare Tunnel |
| IX 直链 | api-bj.lz-0315.com | IX 直链到北京腾讯云 |
请求格式
- Content-Type:
application/json - 字符编码: UTF-8
- 请求方法: POST(除模型列表为 GET)
⚠️ 支付重要提醒
支付功能必须使用 https://api.quickapi.store,只有该地址与支付网关做过校验。

