/stable-diffusion-2-fast-api

This repo is a basic framework for training Dreambooth Stable Diffusion v2 on Banana's serverless GPU platform using fastapi. 1-Click Deploy ready

Primary LanguagePythonMIT LicenseMIT

🍌 Banana Serverless

This repo is a template for using Stable Diffusion v2.0 on Banana;s serverless GPU platform with fastapi. Ready to be used for 1-Click deploy

Instant Deploy

Stable Diffusion is now available as a prebult model on Banana! See how to deploy Stable Diffusion in seconds.

Quickstart

If you want to customize beyond the prebuilt model:

Follow the quickstart guide in Banana's documentation to use this repo.

(choose "GitHub Repository" deployment method)

Additional Steps (outside of quickstart guide)

  1. Create your own private repo and copy the files from this template repo into it. You'll want a private repo so that your huggingface keys are secure.
  2. Create huggingface account to get permission to download and run Stable Diffusion text-to-image model.

Helpful Links

Understand the 🍌 Serverless framework and functionality of each file within it.

Generalize this framework to deploy anything on Banana.


Use Banana for scale.