replicate/cog-stable-diffusion-3
Python
Captured source
source ↗replicate/cog-stable-diffusion-3
Description: A template for running Stable Diffusion 3 with Cog
Language: Python
License: Apache-2.0
Stars: 14
Forks: 5
Open issues: 2
Created: 2024-06-10T17:26:33Z
Pushed: 2024-08-20T20:28:52Z
Default branch: main
Fork: no
Archived: no
README:
Cog template for Stable Diffusion 3

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.
Run Stable Diffusion 3 yourself
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.
Local Usage
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.