It is necessary to manually change 512x512 to one of the supported parameters.
Originally created by @LeXwDeX on GitHub (Jun 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14822
Regarding image generation, when choosing `openai` , an error occurs. The inspected error is as follows:
```
File "/app/backend/open_webui/routers/images.py", line 681, in image_generations
raise HTTPException(status_code=400, detail=ERROR_MESSAGES.DEFAULT(error))
│ │ │ └ "Invalid value: '512x512'. Supported values are: '1024x1024', '1024x1536', '1536x1024', and 'auto'."
│ │ └ <function ERROR_MESSAGES.<lambda> at 0x7fdf56308860>
│ └ <enum 'ERROR_MESSAGES'>
└ <class 'fastapi.exceptions.HTTPException'>
fastapi.exceptions.HTTPException: 400: [ERROR: Invalid value: '512x512'. Supported values are: '1024x1024', '1024x1536', '1536x1024', and 'auto'.]
```
It is necessary to manually change `512x512` to one of the supported parameters.
GiteaMirror
added the bug label 2026-05-25 06:13:49 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @LeXwDeX on GitHub (Jun 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14822
Regarding image generation, when choosing
openai, an error occurs. The inspected error is as follows:It is necessary to manually change
512x512to one of the supported parameters.@tjbck commented on GitHub (Jun 10, 2025):
Indeed different models support different params.