Skip to content
Get started
GENERATION API CALLS
Image Model Generation

OpenAI

This page is auto-generated from model configurations. Last updated: 2026-11-18.

This reference lists all available OpenAI image generation models and their parameters. Use these parameter names when calling the Generation API.


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 16). 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 - Output width in pixels, in steps of 16 up to 3840. Larger images cost more.
height number No - 16 3840 - Output height in pixels, in steps of 16 up to 3840. Larger images cost more.
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.

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 16). 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 - Output width in pixels, in steps of 16 up to 3840. Larger images cost more.
height number No - 16 3840 - Output height in pixels, in steps of 16 up to 3840. Larger images cost more.
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.

OpenAI GPT Image 2.6 Flare for fast, high-quality everyday image generation and editing.

Model ID: model_openai-gpt-image-2-6-flare

Capabilities: txt2img, img2img

LLM Markdown: https://app.scenario.com/api/models/model_openai-gpt-image-2-6-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 or a markup image.
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.
markup file No - - - - Marks (circles, arrows, scribbles) showing where to make the edit the prompt describes. Sketch them on the first reference image, or upload a PNG of the marks alone on a transparent background. The model removes the marks. It must have the first reference image’s aspect ratio and cannot be combined with a mask.
numOutputs number No 1 1 10 - How many images to create from the same prompt (1-10).
width number No - 16 3840 - Output width in pixels, in steps of 16 up to 3840. Larger images cost more.
height number No - 16 3840 - Output height in pixels, in steps of 16 up to 3840. Larger images cost more.
outputFormat string No png - - png, webp, jpeg, gif, svg The file type. PNG keeps maximum quality; WebP and JPEG are smaller. GIF makes a looping animation (see the GIF settings). SVG makes a vector image, from a prompt only and one image at a time.
frameCount number No - 2 16 - GIF only: how many animation frames to draw (2-16). Leave unset for 9.
frameDurationMs number No - 20 655350 - GIF only: how long each frame shows, in milliseconds (20-655350). Leave unset for 200.
svgModel string No gpt-5.4-mini - - gpt-5.4-mini, gpt-5-mini, gpt-5-nano, gpt-5, gpt-5.5 SVG only: the text model that writes the SVG from the rendered image. Larger models cost more.
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.
complexity string No - - - ``, low, medium, high How much the model plans the image before drawing it. Lower plans less and can finish faster. Leave unset to let the model choose. It does not change the cost.
background string No auto - - auto, opaque, transparent Whether the background is solid (Opaque) or see-through (Transparent). Auto lets the model decide.

OpenAI GPT Image 2.6 Sunburst, the most capable GPT Image model for generation and editing where precision matters most.

Model ID: model_openai-gpt-image-2-6-sunburst

Capabilities: txt2img, img2img

LLM Markdown: https://app.scenario.com/api/models/model_openai-gpt-image-2-6-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 or a markup image.
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.
markup file No - - - - Marks (circles, arrows, scribbles) showing where to make the edit the prompt describes. Sketch them on the first reference image, or upload a PNG of the marks alone on a transparent background. The model removes the marks. It must have the first reference image’s aspect ratio and cannot be combined with a mask.
numOutputs number No 1 1 10 - How many images to create from the same prompt (1-10).
width number No - 16 3840 - Output width in pixels, in steps of 16 up to 3840. Larger images cost more.
height number No - 16 3840 - Output height in pixels, in steps of 16 up to 3840. Larger images cost more.
outputFormat string No png - - png, webp, jpeg, gif, svg The file type. PNG keeps maximum quality; WebP and JPEG are smaller. GIF makes a looping animation (see the GIF settings). SVG makes a vector image, from a prompt only and one image at a time.
frameCount number No - 2 16 - GIF only: how many animation frames to draw (2-16). Leave unset for 9.
frameDurationMs number No - 20 655350 - GIF only: how long each frame shows, in milliseconds (20-655350). Leave unset for 200.
svgModel string No gpt-5.4-mini - - gpt-5.4-mini, gpt-5-mini, gpt-5-nano, gpt-5, gpt-5.5 SVG only: the text model that writes the SVG from the rendered image. Larger models cost more.
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.
complexity string No - - - ``, low, medium, high How much the model plans the image before drawing it. Lower plans less and can finish faster. Leave unset to let the model choose. It does not change the cost.
background string No auto - - auto, opaque, transparent Whether the background is solid (Opaque) or see-through (Transparent). Auto lets the model decide.