Aibubu
访问 Aibubu ↗
图片模型GPT Image

GPT Image 2.6 Sunburst Official

图片生成与编辑、五类 token 计费及 API 调用说明。

POST/v1/generations

查看 API 价格

GPT Image 2.6 Sunburst Official 支持图片生成与参考图编辑;可用状态以当前区域模型目录为准。

按五类实际 token 分别计费;单张预估价不是固定结算价。API 钱包与官网创作积分独立。

模型速览

项说明
Modelgpt-image-2.6-sunburst-official
Resolution1K / 2K / 4K

请求示例

通过 POST /v1/generations 创建任务,查询 GET /v1/tasks/{task_id} 或等待 Webhook。

{
  "model": "gpt-image-2.6-sunburst-official",
  "prompt": "A ceramic coffee cup on a white background",
  "input_mode": "text_to_image",
  "size": "1:1",
  "resolution": "1K",
  "quality": "low",
  "n": 1
}

字段说明

字段类型是否必填默认值说明
modelstring是-gpt-image-2.6-sunburst-official
promptstring是-图片描述
input_modestring否text_to_image生成或编辑
reference_imagesstring[]否-编辑时必填一张参考图 URL
qualitystring否auto质量
resolutionstring否1K分辨率
sizestring否auto画幅比例
ninteger否11–4
output_formatstring否png输出格式
output_compressioninteger否-0–100
backgroundstring否auto背景
moderationstring否low审核级别

可选枚举

字段支持值
input_modetext_to_image image_edit
qualityauto low medium high xhigh max
resolution1K 2K 4K
output_formatpng jpeg webp gif
backgroundauto transparent opaque
moderationauto low

计费

  • 文本输入、图片输入、缓存文本、缓存图片、图片输出按每百万 token 计价。缓存用量从未缓存输入中扣除,避免重复计费。