[PR #13576] [CLOSED] Fix: Fix Image parameter for Automatic1111 /generations endpoint #10038

Closed
opened 2025-11-11 18:37:46 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/13576
Author: @torisetxd
Created: 5/6/2025
Status: Closed

Base: devHead: torisetxd-image-patch


📝 Commits (1)

  • 6c957f2 Fixed mis-use of set_image_model in automatic1111 Image generation

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/open_webui/routers/images.py (+1 -1)

📄 Description

Description

  • When sending requests to the /generations endpoint for images with a model body parameter and the image generation engine is Automatic1111 an error occurs since the set_image_model method is used wrong and missing the request parameter.

Fixed

  • model param errors when using Automatic1111 in image generation API.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/13576 **Author:** [@torisetxd](https://github.com/torisetxd) **Created:** 5/6/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `torisetxd-image-patch` --- ### 📝 Commits (1) - [`6c957f2`](https://github.com/open-webui/open-webui/commit/6c957f2407888786e93ae0fa80fba569a12f9588) Fixed mis-use of set_image_model in automatic1111 Image generation ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/images.py` (+1 -1) </details> ### 📄 Description ### Description - When sending requests to the `/generations` endpoint for images with a `model` body parameter and the image generation engine is `Automatic1111` an error occurs since the `set_image_model` method is used wrong and missing the request parameter. ### Fixed - `model` param errors when using `Automatic1111` in image generation API. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:37:46 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#10038