Using Image-Generation Models
We demonstrate how to deploy image-generation models like GPT-Image and FLUX.1-Kontext-pro in Microsoft Foundry, test them in the playground with reference images and size options, and call the OpenAI Image API from Python code to generate and decode images.