[GH-ISSUE #16571] issue: Default image size of 512x512 in UI is not valid for OpenAI #56630

Closed
opened 2026-05-05 19:50:02 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jsweetzer-ea on GitHub (Aug 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16571

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.6.23

Ollama Version (if applicable)

No response

Operating System

AWS Linux

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

USe default image settings with openai, generate images

Actual Behavior

IMage gen is broken without change to image size

Steps to Reproduce

<html> 2025-08-13 13:31:24.651 \| ERROR \| open_webui.utils.middleware:chat_image_generation_handler:584 - 400: [ERROR: Invalid value: '512x512'. Supported values are: '1024x1024', '1024x1536', '1536x1024', and 'auto'.] |   -- | --


</html>

Logs & Screenshots

Image Image

Additional Information

No response

Originally created by @jsweetzer-ea on GitHub (Aug 13, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16571 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.23 ### Ollama Version (if applicable) _No response_ ### Operating System AWS Linux ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior USe default image settings with openai, generate images ### Actual Behavior IMage gen is broken without change to image size ### Steps to Reproduce <html> <body> <!--StartFragment--> 2025-08-13 13:31:24.651 \| ERROR \| open_webui.utils.middleware:chat_image_generation_handler:584 - 400: [ERROR: Invalid value: '512x512'. Supported values are: '1024x1024', '1024x1536', '1536x1024', and 'auto'.] |   -- | -- <br class="Apple-interchange-newline"><!--EndFragment--> </body> </html> ### Logs & Screenshots <img width="1010" height="50" alt="Image" src="https://github.com/user-attachments/assets/f6c9f5d0-1e8d-4c1a-af1e-a7e87842599f" /> <img width="1016" height="278" alt="Image" src="https://github.com/user-attachments/assets/60d731f9-1acc-477e-a082-6acd590ff7b4" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-05 19:50:02 -05:00
Author
Owner

@tjbck commented on GitHub (Aug 13, 2025):

You should adjust the value yourself.

<!-- gh-comment-id:3183956232 --> @tjbck commented on GitHub (Aug 13, 2025): You should adjust the value yourself.
Author
Owner

@jsweetzer-ea commented on GitHub (Aug 13, 2025):

Well yes, of course, but the default value shouldn't be one that is incompatible either.

Edit: There is no console or in app error for this, I had to check the server log

<!-- gh-comment-id:3183977085 --> @jsweetzer-ea commented on GitHub (Aug 13, 2025): Well yes, of course, but the default value shouldn't be one that is incompatible either. Edit: There is no console or in app error for this, I had to check the server log
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#56630