Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aldrinjenson/simple-stable-diffusion
Simple, opinionated and easy to use stable-diffusion-ui for text to image generation
https://github.com/aldrinjenson/simple-stable-diffusion
docker-compose stable-diffusion stable-diffusion-webui streamlit
Last synced: 7 days ago
JSON representation
Simple, opinionated and easy to use stable-diffusion-ui for text to image generation
- Host: GitHub
- URL: https://github.com/aldrinjenson/simple-stable-diffusion
- Owner: aldrinjenson
- Created: 2023-07-07T14:08:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-21T14:43:10.000Z (over 1 year ago)
- Last Synced: 2023-07-23T18:23:02.483Z (over 1 year ago)
- Topics: docker-compose, stable-diffusion, stable-diffusion-webui, streamlit
- Language: Python
- Homepage: https://diffusion.mec.ac.in/
- Size: 15.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Simple-Stable-Diffusion
A minimalist and opinionated web user interface (UI) for image generation using the Stable Diffusion. It provides a slick and modern theme to enhance the image generation experience. The project allows users to connect to an existing Stable Diffusion backend by setting the API_URL in the .env file, making it easy to use and integrate into your image generation workflow.
![Demo](./misc/demo.png)
## Features
- Image generation using Stable Diffusion.
- Display of quotes from famous people while images are being generated (during the waiting time).
- Adjustable number of images to be generated.
- Download generated images locally.
- Everything is generated in markdown for seamless integration with other projects.
- Optional NEGATIVE_PROMPT in the .env file to be applied to all generated images.## Live Version
Check out the live version of Simple-Stable-Diffusion-UI hosted at https://diffusion.mec.ac.in/.
## Installation
To use Simple-Stable-Diffusion-UI, follow these installation instructions:
1. Clone the repository from GitHub:
```bash
git clone https://github.com/your-username/Simple-Stable-Diffusion-UI.git
cd Simple-Stable-Diffusion-UI
```2. Install the required dependencies:
```bash
pip install -r requirements.txt
```3. Set up the environment variables:
Create a .env file in the root of the project and set the following variables:
```env
API_URL=
NEGATIVE_PROMPT=
```Replace with the URL of your existing Stable Diffusion backend, and with any negative prompt you want to apply to all generated images.
4. Run the Streamlit app:
```bash
streamlit run Home.py
```The app will be running locally at http://localhost:8501. Open the URL in your web browser to access the Simple-Stable-Diffusion-UI.
## Demo
![Demo Video](./misc/demo.gif)
## Credits
- [Stability-AI/StableDiffusion](https://github.com/Stability-AI/StableDiffusion)
- [Stable Diffusion WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui/) by AUTOMATIC1111