APIMODELS 聚合上游厂商的企业级配额——同样的模型,统一 API 调用。只对成功请求计费,无月费,除 $10 起充外无最低消费。
cURL
# gpt-image-2 —— 1K $0.025 / 2K $0.03 / 4K $0.05(medium 档)
curl https://api.apimodels.app/v1/images/generations \
-H "Authorization: Bearer $APIMODELS_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "gpt-image-2", "prompt": "a teacup on a windowsill", "size": "1024x1024", "response_format": "url" }'
# → { "created": ..., "data": [ { "url": "https://r2.apimodels.app/images/....png" } ] }
# 出图约 2 分钟,客户端超时请设 300 秒;要非阻塞就去掉 size、改轮询 data.taskId我们以企业量级采购上游配额、薄利转售——模型与官方完全一致。
/pricing 页列出每个模型的实时单价(按次 / 按 token)。