mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #24435] issue: Refining a generated image sometimes refines a input image instead #107297
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 @i0ntempest on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24435
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.9.2
Ollama Version (if applicable)
No response
Operating System
macOS 26.4
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When I ask a model to refine a image generated based on some input images, it would sometimes apply the refinement to one of the input images instead. It looks like it's choosing a random image in the whole chat to refine.
Actual Behavior
Model should refine the generated image
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@owui-terminator[bot] commented on GitHub (May 7, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
🟣 #21806 issue: 0.8.5 image editing always uses first uploaded image id
This is the closest match: it reports image editing using the wrong uploaded image, specifically always reusing the first uploaded image id. The new issue has the same class of bug, but with the refined/generated image sometimes being applied to an earlier input image instead.
by iChristGit ·
bug🟣 #19339 issue: Multiple input images for image edit and generation are passed as separate instances instead of as a list
This earlier bug involved multiple input images being handled incorrectly for image generation/editing. It’s relevant because the new issue also appears to stem from incorrect image selection/association when several images exist in a chat.
by eml-henn ·
bug🟣 #21114 issue: Multiple image edits do not meet expectations.
This issue covers image editing behavior going wrong across multiple edit steps in the same chat. While not identical, it suggests a related state-tracking problem in the image-edit workflow that could overlap with the wrong-image refinement bug.
by gitFox117 ·
bug💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@tjbck commented on GitHub (May 8, 2026):
Addressed in dev!