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 or have ComfyUI behind a secure reverse proxy. It continues working normally for other people.
🔄 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

---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/7894
Author: @short-circuit
Created: 12/16/2024
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (3)
c26a28aWIP: add comfyui api key4e4829bfeat: add comfyui api key to requests5535f5cfix: 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
Added
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.