[GH-ISSUE #10629] Image generation: OpenAI api response_format #54634

Closed
opened 2026-05-05 16:30:03 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @wrb2012 on GitHub (Feb 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10629

Feature Request


Is your feature request related to a problem? Please describe.
Image generation using openai ai , seems like open webui only support request response_format = 'b64_json'.

Many Openai api compatible service provider only support response_format = 'url' and its response like
response['data'][0]['url'] . The url is valid for a couple of days.

Describe the solution you'd like
support 'url' option in Settings and download image from this url in response

Originally created by @wrb2012 on GitHub (Feb 23, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10629 # Feature Request --- **Is your feature request related to a problem? Please describe.** Image generation using openai ai , seems like open webui only support request `response_format = 'b64_json'`. Many Openai api compatible service provider only support `response_format = 'url'` and its response like `response['data'][0]['url']` . The url is valid for a couple of days. **Describe the solution you'd like** support `'url'` option in Settings and download image from this url in response
Author
Owner

@tjbck commented on GitHub (Feb 23, 2025):

PR Welcome!

<!-- gh-comment-id:2677123726 --> @tjbck commented on GitHub (Feb 23, 2025): PR Welcome!
Author
Owner

@tjbck commented on GitHub (Mar 4, 2025):

9c107f9d2d

<!-- gh-comment-id:2696140662 --> @tjbck commented on GitHub (Mar 4, 2025): 9c107f9d2d4cd747d5831c9251c31c57bb0bb10f
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#54634