Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use CompVis/stable-diffusion-v1-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/stable-diffusion-v1-4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda") prompt = "A high tech solarpunk utopia in the Amazon rainforest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
f10ed29
1
Parent(s): e5cfb9a
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ inference: false
|
|
| 10 |
# Stable Diffusion v1-4 Model Card
|
| 11 |
|
| 12 |
Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input.
|
| 13 |
-
For more information about how Stable Diffusion functions, please have a look at [🤗's Stable Diffusion with D🧨iffusers blog](
|
| 14 |
|
| 15 |
The **Stable-Diffusion-v1-4** checkpoint was initialized with the weights of the [Stable-Diffusion-v1-3](https:/steps/huggingface.co/CompVis/stable-diffusion-v1-3)
|
| 16 |
checkpoint and subsequently fine-tuned on X steps on Y with Z.
|
|
|
|
| 10 |
# Stable Diffusion v1-4 Model Card
|
| 11 |
|
| 12 |
Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input.
|
| 13 |
+
For more information about how Stable Diffusion functions, please have a look at [🤗's Stable Diffusion with D🧨iffusers blog](https://huggingface.co/blog/stable_diffusion).
|
| 14 |
|
| 15 |
The **Stable-Diffusion-v1-4** checkpoint was initialized with the weights of the [Stable-Diffusion-v1-3](https:/steps/huggingface.co/CompVis/stable-diffusion-v1-3)
|
| 16 |
checkpoint and subsequently fine-tuned on X steps on Y with Z.
|