Skip to main content
This source-fidelity example uses AzureOpenAITools, whose supported DALL-E models are retired. It is preserved as a legacy reference.
Azure DALL-E 2 and DALL-E 3 deployments are retired, and the v2.7.2 toolkit supports no current image model. Do not run this source as written.
azure_openai_tools.py

Current Alternatives

Use a current Azure image-generation client by following Microsoft’s migration guidance, or use Image Generation Agent with OpenAI GPT Image 2. Full source: cookbook/91_tools/models/azure_openai_tools.py