Instructions to use stablediffusionapi/1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/1 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/1", dtype=torch.bfloat16, device_map="cuda") prompt = "a girl wandering through the forest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/model.fp16.safetensors from stablediffusionapi/1: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/stablediffusionapi/1/resolve/main/text_encoder/model.fp16.safetensors
- Command line
-
hf download hf://stablediffusionapi/1/text_encoder/model.fp16.safetensors
-
curl -L -o model.fp16.safetensors https://huggingface.co/stablediffusionapi/1/resolve/main/text_encoder/model.fp16.safetensors
246 MB
- Xet hash:
- 2d659068927328837292bdfefca4360d8c4e04d19ee7c6af460beb087d34ef73
- Size of remote file:
- 246 MB
- SHA256:
- 3519bc79e75b3f7f6e258c54c05484d1da97112b4975b7b2c85def252b4b5253
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.