Skip to main content
POST
gpt-image-2.6-sunburst

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
default:gpt-image-2.6-sunburst
required

Must be one of: gpt-image-2.6-sunburst. Defaults to gpt-image-2.6-sunburst.

Available options:
gpt-image-2.6-sunburst
prompt
string
required

Length must be between 1 and 32000.

Required string length: 1 - 32000
images
string<url>[]

Temporary 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
Required array length: 1 - 14 elements
extends.edit.mask
string

Optional 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
extends.edit.markup
string

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
extends.edit.mask_is_base64
boolean

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.

extends.edit.markup_is_base64
boolean

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.

size
enum<string>
default:auto

Choose a preset size. GIF supports only auto. Defaults to auto.

Conditional limits:

  • GIF currently supports only size=auto when size is provided
Available options:
1008x1792,
1024x1024,
1024x1536,
1280x960,
1536x1024,
1792x1008,
2048x1152,
960x1280,
auto
quality
enum<string>

Optional. Omit to use upstream behavior; no platform quality default.

Available options:
auto,
high,
low,
max,
medium,
xhigh
complexity
enum<string>

Optional and independent of quality. Omit to use upstream default high; no platform default.

Available options:
high,
low,
medium
max_images
integer
default:1

Must be between 1 and 10. Defaults to 1.

Conditional limits:

  • svg requires max_images=1
Required range: 1 <= x <= 10
output_format
enum<string>
default:png

png is default. GIF animation or SVG text-to-image needs only output_format; no svg.model. Defaults to png.

Available options:
gif,
jpeg,
png,
webp
frame_count
integer

GIF only, integer 2-16. Omit to use upstream default 9; explicit zero is invalid.

Conditional limits:

  • frame_count is only supported with gif
Required range: 2 <= x <= 16
frame_duration_ms
integer

GIF 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
Required range: x >= 20
output_compression
integer

Integer 0-100, including 0. Only set for jpeg or webp; omit for png.

Conditional limits:

  • output_compression is only supported with jpeg or webp
Required range: 0 <= x <= 100
background
enum<string>

transparent requires png or webp. Omitted output_format uses png.

Conditional limits:

  • transparent background requires png or webp
Available options:
auto,
opaque,
transparent
moderation
string

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.

code
enum<integer>
required
Available options:
0
Example:

0

data
object
required
msg
string
required
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"