GPT Image 2.6 Sunburst
GPT Image 2.6 Sunburst is OpenAI’s image model for detailed work. It generates images from a text prompt and edits images you pass in. OpenAI recommends Sunburst when an image must meet demanding requirements for detail, layout, or edit accuracy. When response time matters more, use GPT Image 2.6 Flare.
What’s new in 2.6
Version 2.6 adds a complexity setting. It controls how much the model plans before it renders.
highis the default. Use it for dense text, complex layouts, and scenes where objects relate to each other.mediumandlowplan less. They suit focused edits, such as changing a background or a sign.
Higher complexity can take longer and can change parts of the image you didn’t ask about. Compare results for your task. Complexity doesn’t change the price.
OpenAI reports that Images 2.6 generates images 50% faster than the previous version. OpenAI also reports that Sunburst keeps images more consistent across edits when quality is medium or high.
Quality
The quality setting controls rendering detail and price. It accepts low, medium, high, xhigh, max, or auto, which is the default. Start with low for drafts. Use xhigh or max for final assets.
Quality and complexity are separate. Quality sets how detailed the render is. Complexity sets how much the model plans the composition first. If the layout is right but small text is hard to read, raise the quality and keep the complexity the same.
Animated GIFs
Set output_format to gif to get an animated GIF. Describe the motion and the loop in your prompt, such as “the lantern sways, then returns to its starting position. Smooth loop.”
frame_countsets the number of frames, from 2 to 16. The default is 9.frame_duration_mssets how long each frame shows, from 20 to 2000 milliseconds. The default is 200, so 9 frames loop in 1.8 seconds.aspect_ratiosets the size of each frame. For GIFs,1:1is 512x512 and16:9is 896x512, because all frames share one image budget.
GIFs work only for generation, not with input_images. A GIF is billed by the output tokens OpenAI reports, so more frames and higher quality cost more.
Editing
Pass one image in input_images to edit it. Pass several to combine subjects, styles, or references into one output. Sunburst reads input images at high fidelity, so there is no fidelity setting.
For a series of edits, pass the previous output as the next input, ask for one change at a time, and repeat what must stay the same.
Inputs
promptdescribes the image to generate or the edit to make.input_imagestakes one or more reference images.aspect_ratiotakes a named ratio (1:1,3:2,2:3,4:3,3:4,16:9,9:16),auto, or a size such as1024x1024. Sizes above 2560x1440 are experimental.qualitytakeslow,medium,high,xhigh,max, orauto.complexitytakeslow,medium, orhigh.number_of_imagesgenerates up to 10 images in one call.output_formattakeswebp(the default),png,jpeg, orgif.frame_countandframe_duration_mscontrol GIF frames.backgroundtakesauto,transparent, oropaque. Transparent backgrounds needpngorwebp.moderationtakesauto, the default, orlowfor less strict filtering.openai_api_keyis optional. Pass your own OpenAI key to pay OpenAI directly.
Prompting tips
Name the change you want. “Add soft coastal daylight” works better than “make it better.”
For photorealism, describe the camera. “50mm lens, soft daylight, shallow depth of field” gets closer to a real photo.
When you edit, say what must stay the same. “Change only the lighting. Keep the face, pose, and clothing.”
For text in the image, put the exact words in quotes and describe the typeface. Spell unusual words or brand names letter by letter.