[PR #7894] [CLOSED] feat: add comfyui api key input and backend requests #8922

Closed
opened 2025-11-11 18:09:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/7894
Author: @short-circuit
Created: 12/16/2024
Status: Closed

Base: devHead: main


📝 Commits (3)

  • c26a28a WIP: add comfyui api key
  • 4e4829b feat: add comfyui api key to requests
  • 5535f5c fix: make api key sensitive input

📊 Changes

4 files changed (+43 additions, -14 deletions)

View changed files

📝 backend/open_webui/apps/images/main.py (+10 -2)
📝 backend/open_webui/apps/images/utils/comfyui.py (+13 -12)
📝 backend/open_webui/config.py (+6 -0)
📝 src/lib/components/admin/Settings/Images.svelte (+14 -0)

📄 Description

Changelog Entry

Description

  • This PR will add the possibility to use and API Key or bearer token for generating images through ComfyUI

Added

  • API Key to ComfyUI requests

Additional Information

Screenshots or Videos

image


🔄 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/7894 **Author:** [@short-circuit](https://github.com/short-circuit) **Created:** 12/16/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `main` --- ### 📝 Commits (3) - [`c26a28a`](https://github.com/open-webui/open-webui/commit/c26a28a00cf1de960124e76bc42ddeee080047a0) WIP: add comfyui api key - [`4e4829b`](https://github.com/open-webui/open-webui/commit/4e4829ba956c4c6525eaa06eb483a02efbd93222) feat: add comfyui api key to requests - [`5535f5c`](https://github.com/open-webui/open-webui/commit/5535f5c488bfede94306e197cb5d5255e8a27649) fix: make api key sensitive input ### 📊 Changes **4 files changed** (+43 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/apps/images/main.py` (+10 -2) 📝 `backend/open_webui/apps/images/utils/comfyui.py` (+13 -12) 📝 `backend/open_webui/config.py` (+6 -0) 📝 `src/lib/components/admin/Settings/Images.svelte` (+14 -0) </details> ### 📄 Description # Changelog Entry ### Description - This PR will add the possibility to use and API Key or bearer token for generating images through ComfyUI ### Added - API Key to ComfyUI requests --- ### Additional Information - This is only needed for those of us who use the [login plugin](https://github.com/liusida/ComfyUI-Login) or have ComfyUI behind a secure reverse proxy. It continues working normally for other people. - This closes #3232 ### Screenshots or Videos ![image](https://github.com/user-attachments/assets/6219c55e-ddc1-4114-a047-ef5db88149e1) --- <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:09:36 -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#8922