GPT Image 2.5 Sunburst 是 OpenAI 在 GPT Image 2 下一代产品线中推出的两款图像模型之一,专为对编辑精度要求最高的工作流打造。它沿用 GPT Image 2 的按 token 计费方式(文本/图像输入按量计费,输出按质量档位计费),并在 GPT Image 2 原有的低/中/高三档之外,新增两个厂商公开的输出质量档位:xhigh 和 max。
该模型目前尚未通过 TheRouter 开放调用。它已在此处登记(对应 TheRouter 的 openai/gpt-image-2.5-sunburst id),但在具备生产条件的环境中完成对 OpenAI /v1/images/generations 与 /v1/images/edits 端点的真实调用验证之前,将保持 is_active: false——这是本次变更要求的唯一硬性前置条件,用于阻止在验证前向该模型路由任何客户流量。目前 TheRouter 的 quality 参数仅开放低/中/高三档;xhigh/max 是厂商公开的真实价格,但在 TheRouter 的计费 schema 扩展支持之前尚不可通过该参数下单。
- • 精细图像编辑 — 局部重绘、对象替换以及要求与原图风格保持一致的编辑场景
- • 多轮创意迭代 — 对生成图像进行多轮编辑打磨
- • 一旦在 TheRouter 激活,可用于对保真度要求最高的正式创意素材生产
- • 目前不可用于任何实际流量 — 该模型尚未在 TheRouter 激活(见概述)
- • 成本敏感的大批量生成 — 计费方式相同但更注重速度的 GPT Image 2.5 Flare,或更低成本的 GPT Image 1 Mini 更合适
- • 需要 xhigh 或 max 质量档位的请求 — 目前尚不能通过 TheRouter 的 quality 参数下单
模态能力
能力
媒体生成能力
- sizes
- 1024x1024
- 1024x1536
- 1536x1024
- qualities
- low
- medium
- high
- max_outputs_per_request
- 4
- output_formats
- png
- jpeg
- webp
- defaults
- size
- 1024x1024
- quality
- medium
- sizes
- 1024x1024
- 1024x1536
- 1536x1024
- qualities
- low
- medium
- high
- max_reference_images
- 4
- output_formats
- png
- jpeg
- webp
- defaults
- size
- 1024x1024
- quality
- medium
价格明细
| 类型 | 费率 |
|---|---|
| 图片 | $0.014 每张图片 |
| 输入 | $5.40 每百万 Tokens |
| 输出 | $32.40 每百万 Tokens |
| Image input | $8.64 每百万 Tokens |
| Cached image input | $2.16 每百万 Tokens |
| Low quality | $0.0065 每张图片 |
| Medium quality | $0.014 每张图片 |
| High quality | $0.0572 每张图片 |
| X-high quality (not yet orderable via TheRouter's quality parameter) | $0.1015 每张图片 |
| Max quality (not yet orderable via TheRouter's quality parameter) | $0.2279 每张图片 |
Price shown is medium-quality generation; low and high quality bill at their own per-image rate below. Two additional quality tiers this model supports upstream (xhigh, max) are not yet orderable through TheRouter's quality parameter.
支持参数
模型规格
| 能力 | 文本生图、图像编辑developers.openai.com ↗ | 已核实 |
| 输出分辨率 | 1024×1024、1024×1536、1536×1024developers.openai.com ↗ | 已核实 |
| 质量档位(厂商公开) | low、medium、high、xhigh、max — TheRouter 目前仅开放 low/medium/high(见概述)developers.openai.com ↗ | 已核实 |
| 计费方式 | 文本/图像输入按 token 计费(每百万 token $5/$8),输出按质量档位计费developers.openai.com ↗ | 已核实 |
API 使用示例
所有新集成都应使用下方示例中的全球端点 api.therouter.ai;旧中国加速端点已下线。
建议使用异步 API
图像生成通常需要 30–180 秒,超过同步请求的边缘超时。下方示例已使用 ?async=true + 轮询模式。 查看异步图像生成 / 编辑完整指南 →
# 1) Submit job (returns 202 immediately with a polling URL).
# Image generation takes 30-180s — always use the async path in production.
JOB=$(curl -s -X POST "https://api.therouter.ai/v1/images/generations?async=true" -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "openai/gpt-image-2.5-sunburst",
"prompt": "A cinematic product render with soft studio lighting"
}' | python3 -c "import sys,json;print(json.load(sys.stdin)['id'])")
echo "submitted: $JOB"
# 2) Poll until terminal (succeeded / failed / cancelled / expired).
while :; do
R=$(curl -s "https://api.therouter.ai/v1/jobs/$JOB" -H "Authorization: Bearer $THE_ROUTER_API_KEY")
S=$(echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['status'])")
echo "status: $S"
case "$S" in
succeeded) echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['unsigned_urls'][0])"; break ;;
failed|cancelled|expired) echo "$R"; exit 1 ;;
esac
sleep 5
doneAPI 使用指南
图像生成
GPT Image 2.5 Sunburst 使用 Images API(非 Chat API)。向 /v1/images/generations 发送 POST 请求,包含提示词和模型 ID。目前尚不可路由 — 见概述。
curl https://api.therouter.ai/v1/images/generations \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2.5-sunburst",
"prompt": "A studio product photo of a ceramic mug on a warm gradient background",
"n": 1,
"size": "1024x1024",
"quality": "medium",
"output_format": "png"
}'图像编辑示例
上传一张图片并用文本 prompt 描述编辑要求;模型会返回编辑后的图片(base64)。
# Same async submit + poll pattern as /v1/images/generations.
JOB=$(curl -s -X POST "https://api.therouter.ai/v1/images/edits?async=true" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -F "model=openai/gpt-image-2.5-sunburst" -F "prompt=Turn this scene into a watercolor painting" -F "size=1024x1024" -F "image=@input.png" | python3 -c "import sys,json;print(json.load(sys.stdin)['id'])")
echo "submitted: $JOB"
while :; do
R=$(curl -s "https://api.therouter.ai/v1/jobs/$JOB" -H "Authorization: Bearer $THE_ROUTER_API_KEY")
S=$(echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['status'])")
echo "status: $S"
case "$S" in
succeeded) echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['unsigned_urls'][0])"; break ;;
failed|cancelled|expired) echo "$R"; exit 1 ;;
esac
sleep 5
doneopenai 其他模型
同类模型
跨供应商的相似能力档位常见问题
今天可以通过 TheRouter 向 gpt-image-2.5-sunburst 发送流量吗?
暂不可以。该模型已登记入库,但在完成对 OpenAI /v1/images/generations 与 /v1/images/edits 端点的真实调用验证之前,会保持 is_active: false。验证通过后将在后续提交中激活。
为什么描述里只有 low/medium/high,而厂商还公开了 xhigh/max?
TheRouter 目前的计费 schema 采用固定的三档词汇表(low/medium/high)对图像质量计费。厂商公开的 xhigh 和 max 是真实价格,但要让 TheRouter 的计费 schema 支持对其计费,是另一项已记录的后续工作——在此之前,该模型的 quality 参数仅接受 low/medium/high。
事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| 能力 | developers.openai.com ↗ | 2026-09-17 | 已核实 |
| 输出分辨率 | developers.openai.com ↗ | 2026-09-17 | 已核实 |
| 质量档位(厂商公开) | developers.openai.com ↗ | 2026-09-17 | 已核实 |
| 计费方式 | developers.openai.com ↗ | 2026-09-17 | 已核实 |
| 为什么描述里只有 low/medium/high,而厂商还公开了 xhigh/max? | developers.openai.com ↗ | 2026-09-17 | 待核实 |