[PR #838] [MERGED] feat: stable diffusion integration #7276

Closed
opened 2025-11-11 17:22:09 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/838
Author: @tjbck
Created: 2/21/2024
Status: Merged
Merged: 2/22/2024
Merged by: @tjbck

Base: mainHead: image-generation


📝 Commits (8)

  • 83d0c58 feat: image settings added
  • b740fa3 fix: connection renamed to connections
  • 7a730c3 refac: versioning using package
  • 733e963 feat: sd backend integration
  • cc50cc1 feat: sd frontend integration
  • d863e7e feat: save message
  • 797ed9a feat: allow enabling after url is provided
  • dc705c4 refac: settings

📊 Changes

19 files changed (+1148 additions, -219 deletions)

View changed files

📝 .env.example (+2 -0)
📝 README.md (+1 -1)
backend/apps/images/main.py (+165 -0)
📝 backend/apps/web/main.py (+0 -1)
📝 backend/config.py (+7 -0)
📝 backend/main.py (+13 -2)
📝 package.json (+1 -1)
src/lib/apis/images/index.ts (+266 -0)
📝 src/lib/apis/index.ts (+2 -2)
📝 src/lib/components/chat/Messages.svelte (+11 -0)
📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+104 -4)
📝 src/lib/components/chat/Settings/About.svelte (+1 -1)
📝 src/lib/components/chat/Settings/Connections.svelte (+64 -7)
📝 src/lib/components/chat/Settings/General.svelte (+216 -148)
src/lib/components/chat/Settings/Images.svelte (+234 -0)
📝 src/lib/components/chat/SettingsModal.svelte (+52 -48)
📝 src/lib/components/common/Modal.svelte (+1 -1)
📝 src/lib/constants.ts (+4 -2)
📝 vite.config.ts (+4 -1)

📄 Description

Resolves #696

Important

AUTOMATIC1111/stable-diffusion-webui should be run using sh webui.sh --api command with --api flag.

image

image

Changes

image

  • Advanced section has been removed and relocated to General.
  • Ollama API URL Settings and OpenAI External Setting have been moved to Connections section.

🔄 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/838 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 2/21/2024 **Status:** ✅ Merged **Merged:** 2/22/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `image-generation` --- ### 📝 Commits (8) - [`83d0c58`](https://github.com/open-webui/open-webui/commit/83d0c58a008eef4b7e97c045a541121e9fff6409) feat: image settings added - [`b740fa3`](https://github.com/open-webui/open-webui/commit/b740fa3a7b4f87cdba5802aa3267dbfff3797123) fix: connection renamed to connections - [`7a730c3`](https://github.com/open-webui/open-webui/commit/7a730c3f0f162f95ebb901106b042fcebbcf161c) refac: versioning using package - [`733e963`](https://github.com/open-webui/open-webui/commit/733e963c44d0ffd71bfc1acedb185c42592db66e) feat: sd backend integration - [`cc50cc1`](https://github.com/open-webui/open-webui/commit/cc50cc10e64644caa62113069e0247cb75ef502e) feat: sd frontend integration - [`d863e7e`](https://github.com/open-webui/open-webui/commit/d863e7e60b063936ad25b26ab1bc473f334cfcfb) feat: save message - [`797ed9a`](https://github.com/open-webui/open-webui/commit/797ed9ac7f5590bd0358e55f632ec5f729873d21) feat: allow enabling after url is provided - [`dc705c4`](https://github.com/open-webui/open-webui/commit/dc705c49847fe497828390fe24a4b85bd53c14db) refac: settings ### 📊 Changes **19 files changed** (+1148 additions, -219 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+2 -0) 📝 `README.md` (+1 -1) ➕ `backend/apps/images/main.py` (+165 -0) 📝 `backend/apps/web/main.py` (+0 -1) 📝 `backend/config.py` (+7 -0) 📝 `backend/main.py` (+13 -2) 📝 `package.json` (+1 -1) ➕ `src/lib/apis/images/index.ts` (+266 -0) 📝 `src/lib/apis/index.ts` (+2 -2) 📝 `src/lib/components/chat/Messages.svelte` (+11 -0) 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+104 -4) 📝 `src/lib/components/chat/Settings/About.svelte` (+1 -1) 📝 `src/lib/components/chat/Settings/Connections.svelte` (+64 -7) 📝 `src/lib/components/chat/Settings/General.svelte` (+216 -148) ➕ `src/lib/components/chat/Settings/Images.svelte` (+234 -0) 📝 `src/lib/components/chat/SettingsModal.svelte` (+52 -48) 📝 `src/lib/components/common/Modal.svelte` (+1 -1) 📝 `src/lib/constants.ts` (+4 -2) 📝 `vite.config.ts` (+4 -1) </details> ### 📄 Description Resolves #696 > [!important] > AUTOMATIC1111/stable-diffusion-webui should be run using `sh webui.sh --api` command with `--api` flag. ![image](https://github.com/open-webui/open-webui/assets/25473318/2ffe5f3a-0a0e-40d4-81a2-bd3eeaea2f90) ![image](https://github.com/open-webui/open-webui/assets/25473318/0b3dee68-2a3f-4928-834f-b6c592bc87d2) ### Changes ![image](https://github.com/open-webui/open-webui/assets/25473318/7f9afb71-482e-4f82-a4ea-b3b6728c292e) - Advanced section has been removed and relocated to General. - Ollama API URL Settings and OpenAI External Setting have been moved to Connections section. --- <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 17:22:09 -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#7276