OpenAI
This page is auto-generated from model configurations. Last updated: 2026-11-02.
This reference lists all available OpenAI image generation models and their parameters. Use these parameter names when calling the Generation API.
GPT Image 2
Section titled โGPT Image 2โOpenAI GPT Image 2 for high-fidelity image generation and editing (Modal)
Model ID: model_openai-gpt-image-2
Capabilities: txt2img, img2img
LLM Markdown: https://app.scenario.com/api/models/model_openai-gpt-image-2/markdown
| Parameter | Type | Required | Default | Min | Max | Allowed Values | Description |
|---|---|---|---|---|---|---|---|
prompt |
string | Yes | - | - | - | - | Text description of desired generation or edit. |
referenceImages |
file_array | No | - | - | - | - | Reference images for editing. Each image must be under 50 MB. |
mask |
file | No | - | - | - | - | PNG mask for inpainting, same dimensions as the first reference image. OpenAI uses the alpha channel only: fully transparent pixels are edited, fully opaque pixels are preserved. RGB white/black is ignored if there is no alpha. Export PNG with transparency โ do not flatten. If you paint a white-on-black mask, convert the white (edit) region to transparent. |
numOutputs |
number | No | 1 |
1 | 10 | - | Number of images to generate |
width |
number | No | - | 16 | 3840 | - | Output width in pixels. |
height |
number | No | - | 16 | 3840 | - | Output height in pixels. |
quality |
string | No | auto |
- | - | auto, high, medium, low |
Generation quality |
background |
string | No | auto |
- | - | auto, opaque |
Background option. |
GPT Image 2.5 Flare
Section titled โGPT Image 2.5 FlareโOpenAI GPT Image 2.5 Flare for fast, high-quality everyday image generation and editing.
Model ID: model_openai-gpt-image-2-5-flare
Capabilities: txt2img, img2img
LLM Markdown: https://app.scenario.com/api/models/model_openai-gpt-image-2-5-flare/markdown
| Parameter | Type | Required | Default | Min | Max | Allowed Values | Description |
|---|---|---|---|---|---|---|---|
prompt |
string | Yes | - | - | - | - | Describe the image you want to create, or how to edit your reference images. Plain, natural language works well. |
referenceImages |
file_array | No | - | - | - | - | Images to edit or build from (up to 10). Required if you provide a mask. |
mask |
file | No | - | - | - | - | An optional PNG that marks which parts of the first reference image to change. It uses transparency: fully transparent areas are edited, fully opaque areas are kept. Export a PNG with real transparency (donโt flatten it). If youโve drawn a white-on-black mask, convert the white โeditโ areas to transparent first. |
numOutputs |
number | No | 1 |
1 | 10 | - | How many images to create from the same prompt (1-10). |
width |
number | No | - | 16 | 3840 | - | The output width in pixels. |
height |
number | No | - | 16 | 3840 | - | The output height in pixels. |
quality |
string | No | auto |
- | - | auto, low, medium, high, xhigh, max |
How much effort goes into the image. Higher levels look better but cost more; Auto lets the model choose. |
background |
string | No | auto |
- | - | auto, opaque, transparent |
Whether the background is solid (Opaque) or see-through (Transparent). Auto lets the model decide. |
GPT Image 2.5 Sunburst
Section titled โGPT Image 2.5 SunburstโOpenAI GPT Image 2.5 Sunburst, the most capable GPT Image model for generation and editing where precision matters most.
Model ID: model_openai-gpt-image-2-5-sunburst
Capabilities: txt2img, img2img
LLM Markdown: https://app.scenario.com/api/models/model_openai-gpt-image-2-5-sunburst/markdown
| Parameter | Type | Required | Default | Min | Max | Allowed Values | Description |
|---|---|---|---|---|---|---|---|
prompt |
string | Yes | - | - | - | - | Describe the image you want to create, or how to edit your reference images. Plain, natural language works well. |
referenceImages |
file_array | No | - | - | - | - | Images to edit or build from (up to 10). Required if you provide a mask. |
mask |
file | No | - | - | - | - | An optional PNG that marks which parts of the first reference image to change. It uses transparency: fully transparent areas are edited, fully opaque areas are kept. Export a PNG with real transparency (donโt flatten it). If youโve drawn a white-on-black mask, convert the white โeditโ areas to transparent first. |
numOutputs |
number | No | 1 |
1 | 10 | - | How many images to create from the same prompt (1-10). |
width |
number | No | - | 16 | 3840 | - | The output width in pixels. |
height |
number | No | - | 16 | 3840 | - | The output height in pixels. |
quality |
string | No | auto |
- | - | auto, low, medium, high, xhigh, max |
How much effort goes into the image. Higher levels look better but cost more; Auto lets the model choose. |
background |
string | No | auto |
- | - | auto, opaque, transparent |
Whether the background is solid (Opaque) or see-through (Transparent). Auto lets the model decide. |