GPT Image 2.6 API:Flare 与 Sunburst 对比、每张图片价格和可运行代码
GPT Image 2.6 是 OpenAI 最新的图像模型,分为 Flare 和 Sunburst 两个版本。本指南介绍两者各自的用途、每张图片的价格、与 GPT Image 2 和 Nano Banana Pro 的对比,以及可以直接运行的请求,无论是从代码调用还是通过 MCP 从 AI 助手调用。
GPT Image 2.6 是什么
GPT Image 2.6 是 GPT Image 2.5 的后继版本,和它一样,分为两个输入相同、价格相同的模型。OpenAI 的模型列表各用一句话描述它们:
- GPT Image 2.6 Flare:“面向快速迭代的图像生成和编辑”。模型 id
gpt-image-2.6-flare。 - GPT Image 2.6 Sunburst:“面向精细视觉作品的图像生成和编辑”。模型 id
gpt-image-2.6-sunburst。
实际使用中:用 Flare 起草和迭代,把需要精细细节的画面交给 Sunburst。由于请求完全相同,切换只需修改 model 字符串。两者都能根据文本生成图片,也能编辑或合成你发送的图片。
输入与限制
| 选项 | GPT Image 2.6 Flare 和 Sunburst |
|---|---|
| 模型 id | gpt-image-2.6-flare, gpt-image-2.6-sunburst |
| 任务 | 文生图和图像编辑 |
| 分辨率 | 1K 和 2K |
| 宽高比 | 1:1、3:4、4:3、2:3、3:2、9:16、16:9、21:9 和 5:2 |
| 输入图片 | 最多 16 张,放在 image_urls 中(编辑单张图片:image_url) |
| 线路 | 一条线路 each |
Revana 上的 2.6 没有 4K 尺寸;如需 4K,请使用 GPT Image 2 或 GPT Image 2.5 Flare。模型未列出的尺寸或比例会在任何扣费之前以 422 被拒绝。
GPT Image 2.6 价格(2026 年 11 月)
两个版本都按生成的图片计费,两种尺寸价格相同:
| 模型 | 1K | 2K | 2K 下 100 张图片 | 2K 下 1,000 张图片 |
|---|---|---|---|---|
| Flare | $0.02 | $0.02 | $2.00 | $20.00 |
| Sunburst | $0.02 | $0.02 | $2.00 | $20.00 |
每个任务的价格在你提交时从预付余额中预留,只有图片交付后才会扣费;任务失败则释放预留。扣费金额会作为 cost_usd 随生成任务一起返回。价格页面列出了额度包和所有模型的价格。
其他 API 的收费
OpenAI 对 GPT Image 2.6 按 token 而不是按图片计费,所以每张图片的成本取决于尺寸、质量和你传入的图片。在按图片计费的服务商中,kie.ai 对两个版本的标价是 1K $0.03、2K $0.05(核对日期 2026 年 11 月 5 日),因此 Revana 在 1K 下低 33%,在 2K 下低 60%。kie.ai 还提供 4K 尺寸,Revana 不提供。我们的图像 API 价格对比涵盖了其他模型。
用 GPT Image 2.6 生成图片
发送 POST /v1/generations,带上模型 id、提示词、尺寸和宽高比。你会得到一个带有生成任务 id 的 202;轮询它,直到状态变为 succeeded。这张 2K 海报的费用是 $0.02。
export REVANA_API_KEY="sr_live_..."
# One Idempotency-Key per job, made once: resend with the same $KEY after a timeout, a 429 or a 5xx
KEY=$(uuidgen)
# 1. Submit the job (returns 202 with the generation id). max_cost_usd is your cap: the most it may cost.
curl https://api.revana.si/v1/generations \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $KEY" \
-d '{
"model": "gpt-image-2.6-flare",
"input": {
"prompt": "A minimalist concert poster. A single red guitar pick on cream paper, long soft shadow. Top: \"NIGHT SHIFT\" in bold condensed black letters. Bottom: \"LIVE 12.12\" in small caps.",
"resolution": "2K",
"aspect_ratio": "2:3"
},
"max_cost_usd": 0.1
}'
# 2. Poll with the id from step 1 until status is "succeeded" or "failed".
# A failed job is free; make a new KEY before you submit it again.
curl https://api.revana.si/v1/generations/gen_01JC7P3K8D \
-H "Authorization: Bearer $REVANA_API_KEY"import os
import time
import uuid
import requests
API = "https://api.revana.si/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['REVANA_API_KEY']}"}
def generate(model, prompt, **options):
# One Idempotency-Key per job: resend with the same key after a timeout and you get the same job back.
key = str(uuid.uuid4())
job = requests.post(f"{API}/generations", headers={**HEADERS, "Idempotency-Key": key}, json={
"model": model,
"input": {"prompt": prompt, **options},
"max_cost_usd": 0.1, # your cap: the most this job may cost
}).json()
while job["status"] in ("queued", "running"):
time.sleep(3)
job = requests.get(f"{API}/generations/{job['id']}", headers=HEADERS).json()
return job
prompt = "Studio photo of a ceramic coffee mug with a hand-painted blue wave, on a linen cloth, morning window light."
# Draft with Flare, then render the keeper with Sunburst: same request, another model id.
for model in ("gpt-image-2.6-flare", "gpt-image-2.6-sunburst"):
job = generate(model, prompt, resolution="2K", aspect_ratio="4:3")
print(model, job["status"], job.get("output"), job.get("cost_usd"))一个已完成的生成任务,图片链接在 output.urls 中。链接会过期,所以请把文件复制到你自己的存储中:
{
"id": "gen_01JC7P3K8D",
"model": "gpt-image-2.6-flare",
"status": "succeeded",
"output": {
"urls": [
"https://cdn.revana.si/g/gen_01JC7P3K8D/0.png"
]
},
"cost_usd": 0.02,
"attempts": 1,
"error": null,
"created_at": "2026-11-05T14:02:11Z",
"completed_at": "2026-11-05T14:02:40Z"
}编辑一张照片或合成多张
把最多 16 张图片作为 image_urls 发送,并按位置引用它们;或者把一张图片作为 image_url 发送,并写明你想要的修改。OpenAI 推荐 Sunburst 用于精细作品,因此它适合标签必须保持准确的产品编辑。这次编辑的费用是 $0.02。
{
"model": "gpt-image-2.6-sunburst",
"input": {
"prompt": "Put the perfume bottle from the first image on the marble shelf from the second image, beside a sprig of eucalyptus. Keep the bottle's label and logo exactly as they are. Soft side light.",
"image_urls": [
"https://example.com/bottle.png",
"https://example.com/shelf.jpg"
],
"resolution": "2K",
"aspect_ratio": "4:3"
},
"max_cost_usd": 0.1
}在 Claude、ChatGPT 或 Cursor 中使用 GPT Image 2.6(MCP)
Revana 的 MCP 服务器让 AI 助手用你的额度生成图片。只需添加一次,例如在 Claude Code 中:
claude mcp add --transport http revana https://revana.si/api/mcp然后用自然语言提问:“用 GPT Image 2.6 Sunburst 生成一张 2K 9:16 的快拍图片,内容是……”。助手会先报价,只有在你同意后才会生成。MCP 页面有其他应用的设置方法。
GPT Image 2.6、GPT Image 2 还是 Nano Banana Pro?
| GPT Image 2.6(Flare 或 Sunburst) | GPT Image 2.5 Flare | GPT Image 2 | Nano Banana Pro | |
|---|---|---|---|---|
| 开发商 | OpenAI | OpenAI | OpenAI | |
| 尺寸 | 1K, 2K | 1K, 2K, 4K | 1K, 2K, 4K | 1K, 2K, 4K |
| 输入图片 | 最多 16 张 | 最多 16 张 | 最多 16 张 | 最多 14 张 |
| 2K / 张 | $0.02 | $0.02 | $0.03 | $0.04 |
| 4K / 张 | 不提供 | $0.03 | $0.03 | $0.08 |
我们不发布画质排名:请用对你重要的提示词在其中两三个模型上跑一遍,因为请求格式相同。GPT Image 2 指南和 GPT Image 2 对比 Nano Banana Pro 对这两个模型有更深入的介绍。
路由与回退
目前 GPT Image 2.6 在 Revana 上只有一条线路,所以还没有自动回退。如果任务失败,它会以 failed 结束,且不收费。
对于必须完成的任务,请在你自己的代码中回退到 gpt-image-2.5-flare 或 gpt-image-2,它们接受同样的请求。
无需代码,在试用 GPT Image 2.6 Flare 页面体验,在模型页面浏览所有图像模型,阅读文档,或获取 API 密钥。
常见问题
GPT Image 2.6 API 的价格是多少?
2026 年 11 月,在 Revana 上,GPT Image 2.6 Flare 和 Sunburst 在 1K 或 2K 下都是每张图片 $0.02。2K 下 1,000 张图片为 $20.00。
GPT Image 2.6 Flare 和 Sunburst 有什么区别?
OpenAI 将 Flare 描述为面向快速迭代的图像生成和编辑,将 Sunburst 描述为面向精细视觉作品的图像生成和编辑。两者的输入相同、价格相同,所以你可以在两者上测试同一个提示词。
GPT Image 2.6 支持 4K 吗?
在 Revana 上不支持:GPT Image 2.6 提供 1K 和 2K。如需 4K,请用同样的请求调用 GPT Image 2.5 Flare 或 GPT Image 2。
我可以发送多少张参考图?
最多 16 张,通过 image_urls 传入。只编辑一张图片时,用 image_url 传入。
我可以在 Claude 或 ChatGPT 中使用 GPT Image 2.6 吗?
可以。添加 Revana 的 MCP 服务器(https://revana.si/api/mcp),然后让它用 GPT Image 2.6 生成图片;助手会在生成之前先报价。