mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-26 22:49:41 -05:00
[GH-ISSUE #16726] issue: Image generation api is not working perfectly. It doesnt switch image size #18024
Reference in New Issue
Block a user
Originally created by @ALIENvsROBOT on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16726
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.22
Ollama Version (if applicable)
No response
Operating System
Ubuntu
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Im using comfyui for image generation along with open-webui. Im using this api /api/v1/images/generations
my request payload:
{
"model": "flux1-dev.safetensors",
"prompt": "cat holding hello world!",
"size": "1980x1080",
"n": "1"
}
its should return image in the size of 1980x1080 . But its returning the image in the size of 1024x1024 which is my default image setting. Image Generation api doesn't obey the size of the image from api.
Actual Behavior
/api/v1/images/generations api is not returning the image in the requested size instead its returning image in default size in the settings.
Steps to Reproduce
Generate image via /api/v1/images/generations . with different size in comfyui.
Logs & Screenshots
None
Additional Information
No response
@tjbck commented on GitHub (Aug 19, 2025):
Should be addressed with 8eb5807c5f737dcca6304acdf71345c8066ab33b!