mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #16267] feat: Azure OpenAI Image Generation support #17843
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @holzerseb on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16267
Check Existing Issues
Problem Description
I am using Azure OpenAI for all models. With the GPT-image-1 and Dall-e-3 available on Azure OpenAI, we want to support image generation through azure. However, any attempts to configure the image generation with azure fails.
I have attempted to use the Azure OpenAI API URL instead of the default OpenAI URL and tested multiple options for the URL:
I wanted to test it with Dall-e-3 first, so my default model is currently configured with "dall-e-3". Image size is 1024x1024. Steps is set to 1, but I've tried 10, 50, 100 too.
I'm using 4o for the chat.
While Open WebUI saves and enables the feature correctly, I get this response:
Clicking on the "Generate image" button, results in a popup "Error: Resource not found":
Desired Solution you'd like
I'd like to just be able to to use Azure OpenAI for image generation. Just like for the chat models. Thank you!
Alternatives Considered
No response
Additional Context
https://github.com/open-webui/open-webui/issues/15773
https://github.com/open-webui/open-webui/discussions/15774
@tjbck commented on GitHub (Aug 4, 2025):
PR welcome!