mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
issue: Image generation api is not working perfectly. It doesnt switch image size #6137
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 @ALIENvsROBOT on GitHub (Aug 19, 2025).
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!