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

https://github.com/bean980310/stable-diffusion-docker-project

Stable Diffusion WebUI and KohyaSS, ComfyUI, InvokeAI, Fooocus, and more Generative AI on Docker
https://github.com/bean980310/stable-diffusion-docker-project

ai audio-generation chatbotai container-image deep-learning docker generative-ai gradio image-generation img2img machine-learning python pytorch stable-diffusion text-generation torch txt2img video-generation

Last synced: 6 months ago
JSON representation

Stable Diffusion WebUI and KohyaSS, ComfyUI, InvokeAI, Fooocus, and more Generative AI on Docker

Awesome Lists containing this project

README

          

# Generative AI on Docker Project
Stable Diffusion WebUI and KohyaSS, ComfyUI, InvokeAI, Fooocus, and more Generative AI Applications on Docker

## Setup
You need NVIDIA GPU and CUDA 12.4, Docker and NVIDIA Container toolkit, if you are using Windows 10/11, you also need enable WSL2. it is recommanded on Amazon Web Services, Microsoft Azure, Google Cloud Platform.

Now you can use AUTOMATIC1111 Stable Diffusion WebUI and ComfyUI container with runpod tamplate when made by me!

### How to install
```bash
git clone --recurse-submodules https://github.com/bean980310/stable-diffusion-docker-project.git
```

First, run the run_first.ipynb on Jupyter Notebook(if not installed cuda, cudnn, docker, and NVIDIA Container toolkit.) and then run the download.ipynb on Jupyter Notebook.

And you must put models in directory stable-diffusion-models/models.

```bash
cd /stable-diffusion-docker-project
docker compose -f docker-compose.pull.yml up -d
```

| Service list | Port(Published:Target) |
|-------------------------------|------------------------|
| stable-diffusion-webui | 3010:7860 |
| kohya_ss | 3020:7860 |
| comfyui | 3030:8188 |
| open-webui | 3000:8080 |
| invokeai | 9090:9090 |
| fooocus | 3040:7860 |
| sdnext | 3060:7860 |
| swarmui | 7801:7801 |
| facefusion | 3070:7860 |
| ~~stable-audio-tools~~ | ~~3090:7860~~ Temporary suspend |
| audiocraft_plus | 7877:7877 |
| ~~svd-webui(under construction)~~ | coming soon |

example:
```bash
cd ~/stable-diffusion-docker-project
docker compose -f docker-compose.pull.yml up -d stable-diffusion-webui
```

How to install extension of stable-diffusion-webui:
```bash
cd /stable-diffusion-docker-project/workspace/stable-diffusion-webui/extensions
git clone
```
How to install ComfyUI Manager:
```bash
cd /stable-diffusion-docker-project/workspace/ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
```

## Usage
```bash
docker compose -f docker-compose.pull.yml up -d
```
or
```bash
docker compose -f docker-compose.pull.yml up -d
```

## Features
### [AUTOMATIC1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
Now you can use container template made by me!
### [KohyaSS](https://github.com/bmaltais/kohya_ss)
### [ComfyUI](https://github.com/comfyanonymous/ComfyUI)
Now you can use container template made by me!
[Template link](https://www.runpod.io/console/explore/didditd7mr)
(I've tested it several times and it works fine.)
### [InvokeAI](https://github.com/invoke-ai/InvokeAI)
### [Fooocus](https://github.com/lllyasviel/Fooocus)
### [SD.Next](https://github.com/vladmandic/automatic)
### [Open-WebUI](https://github.com/open-webui/open-webui)
### [SwarmUI](https://github.com/mcmonkeyprojects/SwarmUI)
### [FaceFusion](https://github.com/facefusion/facefusion)
### ~~[stable-audio-tools](https://github.com/Stability-AI/stable-audio-tools)~~
Temporary suspend
### ~~svd-webui(My Original)~~
Coming soon

## Contributing