Instructions to use yuvalkirstain/stable-diffusion-2-1-ait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yuvalkirstain/stable-diffusion-2-1-ait with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("yuvalkirstain/stable-diffusion-2-1-ait", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 6.49 kB
- 39.4 kB
- 493 kB xet
- 39.4 kB
- 493 kB xet
- 39.4 kB
- 493 kB xet
- 39.4 kB
- 493 kB xet
- 39.4 kB
- 494 kB xet
- 39.4 kB
- 493 kB xet
- 39.4 kB
- 493 kB xet
- 39.4 kB
- 493 kB xet
- 4.51 kB
- 1.73 GB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 92.4 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 92.4 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.49 kB
- 92.4 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.49 kB
- 106 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.49 kB
- 106 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.49 kB
- 113 kB xet
- 6.5 kB
- 106 kB xet
- 6.49 kB
- 106 kB xet
- 6.5 kB