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
Stable Diffusion is now available as a prebult model on Banana! See how to deploy Stable Diffusion in seconds.
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)
- 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.
- Create huggingface account to get permission to download and run Stable Diffusion text-to-image model.
- Accept terms and conditions for the use of the v1-4 Stable Diffusion
Understand the 🍌 Serverless framework and functionality of each file within it.
Generalize this framework to deploy anything on Banana.