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

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

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