You're looking at a specific version of this model. Jump to the model overview.
openai /gpt-image-2.6-sunburst:ec503609
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
A text description of the desired image
|
|
| openai_api_key |
string
|
Your OpenAI API key (optional - uses proxy if not provided)
|
|
| aspect_ratio |
None
|
1:1
|
The size of the generated image. Use 'auto' to let the model pick. Sizes above 2560x1440 are experimental and may give more variable results.
|
| input_images |
array
|
A list of images to use as input for the generation
|
|
| number_of_images |
integer
|
1
Min: 1 Max: 10 |
Number of images to generate (1-10)
|
| quality |
None
|
auto
|
The quality of the generated image. Higher quality takes longer and costs more.
|
| complexity |
None
|
high
|
How much the model plans before rendering. Higher complexity helps with dense text and complex layouts but can increase latency.
|
| background |
None
|
auto
|
Set whether the background is transparent or opaque or choose automatically
|
| output_compression |
integer
|
90
Max: 100 |
Compression level (0-100%)
|
| output_format |
None
|
webp
|
Output format. 'gif' returns an animated GIF and works only for generation, not with input_images.
|
| frame_count |
integer
|
9
Min: 2 Max: 16 |
Number of frames in a GIF. Ignored for other formats. For GIFs, named aspect ratios map to smaller frame sizes (1:1 is 512x512) because all frames share one image budget.
|
| frame_duration_ms |
integer
|
200
Min: 20 Max: 2000 |
How long each GIF frame shows, in milliseconds, rounded to 10 ms. Ignored for other formats.
|
| moderation |
None
|
auto
|
Content moderation level
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}