Blog Post

Microsoft Developer Community Blog
2 MIN READ

🖼️Streamline Image Generation Workflow in Foundry Toolkit

junjieli's avatar
junjieli
Icon for Microsoft rankMicrosoft
Apr 30, 2026

Foundry Toolkit v1.0.1 brings GPT-Image-2 to your IDE — browse it in the Model Catalog, deploy it to your Foundry project, and generate images directly in the Playground without leaving VS Code.

Integrating image generation into a production AI application has historically meant juggling multiple surfaces — browsing models in the Foundry portal, setting up deployments via the Azure CLI, testing prompts in a separate tool, then stitching together API credentials before writing a single line of app code. That context-switching adds friction at exactly the moment you want to be experimenting.

With this release, the full image generation workflow — discover, deploy, prompt, iterate, export code — lives inside your editor. A few things this unlocks for developers:

🎨GPT-Image-2 in the Model Catalog

GPT-Image-2 via Microsoft Foundry is now listed in the Foundry Toolkit Model Catalog. You can browse its capabilities, review inference parameters, and deploy it to any Azure AI Foundry project directly from the sidebar — no portal tab-switching required.

To get started:

  1. Open FOUNDRY TOOLKIT → My Resources → Model Catalog
  2. Search for gpt-image-2 and select it to view model details and inference parameters.
  3. Click Deploy to add it to your active Foundry project.

✨Image Playground

With GPT-Image-2 deployed, the Playground automatically surfaces an Image Playground mode. Describe what you want, hit generate, and see results side by side — no REST client, no extra tooling. Use the View Code shortcut to copy the API call directly into your project.

To generate your first image:

  1. Click + New Playground in the Playground tab — the mode auto-selects Image Playground when gpt-image-2 is the active model.
  2. Type a prompt and send — generated images appear in the canvas with download controls.
  3. Click View Code (top right) to get a ready-to-paste code snippet for your application.

Image generation is one of the fastest-growing use cases in production AI applications — from dynamic content creation to data augmentation to UI asset generation. This update ensures developers building on Microsoft Foundry have a first-class path to ship those capabilities faster.

🚀 Get Started Today

Ready to experience the future of AI development? Here's how to get started:

We'd love to hear from you! Whether it's a feature request, bug report, or feedback on your experience, join the conversation and contribute directly on our GitHub repository.

Happy Coding!

Updated Apr 29, 2026
Version 1.0
No CommentsBe the first to comment