Instructions to use stabilityai/stable-diffusion-xl-base-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-xl-base-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add generated example
#203
by Aliksd - opened
- README.md +7 -0
- images/example_nag6yw3rt.png +0 -0
README.md
CHANGED
|
@@ -3,6 +3,13 @@ license: openrail++
|
|
| 3 |
tags:
|
| 4 |
- text-to-image
|
| 5 |
- stable-diffusion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
# SD-XL 1.0-base Model Card
|
| 8 |

|
|
|
|
| 3 |
tags:
|
| 4 |
- text-to-image
|
| 5 |
- stable-diffusion
|
| 6 |
+
widget:
|
| 7 |
+
- text: >-
|
| 8 |
+
70's porn film VHS style: Naked man with hard cock with '70s mustache beside
|
| 9 |
+
a woman with an '80s voluminous hairstyle. Disco ball and neon lights
|
| 10 |
+
output:
|
| 11 |
+
url: images/example_nag6yw3rt.png
|
| 12 |
+
|
| 13 |
---
|
| 14 |
# SD-XL 1.0-base Model Card
|
| 15 |

|
images/example_nag6yw3rt.png
ADDED
|