[PR #7915] [MERGED] feat: add comfyui api key #8929

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

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/7915
Author: @short-circuit
Created: 12/17/2024
Status: Merged
Merged: 12/17/2024
Merged by: @tjbck

Base: devHead: dev


📝 Commits (1)

  • 987b0f0 feat: add comfyui api key

📊 Changes

5 files changed (+41 additions, -15 deletions)

View changed files

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

📄 Description

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

396240943-6219c55e-ddc1-4114-a047-ef5db88149e1


🔄 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/7915 **Author:** [@short-circuit](https://github.com/short-circuit) **Created:** 12/17/2024 **Status:** ✅ Merged **Merged:** 12/17/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`987b0f0`](https://github.com/open-webui/open-webui/commit/987b0f0dfd39671c28f1b9b0edbcafff7daf31c7) feat: add comfyui api key ### 📊 Changes **5 files changed** (+41 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+6 -0) 📝 `backend/open_webui/main.py` (+2 -0) 📝 `backend/open_webui/routers/images.py` (+6 -3) 📝 `backend/open_webui/utils/images/comfyui.py` (+13 -12) 📝 `src/lib/components/admin/Settings/Images.svelte` (+14 -0) </details> ### 📄 Description ### 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 - This is the fix to the PR #7894 as that was erronously sourced from the `main` branch and trying to merge into `dev` which caused file conflicts. ### Screenshots or Videos ![396240943-6219c55e-ddc1-4114-a047-ef5db88149e1](https://github.com/user-attachments/assets/85145800-83ad-45d8-b6ac-230acd90fa7b) --- <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:48 -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#8929