Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use Royal/stable_diffusionv1-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Royal/stable_diffusionv1-5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Royal/stable_diffusionv1-5", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download unet/diffusion_pytorch_model.fp16.bin from Royal/stable_diffusionv1-5: direct link, hf CLI and curl.
- Browser
- Download file 135 Bytes
-
https://huggingface.co/Royal/stable_diffusionv1-5/resolve/main/unet/diffusion_pytorch_model.fp16.bin
- Command line
-
hf download hf://Royal/stable_diffusionv1-5/unet/diffusion_pytorch_model.fp16.bin
-
curl -L -o diffusion_pytorch_model.fp16.bin https://huggingface.co/Royal/stable_diffusionv1-5/resolve/main/unet/diffusion_pytorch_model.fp16.bin
135 Bytes
- Xet hash:
- 85dd32820bb3c6dcf1c05c601da01ec3e4554c6722dc0338643624bf2e7256d3
- Size of remote file:
- 135 Bytes
- SHA256:
- 6059daecba84419cb65124f06ade1100302b91e92002b3de9e416910396e8155
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.