Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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