mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:58:11 -05:00
[GH-ISSUE #16948] issue: Set Step is not working for Open AI/Gemini Image Generation Engine #18106
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 @Huanli-Gong on GitHub (Aug 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16948
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.25
Ollama Version (if applicable)
No response
Operating System
Windows 10
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
After filling Set Steps in the image generation, "steps" or "num_inference_steps" parameter should be sent in the request.
Actual Behavior
If Image Generation Engine is set to OpenAI or Gemini, that parameter is not included in the request as show here:
1db8dec4f5/backend/open_webui/routers/images.py (L527)Steps to Reproduce
Logs & Screenshots
[2025-08-27 06:32:12.145][329][serving][debug][imagegenutils.cpp:417] Image generation request options:
height: 256 (type: l)
num_images_per_prompt: 1 (type: i)
num_inference_steps: 50 (type: m)
width: 256 (type: l)
Additional Information
If it is by design since Openai and Gemini does not use that parameter, Set Step should be hidden when selecting OpenAI or Gemini. It is a visual issue that may confuse someone when it is not used or referred to in Open AI or Gemini api documentation.
@tjbck commented on GitHub (Aug 27, 2025):
Addressed with
3d6605bbfd