Documentation navigation

gpt-image-2.5-sunburst-4k

Image已上架

GPT Image 2.5 Sunburst · 4K 线路用于 16:9 横版图片创作,默认尺寸 3840×2160、high 质量,可提交最多 16 张参考图片。该线路单独定价,与同家族的低价线路使用不同调用 ID。

价格

下表为最终扣费价,按实际用量结算(token / 张 / 秒),请求失败不扣费。

计费项售价
每张¥0.24

支持参数

端点:文生图 POST /v1/images/generations · 图生图 / 编辑 POST /v1/images/edits(multipart)

参数类型说明
modelstring必填:gpt-image-2.5-sunburst-4k
promptstring必填,画面描述
sizestring输出尺寸,如 1024x1024 / 1024x1536 / 1536x1024(具体可选值以模型为准)
nint生成张数,默认 1
response_formatstringurl(默认)或 b64_json
imagefile仅 edits:参考图,最多 16 张(multipart 重复上传 image 字段)

实测能力

能力项实测值证据
supported_sizes3840x2160—

接入示例

base_url 统一为 https://api.ai526.com,OpenAI 与 Anthropic 协议同一把 Key 通用。

curl(OpenAI 协议)

curl https://api.ai526.com/v1/images/generations \
  -H "Authorization: Bearer sk-你的Key" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2.5-sunburst-4k","prompt":"a red apple on a wooden table","size":"3840x2160","n":1}'

OpenAI SDK(Python)

from openai import OpenAI

client = OpenAI(base_url="https://api.ai526.com/v1", api_key="sk-你的Key")
img = client.images.generate(model="gpt-image-2.5-sunburst-4k", prompt="a red apple", size="3840x2160")
print(img.data[0].b64_json[:64])

还没有 Key?免费注册,1 分钟拿到 Key →