Instructions to use stablediffusionapi/01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/01 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/01", 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 text_encoder/pytorch_model.bin from stablediffusionapi/01: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/stablediffusionapi/01/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://stablediffusionapi/01/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/stablediffusionapi/01/resolve/main/text_encoder/pytorch_model.bin
246 MB
- Xet hash:
- 830a31217f6e3c1e592e9e67ce929da39a66ee6ac209eabf49904150869278bc
- Size of remote file:
- 246 MB
- SHA256:
- 81e97572cbc4cfce68016da475fe16917ef27dbe2bb039ba0e20437ce7011de6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.