cagbal / cog-stable-diffusion-3

A template for running Stable Diffusion 3 with Cog

Home Page:https://replicate.com/stability-ai/stable-diffusion-3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cog template for Stable Diffusion 3

Replicate demo and cloud API

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.

About

A template for running Stable Diffusion 3 with Cog

https://replicate.com/stability-ai/stable-diffusion-3

License:Apache License 2.0


Languages

Language:Python 100.0%