POST /v1/chat/completions
Authorization: Bearer <你的密钥>
Content-Type: application/json
{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"你好"}],"stream":true}
模型列表接口:GET /v1/models(需密钥)· 健康检查:GET /health · 本页 JSON 版:/?format=json
接口地址:https://api.dcy.su/v1 —— 即本页当前访问入口,可直接填入客户端
# 文生图(模型:hunyuan-image-alpha)
POST /v1/images/generations
{"model":"hunyuan-image-alpha","prompt":"一只在草地上玩耍的橘猫","n":1}
# 图生图(模型:hunyuan-image-alpha-edit,image_url 传图片地址)
POST /v1/images/edits
{"model":"hunyuan-image-alpha-edit","prompt":"把背景换成夜晚星空","image_url":"https://example.com/input.png"}
两张均约 5.7 credits/张;支持 response_format: "b64_json" 返回 base64。
图生图的 image_url 需填**可公开访问**的图片地址;也可改用 multipart 的 image 字段上传,或用 image_data 传 base64。
strength 参数会影响重绘结果(实测 0.2 时输出风格差异更大),可自行调整尝试。| 模型 ID | 名称 | 系列 | 上下文(输入) | 最大输出 | 单请求上限 | 能力 | 计费 | 首字延迟 | 状态 | |
|---|---|---|---|---|---|---|---|---|---|---|
deepseek-v4-flash |
Deepseek-V4-Flash | DeepSeek | 1,000,000 | 50,000 | — | 仅思考 · 工具 · 图像 | x0.17 credits | 1.14s | 可用 | temperature 1 · top_p — · effort high |
deepseek-v4.1-flash |
Deepseek-V4.1-Flash | DeepSeek | 1,000,000 | 128,000 | — | 仅思考 · 工具 · 图像 | x0.11 credits | 1.04s | 可用 | temperature 1 · top_p — |
glm-5.3-flash |
GLM-5.3-Flash | GLM | 1,000,000 | 131,072 | — | 仅思考 · 工具 · 图像 | x0.08 credits | 1.57s | 可用 | temperature 1 · top_p — |
glm-5.3-flashx |
GLM-5.3-FlashX | GLM | 1,000,000 | 131,072 | — | 仅思考 · 工具 · 图像 | x0.19 credits | 1.25s | 可用 | temperature 1 · top_p — |
hy3 |
Hy3 | 混元 | 192,000 | 64,000 | — | 仅思考 · 工具 · 图像 | x0.00 credits | 0.71s | 可用 | temperature 0.9 · top_p 1 · effort high |
hy4-preview |
Hy4 preview | 混元 | 960,000 | 64,000 | 1,000,000 | 仅思考 · 工具 · 图像 | x0.29 credits | 1.49s | 可用 | temperature 0.9 · top_p 1 |
step-5-preview |
Step-5-Preview | Step | 1,000,000 | 64,000 | — | 仅思考 · 工具 · 图像 | x0.00 credits | 1.59s | 可用 | temperature 1 · top_p — |
space-bunny |
Space-Bunny | 其他 | 1,000,000 | 128,000 | — | 仅思考 · 工具 · 图像 | x0.08 credits | 0.89s | 可用 | temperature 1 · top_p — |
「已隐藏」= 平台侧未接入(调用返回 11102 service info not found)。代理**每 6 小时自动试调一次**,一旦平台开放会自动放出(状态显示「自动恢复」),也可手动触发 POST /v1/probe-hidden。
标注「文生图 / 图生图」的是图片模型:可直接在对话里用,也可走 /v1/images/* 接口;它们那列显示的是**生图耗时**(紫色,按最近几次实际生成统计,非首字延迟)。
首字延迟:发一条「你好」测首个输出 token 的耗时(含思考 token),绿≤1.5s / 黄≤4s / 红>4s;鼠标悬停可看总耗时。
手动重测:curl -X POST https://api.dcy.su/v1/benchmark -H "Authorization: Bearer <你的密钥>"(约 1 分钟,生图模型不参与;地址即本页当前访问入口)。
默认采样参数(temperature / top_p / reasoning_effort):电脑端悬停模型名称查看,手机端显示在每张卡片底部。