图像GPT Image 2.6 Sunburst
使用 OpenAI GPT Image 2.6 Sunburst 结合多达 16 张参考图、50,000 字符提示词、蒙版与视觉标注引导进行图像编辑与合成。75% 折扣后 1K 编辑仅需 $0.0525,支持 4K 输出。
- openai
- gpt-image-2.6-sunburst
- text-to-image
使用 OpenAI GPT Image 2.6 Flare 高速生成和编辑高达 4K 的图像、动态 GIF 与矢量 SVG — 支持 3 档质量等级(low、medium、high)、15 种宽高比以及多达 16 张参考图融合编辑。
import requests
result = requests.post(
'https://api.e2x.ai/v1/jobs/submit',
headers={
'Authorization': f'Bearer {API_KEY}',
'Content-Type': 'application/json'
},
json={
'model': 'openai/gpt-image-2.6-flare/edit-image',
'input': {}
}
)import time
job_id = result.json()['jobId']
while True:
response = requests.get(
f'https://api.e2x.ai/v1/jobs/{'{job_id}'}',
headers={'Authorization': f'Bearer {'{API_KEY}'}'}
)
data = response.json()['data']
if data['status'] == 'completed':
print('Done!', data['outputs'][0]['url'])
break
elif data['status'] == 'failed':
raise Exception(f"Job failed: {'{'}data['error']['message']{'}'}")
time.sleep(2)
图像使用 OpenAI GPT Image 2.6 Sunburst 结合多达 16 张参考图、50,000 字符提示词、蒙版与视觉标注引导进行图像编辑与合成。75% 折扣后 1K 编辑仅需 $0.0525,支持 4K 输出。
使用 GPT Image 2.5 Sunburst 结合参考图像和自然语言指令编辑与转换图像。支持长达 50,000 字符提示词、4K 分辨率和 5 档质量等级。
使用 GPT Image 2.5 Flare 结合参考图像和自然语言指令编辑与转换图像。支持长达 50,000 字符提示词、4K 分辨率和 3 档质量等级。
图像全球最低价(50% 折扣:1K $0.03、2K $0.04、4K $0.09)支持多图参考及 4K 输出的 Google Nano Banana 2.1 图像编辑模型。
来自 E2X 团队的洞察、教程和更新。
全面对比 OpenAI GPT Image 2.6 Sunburst、GPT Image 2.6 Flare 与上一代 GPT Image 2.5。深入剖析 16 张参考图多图编辑、原生 GIF 动图与 SVG 矢量输出、绘制前规划 complexity、视觉标注 markup_image、提速 2.5 倍的 Flare 以及 E2X $0.0525 统一固定定价。
深度横评 E2X 平台上的三大旗舰图像生成与编辑模型:OpenAI GPT Image 2.6(Sunburst 与 Flare)、Google Nano Banana 2.1 与 Black Forest Labs FLUX.2 Pro。全面对比空间文字排版、16 图参考编辑、原生 GIF/SVG 生成、推理速度与价格。
详解如何在 E2X 上以每张 1K 仅 $0.0525(享 75% 折扣)接入 OpenAI GPT Image 2.6 Sunburst 与 GPT Image 2.6 Flare 的 text-to-image 和 edit-image 接口。涵盖原生 GIF 动图与 SVG 矢量图输出、16 张参考图多图编辑、xhigh 与 max 质量档位以及 Python、TypeScript 与 cURL 实战代码。
全面解析如何使用 OpenAI GPT Image 2.6 的 output_format: gif 与 svg 参数,直接从文本生成多帧循环 GIF 动图与可缩放矢量 SVG 徽标。涵盖 frame_count、frame_duration_ms、E2X 零压缩 CDN 直通机制、4 组真实输出与代码示例。
GPT Image 2.6 Flare edit-image 是 OpenAI 在 E2X 上提供的高速参考条件图像编辑与多图合成端点,服务地址为 openai/gpt-image-2.6-flare/edit-image。您可以在 image_urls 中传入最多 16 张参考图像(由 GPT Image 2.5 的 10 张扩展而来),并搭配长达 50,000 个字符的自然语言指令,以比 2.5 Flare 快达 2×–2.5× 的速度更新产品标签、重塑环境风格或将多个素材合成为统一的画面。凭借我们常驻的 75% 折扣,在覆盖 1K、2K 和 4K 分辨率的三档画质(low、medium、high)下,1K 编辑按每张输出图像 $0.0525 计费,比 fal.ai 上的 high 档位基准价($0.211)低 75%。
当编辑任务需要更重度的 xhigh 或 max 画质档位来处理微雕级包装文字或高密度工程图表时,请以完全相同的 $0.0525(1K)费率调用 GPT Image 2.6 Sunburst edit-image。如果您只需根据纯文本提示词生成图像,或者在不提供源图的情况下创建原生动态 .gif(output_format: "gif")和矢量 .svg(output_format: "svg")文件,请改用 GPT Image 2.6 Flare text-to-image(Sunburst text-to-image)。
以下展示了使用 E2X 上的 GPT Image 2.6 系列模型(assets.e2x.ai)生成的真实参考条件前后对比编辑、汽车场景赛博朋克转换、16 图参考标注工作流,以及配套的动态 .gif 输出样例。
image_urls[0])
image_urls[0]): 1122×1402(4:5 影棚产品照)"Clean studio packshot of a frosted emerald glass botanical elixir bottle with a brushed brass dropper cap resting on a plain white cyclorama table, minimalist cream paper label reading \"E2X BOTANICALS\" in fine black serif type, soft neutral lighting"
openai/gpt-image-2.6-flare/edit-image(aspect_ratio: "4:5",1122×1402)"Keep the exact frosted emerald glass botanical elixir bottle and brushed brass dropper cap from image 1 unchanged. Change the label text to read \"E2X.AI NIGHT SERUM 2.6\" in embossed gold foil serif lettering, and place the bottle on wet black volcanic basalt stones surrounded by glowing bioluminescent moss and warm golden sunburst rim lighting."aspect_ratio: "1:1")
openai/gpt-image-2.6-flare/edit-image(aspect_ratio: "1:1",resolution: "1K",quality: "high")"Transform this studio sports car scene into a high-contrast cyberpunk night showcase: add a glowing holographic neon marquee sign directly above the car and crisp illuminated custom livery on the door reading \"e2x.ai\" in bold legible lettering, bathed in electric cyan-blue and magenta anamorphic lens flares with neon reflections on wet asphalt."
16:9,1672×941): 将角色、产品与环境参考图同视觉标注箭头和边界框相结合。"High-tech creative art direction studio workbench displaying floating reference photographs of a character, a luxury perfume bottle, and a neon street backdrop converging into a central master composite frame with glowing cyan markup annotation arrows, bounding boxes, and a crisp label reading \"e2x.ai\""output_format: "gif")
openai/gpt-image-2.6-flare/text-to-image(output_format: "gif",aspect_ratio: "1:1",352×352)"A cute 3D isometric cyber-robot mascot character waving cheerfully beside a glowing cyan and gold neon badge reading \"e2x.ai\" in a sleek dark studio, smooth looping animation"openai/gpt-image-2.6-flare/edit-image 上的每次编辑请求均从 $0.03 的目录基准费率(30,000 微美分)起步,经我们的 75% 全局折扣减免至 $0.0075(7,500 微美分)后,再乘以两个参数系数:
resolution 系数:1K(默认)= ×1,2K = ×2,4K = ×3。quality 系数:low、medium(默认)和 high 均采用 ×7 系数。由于全部三个 quality 选项都将 $0.0075 的折后基准价乘以 7(1K 下为 $0.0075 × 7 = $0.0525),resolution 是唯一影响成本的变量。您可以按与 low 完全相同的价格运行 high 画质,也可以在交互式用户会话需要最快响应速度时选用 low。
以下为 2026 年 11 月 6 日核实的完整单次编辑费率矩阵:
| 输出分辨率 | E2X 折后费率 | 折前目录费率 | 综合系数 | fal.ai 同等费率 | 典型编辑阶段 |
|---|---|---|---|---|---|
1K(schema 默认) | $0.0525 | $0.21 | 1 × 7 | $0.211(高出 75%) | 快速背景替换、标签文案测试、交互式 UI 预览 |
2K | $0.1050 | $0.42 | 2 × 7 | $0.222(高出 53%) | 生产级电商产品图与网页首屏横幅 |
4K | $0.1575 | $0.63 | 3 × 7 | $0.401(高出 61%) | 印刷级合成图像与高分辨率母版导出 |
这一价格体系让编辑循环的预算规划变得非常直观。当您调整提示词以替换瓶身标签文字,或为产品抠图测试三种不同的光影环境时,可在开启 high 画质的同时将 resolution 保持在 1K(每次 $0.0525)。进行 5 次探索性 1K 编辑加上 1 次最终 2K 导出($0.105),总计仅需 $0.3675。
价格和产品条款可能会有所变动。请在做出购买决定前核对各服务商的当前定价。由于调度机制、可用性和处理条件不同,Google Batch 或 Flex 定价与标准按需 API 请求并不直接等价,因此未纳入本次对比。此对比仅针对特定范围,并非声称 E2X 在任何配置下均为全球最低价选项。
image_urls): openai/gpt-image-2.6-flare/edit-image 将 image_urls 的 maxItems 从 10 张(GPT Image 2.5)扩展至 16 个源 URL,支持在单次请求中完成多产品目录场景合成、风格迁移和角色设定集制作。mask_image)与视觉标注引导(markup_image): 除 image_urls 外,GPT Image 2.6 编辑管线还支持用于像素级锁定区域重绘的 mask_image,以及用于视觉标注(直接在参考照片上绘制箭头、边界框和空间引线标注)的 markup_image。low、medium、high): Flare 专为低延迟场景打造,完成编辑的速度比 2.5 Flare 快达 2×–2.5×,非常适合面向终端客户的设计工具和大批量电商目录自动化。1:1、1:2、2:1、1:3、3:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9、9:21、21:9)下输入最多 50,000 个字符的结构化编辑指令,并输出 png(默认)、jpeg 或 webp。在 openai/gpt-image-2.6-flare/edit-image 上,prompt 和 image_urls(1 至 16 个公开 HTTPS URL)是仅有的两个必填参数。aspect_ratio(默认 1:1)、resolution(默认 1K)、quality(默认 medium)和 output_format(默认 png)均为可选参数。
以下 curl 调用展示了如何以 high 画质和 2K 分辨率($0.105)提交跑车场景转换与定制涂装编辑任务:
curl -X POST https://api.e2x.ai/v1/jobs/submit \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2.6-flare/edit-image",
"input": {
"prompt": "Transform this studio sports car scene into a high-contrast cyberpunk night showcase: add a glowing holographic neon marquee sign directly above the car and crisp illuminated custom livery on the door reading \"e2x.ai\" in bold legible lettering, bathed in electric cyan-blue and magenta anamorphic lens flares with neon reflections on wet asphalt.",
"image_urls": [
"https://assets.e2x.ai/ui/assets/model-samples/2026/11/05/03f0e235-66e8-4a86-a375-ef80d30e3b9e_flare-ref-input.png"
],
"aspect_ratio": "1:1",
"resolution": "2K",
"quality": "high",
"output_format": "png"
}
}'
以下是一个完整的 Node.js 示例,它在 1K($0.0525)下编辑植物精华瓶棚拍图并轮询任务直至完成:
const headers = {
Authorization: `Bearer ${process.env.E2X_API_KEY}`,
"Content-Type": "application/json",
};
const createJob = await fetch("https://api.e2x.ai/v1/jobs/submit", {
method: "POST",
headers,
body: JSON.stringify({
model: "openai/gpt-image-2.6-flare/edit-image",
input: {
prompt: 'Keep the exact frosted emerald glass botanical elixir bottle and brushed brass dropper cap from image 1 unchanged. Change the label text to read "E2X.AI NIGHT SERUM 2.6" in embossed gold foil serif lettering, and place the bottle on wet black volcanic basalt stones.',
image_urls: [
"https://assets.e2x.ai/ui/assets/model-samples/2026/11/06/gallery-edit-before-botanical-bottle.png",
],
aspect_ratio: "4:5",
resolution: "1K",
quality: "high",
output_format: "png",
},
}),
}).then((res) => res.json());
const jobId = createJob.data.jobId;
while (true) {
await new Promise((r) => setTimeout(r, 3000));
const statusPayload = await fetch(`https://api.e2x.ai/v1/jobs/${jobId}`, {
headers,
}).then((res) => res.json());
const state = statusPayload.data.status;
if (state === "completed") {
console.log("Edited output URL:", statusPayload.data.outputs[0].url);
break;
}
if (state === "failed" || state === "cancelled") {
throw new Error(statusPayload.data.error?.message || `Edit job ${state}`);
}
}
image_urls 中的每个 URL 都必须能够通过 HTTPS 公开访问,以便我们的工作节点拉取源文件。您可以在机器可读端点规范中查看完整的参数定义,或通过我们的官方 SDK 进行集成。
根据您的编辑任务是优先追求高速周转、xhigh/max 画质档位、16 图参考合成、透明背景抠图还是低成本 4K 导出,在我们的图生图端点之间进行选择:
| 编辑模型 | 1K 价格 | 4K 价格 | 最大参考图数 | 核心优势 |
|---|---|---|---|---|
| GPT Image 2.6 Flare edit | $0.0525 | $0.1575 | 16 | 高速 3 档(low、medium、high)编辑、16 张参考图像、50K 提示词、支持标注与蒙版 |
| GPT Image 2.6 Sunburst edit | $0.0525 | $0.1575 | 16 | 以完全相同的 $0.0525(1K)价格新增 xhigh 与 max 画质档位 |
| GPT Image 2.5 Flare edit | $0.0525 | $0.1575 | 10 | 需要 aspect_ratio: "auto" 的旧版 2.5 工作流 |
| GPT Image 2 edit | $0.0525 | $0.1575 | 10 | 同等价格下支持 background: "transparent" Alpha 通道透明 PNG 抠图 |
| Nano Banana 2.1 edit | $0.0300 | $0.0900 | — | 最低 4K 编辑价格($0.09)及最高达 8:1 的 15 种比例 |
| Nano Banana Pro edit | $0.0750 | $0.1500 | — | 跨角色参考角度的面部身份特征保持 |
编辑提示词专注于描述增量变化(delta)、而非从头重新描述整张源图时,效果最佳:
"keep the exact frosted emerald glass bottle and brushed brass dropper cap from image 1 unchanged")。image_urls 中传入多个 URL 时,按从 1 开始的位置编号进行引用(例如 "take the sports car from image 1, apply the wet neon street lighting from image 2, and place the badge from image 3 on the door")。")内,并说明它与现有表面的贴合关系(例如 "add crisp illuminated custom livery on the door reading \"e2x.ai\" in bold legible lettering")。high 画质,快速预览选用 low:两个档位在 1K 下均为 $0.0525;low 优先保证速度,而 high 能让小字号字距和反射细节更加锐利。如需了解更多基于参考图的工作流示例,请阅读我们的一致性图像生成指南和 Nano Banana 模型对比。
享受我们的 75% 折扣后,单次编辑在 resolution: "1K"(默认)下计费 $0.0525,在 2K 下为 $0.105,在 4K 下为 $0.1575,无论 quality 设为 low、medium 还是 high 均完全一致。
image_urls 在单次请求中支持最多 16 个可公开访问的图像 URL(由 GPT Image 2.5 的 10 张提升而来)。请在提示词中按编号("image 1" 至 "image 16")引用每张图像,以便模型明确每个文件所扮演的角色。
两个端点共享相同的费率表(1K 为 $0.0525,2K 为 $0.105,4K 为 $0.1575)、50,000 字符提示词上限、16 张参考图容量以及 15 种宽高比。GPT Image 2.6 Flare 针对三档画质(low、medium、high)下的高速周转进行了优化,而 GPT Image 2.6 Sunburst edit-image 则新增了 xhigh 和 max 画质档位以实现极致的细节刻画。
支持。除多图 image_urls 数组外,GPT Image 2.6 编辑架构还支持用于局部重绘的 mask_image 以及用于视觉标注(绘制在参考图像上的箭头、边界框和位置标签)的 markup_image。
openai/gpt-image-2.6-flare/edit-image 端点输出 png、jpeg 和 webp 光栅图像。当您需要生成原生循环动态 .gif(output_format: "gif")或可缩放矢量 .svg(output_format: "svg")图形时,请以相同的 $0.0525(1K)费率调用 GPT Image 2.6 Flare text-to-image。
在 high 画质下测试提示词措辞和构图位置时,请保持 resolution: "1K"。每次 1K 调用仅需 $0.0525,而非 $0.105(2K)或 $0.1575(4K)。仅在最终导出时才将 resolution 提升至 2K 或 4K。