This is an implementation of Stability AI's Stable Diffusion 3 as a Cog model.
Stable Diffusion 3 has a non-commercial license. stability-ai/stable-diffusion-3 on Replicate is licensed and can be used for commercial work, but if you want to use custom versions built from this repository for commercial work, you'll need to buy a commercial license.
Use this repository with the model pushing guide to push your own fork of Stable Diffusion 3 to Replicate.
To pull a copy of the Stable Diffusion 3 weights from HuggingFace, first get access by filling out the form on the weights page. Then, set your HUGGING_FACE_HUB_TOKEN
as an env var and run download_hf_model.py
.
For a local prediction, run:
cog predict -i prompt="a photo of a cool dog"
Learn more about how to deploy a cog model here.