Generate, edit and export images with GIF and SVG output in Foundry.
Today, Azure OpenAI GPT-image-2.6 Flare and GPT-image-2.6 Sunburst are rolling out in Microsoft Foundry. GPT-image-2.6 is the next iteration of OpenAI's image generation models, building on the GPT-Image-2.5 generation already available in Foundry. It gives developers and creative teams two options: Flare, designed for speed, and Sunburst, designed for quality and consistency across edits. Both are available on the same platform teams already use to build, govern and scale AI applications.
Meet the models
GPT-image-2.6 Flare is designed for speed. According to OpenAI, Flare can generate images in as little as six seconds. That makes it a good fit for high-volume or latency-sensitive workloads, like rapid concepting, creative variations and in-app generation where users are waiting on the result.
GPT-image-2.6 Sunburst is designed for quality. OpenAI describes Sunburst as bringing higher-quality generation and greater consistency across edits. It's well suited to multi-step creative work, such as iterating on a product shot, refining a brand visual or keeping a character consistent across a set of assets.
What's new in GPT-image 2.6
For developers, GPT-image-2.6 is designed to cut down on the extra steps between a prompt and a usable asset. Instead of re-rolling full prompts or converting files after generation, you can refine specific areas of an image, control its level of detail and request output formats like GIF and SVG directly. OpenAI's updates include:
- Faster generation compared with the previous generation, per OpenAI.
- SVG export for icons, illustrations and graphics that need to scale cleanly.
- Image markup, so you can point to the part of an image you want changed and refine it.
- Complexity control to adjust the level of detail in an image.
Why use GPT-image-2.6 in Foundry
Match the model to the workload. Teams can use Flare for drafts, volume and speed, and Sunburst for final assets and precise edits. Many teams may use both in one pipeline: Flare to explore directions, Sunburst to finalize the selected one.
Spend less time re-rolling. Markup-based editing and complexity control are designed to help teams refine an image without rewriting the whole prompt.
Get outputs in more usable formats. SVG output can reduce conversion steps when images are headed for websites, apps, decks or design systems.
Keep improving quality and cost over time. Having two models gives teams room to hill climb: observe, evaluate, optimize, validate and repeat, with people in control. For image workloads, that can look like this:
- Start with quality. Prototype with Sunburst to establish what a good result looks like for your use case and validate the end-to-end workflow.
- Define success. Turn brand guidelines and creative requirements into evaluation criteria, and build a set of representative prompts and reference images.
- Optimize. Change one thing at a time: move draft or high-volume tasks to Flare, tune prompts, quality and complexity settings, and reserve Sunburst for work that needs it.
- Validate and repeat. Compare each change against your baseline on quality, latency and cost. Keep what improves results, revert what doesn't, and revisit as new models arrive in the catalog.
Example use cases:
| Industry | Image and prompt |
|
Marketing and advertising: campaign concepts, localized variations and social assets. |
Prompt: Billboard-style campaign visual for a fictional sustainable sneaker brand, a runner on a city street at sunrise, bold headline space on the left reading 'Run Lighter', clean modern ad aesthetic. Wide 16:9 format. |
|
Retail and e-commerce: product imagery, lifestyle scenes and seasonal refreshes. |
Prompt: E-commerce product listing image of a fictional wireless headphone in matte sage green on a pure white background, soft studio shadow, three small inset detail shots along the bottom showing the ear cushion, charging port and folding hinge. Wide 16:9 format. |
|
Media and entertainment: storyboards, concept art and character-consistent sequences. |
Prompt: Four-panel storyboard for a short film scene: a detective enters a rainy neon-lit alley, finds a glowing briefcase, looks up as a drone appears overhead, then runs. Cinematic lighting, consistent character across all panels, panels labelled 1 to 4. Wide 16:9 format. |
|
Product and design teams: icons, illustrations and UI mockups exported as SVG. |
Prompt: Set of eight glossy, minimal icons for a fictional banking app (home, transfer, cards, savings, alerts, profile, support, settings), consistent 2px stroke, navy on white, arranged in a neat grid. Wide 16:9 format. |
From still image to motion
Foundry brings image and video models together in one catalog, so teams can generate a key frame with GPT-image-2.6 and then bring that image into a video model to animate it.
- Create the key frame. Explore directions with Flare, then produce the final frame with Sunburst: a product on a set, a character or a branded scene.
- Refine it. Adjust lighting, composition or details in specific areas while keeping the rest of the image consistent.
- Animate it. Pass the finished image to one of our video models in Foundry, and describe the motion you want: a slow camera push, a product rotating, a character turning toward the camera.
- Iterate. Because the image anchors the scene, you can experiment with motion while keeping the look, product details and composition consistent.
This image-first approach lets creative teams approve the look before generating video, and reuse one key frame across several video variations.
Get started: prompting GPT-image-2.6 in Microsoft Foundry
Fig. 1: Prompt: Studio product photo of a matte ceramic coffee mug on a walnut table, soft morning window light from the left, shallow depth of field, neutral beige background, space at the top for headline text. Wide 16:9 formatFig. 2: Animated gif of example prompt aboveYou can try both models in the Foundry portal playground, or call them through the image generation API or the Responses API.
Before you start, you'll need:
- An Azure subscription and a Foundry resource in a supported region.
- A deployment of GPT-Image-2.6 Flare or Sunburst.
- Your endpoint and credentials. We recommend Microsoft Entra ID authentication over API keys.
Generate an image with Python. Install the SDK with pip install openai, then run:
from openai import AzureOpenAI import os import base64 client = AzureOpenAI( api_version= "2025-04-01-preview", api_key=os.environ["AZURE_OPENAI_API_KEY"], azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"], ) result = client.images.generate( model="gpt-image-2.6-sunburst", # Your Azure deployment name prompt=( "Studio product photo of a matte ceramic coffee mug on a walnut table, " "soft morning window light from the left, shallow depth of field, " "neutral beige background, space at the top for headline text" ), n=1, size="1536x864", quality="high", output_format="png", ) image_bytes = base64.b64decode(result.data[0].b64_json) with open("mug.png", "wb") as f: f.write(image_bytes)
This code generates one image from a text prompt and saves it as a PNG. To edit an existing image, send it to the images edit endpoint with a new prompt, and optionally a mask that marks the area to change.
Prompting tips:
- Describe the scene in layers: subject, setting, lighting, camera or style, and composition.
- Say what the image is for. "A hero banner with space for headline text" gives the model useful layout direction.
- Put any text in quotes and keep it short when you want words to appear in the image.
- Edit, don't restart. Once an image is close, make targeted edits instead of rewriting the full prompt.
- Draft with Flare, finish with Sunburst, and use lower quality settings while exploring.
- Expect content filtering. Prompts or outputs flagged by the content filter return an error instead of an image; adjust the prompt and try again.
Why Microsoft Foundry
- Model choice in one place: access OpenAI image and video models alongside many other models, and test, deploy or switch between them within Foundry.
- Security and governance: build on Azure's enterprise infrastructure with built-in content filtering and responsible AI tooling.
- Simplified operations: unified billing and governance, with pay-as-you-go or reserved capacity options.
- Built for production: evaluation, observability and optimization tools to help teams move from prototype to production and keep improving.
Pricing and availability
Pricing is per 1M tokens.
|
Model |
Deployment type |
Modality |
Input |
Cached input |
Output |
|
GPT-Image-2.6 Sunburst |
Global Standard |
Image |
$8.00 |
$2.00 |
$30.00 |
|
Text |
$5.00 |
$1.25 |
N/A | ||
|
GPT-Image-2.6 Flare |
Global Standard |
Image |
$8.00 |
$2.00 |
$30.00 |
|
Text |
$5.00 |
$1.25 |
N/A |
Learn more
- GPT-Image-2.6 Flare and Sunburst in the Foundry model catalog [link]
- How to use image generation models in Microsoft Foundry