gpt-image-2.6-sunburst
GPT Image 2.6 Sunburst generates and edits images from text and image inputs.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Must be one of: gpt-image-2.6-sunburst. Defaults to gpt-image-2.6-sunburst.
gpt-image-2.6-sunburst Length must be between 1 and 32000.
1 - 32000Temporary platform limit: 1-14 reference images. Full 16-image support awaits Aurora code fix.
Conditional limits:
- svg is text-to-image only; input images are not supported
1 - 14 elementsOptional URL or Base64 edit mask. Requires images, unsupported for gif/svg, and mutually exclusive with markup.
Conditional limits:
- mask requires at least one input image
- gif and svg do not support mask
Independent transparent PNG layer for the first input image. HTTPS URL or Base64 PNG selected by markup_is_base64. Requires images; mutually exclusive with mask. Server checks PNG, alpha, corrected dimensions, <=50 MB and <=16777216 pixels.
Conditional limits:
- markup requires at least one input image
- svg does not support markup
Set true for Base64 mask; omit or false for URL. The typed edit DTO validates this flag.
This field's allowed values depend on: extends.edit.mask.
Set true for Base64 PNG markup; omit or false for HTTPS URL. The typed edit DTO validates this flag.
This field's allowed values depend on: extends.edit.markup.
Choose a preset size. GIF supports only auto. Defaults to auto.
Conditional limits:
- GIF currently supports only size=auto when size is provided
1008x1792, 1024x1024, 1024x1536, 1280x960, 1536x1024, 1792x1008, 2048x1152, 960x1280, auto Optional. Omit to use upstream behavior; no platform quality default.
auto, high, low, max, medium, xhigh Optional and independent of quality. Omit to use upstream default high; no platform default.
high, low, medium Must be between 1 and 10. Defaults to 1.
Conditional limits:
- svg requires max_images=1
1 <= x <= 10png is default. GIF animation or SVG text-to-image needs only output_format; no svg.model. Defaults to png.
gif, jpeg, png, webp GIF only, integer 2-16. Omit to use upstream default 9; explicit zero is invalid.
Conditional limits:
- frame_count is only supported with gif
2 <= x <= 16GIF only, integer >=20. Omit to use upstream default 200. Preserve the submitted integer without rounding.
Conditional limits:
- frame_duration_ms is only supported with gif
x >= 20Integer 0-100, including 0. Only set for jpeg or webp; omit for png.
Conditional limits:
- output_compression is only supported with jpeg or webp
0 <= x <= 100transparent requires png or webp. Omitted output_format uses png.
Conditional limits:
- transparent background requires png or webp
auto, opaque, transparent Length must be at most 0.
Response
Business response. code=0 means the task was accepted; validation failures can return HTTP 200 with code=400.