gpt-image-2.6-sunburst

由 OpenAI 提供图像

GPT Image 2.6 Sunburst 支持官方渠道同步生图和编辑,可设置画质、尺寸、透明背景及输出格式。

更新于:
输入文本和图像编辑最多使用 16 张参考图
输出4 种格式PNG · JPEG · WebP · GIF
返回方式同步响应直接返回图像
价格优惠 20%官方价
Sunflower botanical plate — GPT Image 2.6 Sunburst published exampleSunflower botanical plate示例 01
Sunburst Roasters ceramic canister — GPT Image 2.6 Sunburst published exampleSunburst Roasters ceramic canister示例 02
Record-store crate digger — GPT Image 2.6 Sunburst published exampleRecord-store crate digger示例 03
Turntable stylus macro — GPT Image 2.6 Sunburst published exampleTurntable stylus macro示例 04
生成示例

从提示词到成图

A vintage scientific botanical plate of a sunflower, Helianthus annuus. The full plant in the center with the flower head, a cross-section of the head showing the spiral seed pattern, a single seed, a leaf, and the root. Thin leader lines connect each part to a small serif label: "Ray floret", "Disc floret", "Seed head spiral", "Achene", "Leaf", "Taproot". Title at the top in engraved serif capitals: "HELIANTHUS ANNUUS". Aged cream paper, fine ink linework with soft watercolor fills. No other text.

Exploded technical illustration of a turntable on off-white paper, its parts floating apart along one axis with thin leader lines and labels reading exactly "Platter", "Tonearm", "Cartridge", "Stylus", "Counterweight", "Drive Belt", "Motor", "Plinth". Clean editorial design, fine ink linework, muted earth tones with one cobalt accent, sharp legible type, no other words or logos.

A photorealistic studio product photograph of a matte sage-green ceramic coffee canister with a cork lid on a light oak counter. The canister has a minimal printed label that reads "SUNBURST ROASTERS" in bold geometric sans-serif, with "Single Origin · Ethiopia" in small text beneath. Soft window light from the left, gentle shadow, a few coffee beans scattered in front. 85mm lens, shallow depth of field.

Extreme macro of a turntable stylus riding a vinyl groove, dust specks, groove walls and the cantilever sharply resolved, a sliver of light glancing across the record. Muted true color with one cobalt accent, shallow depth of field, subtle grain, no text, logos, or watermark.

Two friends squeezed into a narrow record store listening booth sharing one pair of over-ear headphones, one laughing, one with eyes closed, tight framing against pegboard walls. Shot on a phone with direct on-camera flash, real skin texture, slight grain, muted true color with one orange accent, candid and unposed, no readable text, logos, or watermark.

Worm's-eye phone shot of a guy in his twenties in a plain faded black tee flipping through vinyl crates in a cramped record store, harsh fluorescent light, caught mid-grin as he pulls out a record. Shot on a phone, 0.5x ultra-wide, real skin texture, slight grain, muted true color with one cobalt accent, candid and unposed, no readable text, logos, or watermark.

Square vinyl record sleeve leaning on a turntable, minimal Swiss design, title reading exactly "AFTER HOURS" with a smaller line "Side A · 33⅓ RPM" and a four-line tracklist: "1. Neon Rain", "2. Last Train", "3. Slow Dial", "4. Morning Static". Clean editorial design, muted earth tones with one cobalt accent, subtle paper texture, sharp legible type, no other words or logos.

Record store front at night seen from across the street, hand-painted gold window lettering reading exactly "SECOND SPIN RECORDS", warm light and record bins inside, a cyclist blurring past in the foreground. Shot on a phone, slight motion blur, muted true color with one gold accent, sharp legible window lettering, no other words or logos.

模型能力

gpt-image-2.6-sunburst 能做什么

文生图

通过所选模型的文档接口,用文字生成照片、插画、示意图和宣传素材。

官方渠道输出设置

官方生成接口的画质、尺寸、背景透明度和格式选项因模型而异。

按渠道处理结果

官方生成接口同步返回图像,固定价渠道则提交异步任务,再查询结果。

按模型构造请求

查看所选模型的请求与操作列表,确认支持的字段和返回方式。

计费

按操作计费,单位为 quota

按模型、操作和输出设置扣除 quota。

官方渠道图像生成与编辑官方定价
模型价格
gpt-image-2.6-sunburst比官方价低 20%
API 请求

按操作查看请求

选择一个操作,查看对应接口和请求字段。

OpenAI Image

生成

通过官方渠道同步文生图。

POSThttps://api.ttapi.io/v1/images/generations

请求头

TT-API-KEYstring必填

填写 TTAPI API 密钥。

Content-Typestring必填

使用 application/json。

请求体

promptstring必填

图像生成描述,最多 32,000 字符。

modelenum必填

此模型使用 gpt-image-2.6-sunburst。

backgroundenum选填

可选 transparent、opaque 或 auto,默认 auto。透明背景仅支持 png 或 webp。

moderationenum选填

内容审核强度可设 low 或 auto,默认 auto。

ninteger选填

生成 1 至 10 张图像,默认 1 张。

output_compressioninteger选填

范围 0 至 100,默认 100,仅用于 jpeg 或 webp 输出。

output_formatenum选填

可选 png、jpeg、webp 或 gif,默认 png。仅 GPT Image 2.6 支持 GIF。

partial_imagesinteger按条件填写

流式返回 0 至 3 张中间图像,默认 0。仅在 stream 为 true 时可用。

qualityenum选填

可选 low、medium、high、xhigh、max 或 auto,默认 auto。

response_formatenum选填

仅支持 b64_json。GPT Image 始终返回 Base64 图像数据。

sizestring选填

可选 auto(默认)或 WIDTHxHEIGHT。宽高必须为 16 的倍数,宽高比介于 1:3 至 3:1,最长边不超过 3840 像素,总面积须为 655,360 至 8,294,400 像素。

streamboolean选填

默认 false。开启流式响应可接收生成进度和中间图像。

userstring选填

用于识别滥用的唯一终端用户标识。

查看当前渠道的接入文档
接入示例

查看选中渠道的代码示例

选择渠道和操作,再复制相应的接口地址、请求体或代码示例。

OpenAI Image

生成 接入示例

POST https://api.ttapi.io/v1/images/generations

curl --request POST \
  --url https://api.ttapi.io/v1/images/generations \
  --header "TT-API-KEY: $TTAPI_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"model":"gpt-image-2.6-sunburst","prompt":"A premium product photograph of a ceramic coffee cup on a warm gray background, soft window light, no text.","size":"1024x1536","quality":"medium","output_format":"webp","n":1}'