https://github.com/ayan4m1/diffusion-api
Flask-based HTTP API for Stable Diffusion
https://github.com/ayan4m1/diffusion-api
Last synced: over 1 year ago
JSON representation
Flask-based HTTP API for Stable Diffusion
- Host: GitHub
- URL: https://github.com/ayan4m1/diffusion-api
- Owner: ayan4m1
- License: mit
- Created: 2022-09-14T21:03:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-14T22:24:24.000Z (almost 4 years ago)
- Last Synced: 2025-03-30T15:44:46.083Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# diffusion-api
This package provides an HTTP API for generating Stable Diffusion images programmatically.
## environment
* Python 3
* [Stable Diffusion v1.4 Model]()
Install dependencies using:
> pip install -r requirements.txt
>
> pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
Run it using:
> flask --app main.py run