[GH-ISSUE #24659] issue: unable to generate images using openrouter #107370

Open
opened 2026-05-18 06:10:06 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @M0n7y5 on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24659

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

latest

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04,

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Being able to generate images using models from openrouter

Actual Behavior

The generation fails with error message.

Steps to Reproduce

Just add openrouter as an provider and try the same model as on the picture

Logs & Screenshots

Image

Additional Information

No response

Originally created by @M0n7y5 on GitHub (May 13, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24659 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version latest ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04, ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Being able to generate images using models from openrouter ### Actual Behavior The generation fails with error message. ### Steps to Reproduce Just add openrouter as an provider and try the same model as on the picture ### Logs & Screenshots <img width="1039" height="198" alt="Image" src="https://github.com/user-attachments/assets/c86fe500-7eae-431d-80d5-9eb98f22af03" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-18 06:10:06 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (May 13, 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:

  1. 🟣 #18998 feat: Support Openrouter image generation
    This is the original feature request for OpenRouter image generation support, directly matching the new issue’s topic. It provides context that OpenRouter image generation has been a known area of work in Open WebUI.
    by Joly0

  2. 🟣 #20634 issue: OpenRouter image generation Chunk too big error
    This issue reports a failure specifically when generating images through OpenRouter, which is very close to the new report. The symptom differs (Chunk too big vs a generic generation error), but both are OpenRouter image-generation breakages.
    by eniraa · bug

  3. 🟣 #23611 bug: Image generation fails with providers that don't support 'size' parameter (e.g., xAI/grok-imagine-image)
    This bug is about image generation failing because Open WebUI sends unsupported parameters to the upstream provider. The new issue also involves OpenRouter image generation failing, so this is relevant as a likely similar integration/parameter-handling problem.
    by agent2x0r · 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.

<!-- gh-comment-id:4441047581 --> @owui-terminator[bot] commented on GitHub (May 13, 2026): <!-- terminator-bot:related-issues-reply --> 🔍 **Related Issues Found** I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions: 1. 🟣 [#18998](https://github.com/open-webui/open-webui/issues/18998) **feat: Support Openrouter image generation** *This is the original feature request for OpenRouter image generation support, directly matching the new issue’s topic. It provides context that OpenRouter image generation has been a known area of work in Open WebUI.* *by Joly0* 2. 🟣 [#20634](https://github.com/open-webui/open-webui/issues/20634) **issue: OpenRouter image generation `Chunk too big` error** *This issue reports a failure specifically when generating images through OpenRouter, which is very close to the new report. The symptom differs (`Chunk too big` vs a generic generation error), but both are OpenRouter image-generation breakages.* *by eniraa · `bug`* 3. 🟣 [#23611](https://github.com/open-webui/open-webui/issues/23611) **bug: Image generation fails with providers that don't support 'size' parameter (e.g., xAI/grok-imagine-image)** *This bug is about image generation failing because Open WebUI sends unsupported parameters to the upstream provider. The new issue also involves OpenRouter image generation failing, so this is relevant as a likely similar integration/parameter-handling problem.* *by agent2x0r · `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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#107370