[GH-ISSUE #21060] issue: The generated image cannot correctly return a PNG image with a transparent background #106364

Closed
opened 2026-05-18 04:40:14 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @wilsonwu on GitHub (Jan 30, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21060

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

Git Clone

Open WebUI Version

0.6.29

Ollama Version (if applicable)

No response

Operating System

Ubuntu

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

The generated image cannot correctly return a PNG image with a transparent background; instead, it returns a non-transparent image with a gray grid background.

Actual Behavior

The generated image cannot correctly return a PNG image with a transparent background; instead, it returns a non-transparent image with a gray grid background.

Steps to Reproduce

Use gpt image 1.5 to gen-image

Logs & Screenshots

NA

Additional Information

No response

Originally created by @wilsonwu on GitHub (Jan 30, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/21060 ### 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 Git Clone ### Open WebUI Version 0.6.29 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu ### 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 The generated image cannot correctly return a PNG image with a transparent background; instead, it returns a non-transparent image with a gray grid background. ### Actual Behavior The generated image cannot correctly return a PNG image with a transparent background; instead, it returns a non-transparent image with a gray grid background. ### Steps to Reproduce Use gpt image 1.5 to gen-image ### Logs & Screenshots NA ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-18 04:40:14 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (Jan 30, 2026):

🔍 Similar Issues Found

I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:

  1. #20436 issue: image generation cannot finish normally
    by lywbh • Jan 07, 2026 • bug

  2. #20754 issue: New upload of an image does not work with image editing
    by iChristGit • Jan 17, 2026 • bug

  3. #20791 issue: "Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data."
    by sokai • Jan 19, 2026 • bug

  4. #20092 issue: Clicking "Generate Image" returns [object Object] error
    by VideoRyan • Dec 22, 2025 • bug

  5. #19702 issue: Image generation tool causes inconsistency between model response and actual generated image
    by manwallet • Dec 03, 2025 • bug

Show 2 more related issues
  1. #19019 issue: Image generation doesn't work with OpenRouter
    by vladkvit • Nov 07, 2025 • bug

  2. #19187 issue: Image generation menu gone.
    by calebrio02 • Nov 14, 2025 • bug


💡 Tips:

  • If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
  • If you found a solution in any of these issues, please share it here to help others

This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.

<!-- gh-comment-id:3824990730 --> @owui-terminator[bot] commented on GitHub (Jan 30, 2026): 🔍 **Similar Issues Found** I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions: 1. [#20436](https://github.com/open-webui/open-webui/issues/20436) **issue: image generation cannot finish normally** *by lywbh • Jan 07, 2026 • `bug`* 2. [#20754](https://github.com/open-webui/open-webui/issues/20754) **issue: New upload of an image does not work with image editing** *by iChristGit • Jan 17, 2026 • `bug`* 3. [#20791](https://github.com/open-webui/open-webui/issues/20791) **issue: "Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data."** *by sokai • Jan 19, 2026 • `bug`* 4. [#20092](https://github.com/open-webui/open-webui/issues/20092) **issue: Clicking "Generate Image" returns [object Object] error** *by VideoRyan • Dec 22, 2025 • `bug`* 5. [#19702](https://github.com/open-webui/open-webui/issues/19702) **issue: Image generation tool causes inconsistency between model response and actual generated image** *by manwallet • Dec 03, 2025 • `bug`* <details> <summary>Show 2 more related issues</summary> 6. [#19019](https://github.com/open-webui/open-webui/issues/19019) **issue: Image generation doesn't work with OpenRouter** *by vladkvit • Nov 07, 2025 • `bug`* 7. [#19187](https://github.com/open-webui/open-webui/issues/19187) **issue: Image generation menu gone.** *by calebrio02 • Nov 14, 2025 • `bug`* </details> --- 💡 **Tips:** - If this is a duplicate, please consider closing this issue and adding any additional details to the existing one - If you found a solution in any of these issues, please share it here to help others *This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
Author
Owner

@Classic298 commented on GitHub (Jan 30, 2026):

.......

<!-- gh-comment-id:3825023384 --> @Classic298 commented on GitHub (Jan 30, 2026): .......
Author
Owner

@Classic298 commented on GitHub (Jan 30, 2026):

It's image generation

Ai cannot generate transparent pngs.
They will fake it or put white background

<!-- gh-comment-id:3825024596 --> @Classic298 commented on GitHub (Jan 30, 2026): It's image generation Ai cannot generate transparent pngs. They will fake it or put white background
Author
Owner

@Classic298 commented on GitHub (Jan 30, 2026):

Therefore N O T an openwebui issue

<!-- gh-comment-id:3825025256 --> @Classic298 commented on GitHub (Jan 30, 2026): Therefore N O T an openwebui issue
Author
Owner

@wilsonwu commented on GitHub (Feb 23, 2026):

You are wrong, gpt-image-1.5 can generate images with transparent backgrounds. Please see the example I generated using a Python script. This configuration capability should be supported by Open WebUI.

Image
<!-- gh-comment-id:3944623481 --> @wilsonwu commented on GitHub (Feb 23, 2026): You are wrong, gpt-image-1.5 can generate images with transparent backgrounds. Please see the example I generated using a Python script. This configuration capability should be supported by Open WebUI. <img width="955" height="198" alt="Image" src="https://github.com/user-attachments/assets/cd0308e9-be36-4a03-b81f-6d0a440ee74e" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#106364