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 vae/diffusion_pytorch_model.fp16.safetensors from stablediffusionapi/1: direct link, hf CLI and curl.
- Browser
- Download file 167 MB
-
https://huggingface.co/stablediffusionapi/1/resolve/main/vae/diffusion_pytorch_model.fp16.safetensors
- Command line
-
hf download hf://stablediffusionapi/1/vae/diffusion_pytorch_model.fp16.safetensors
-
curl -L -o diffusion_pytorch_model.fp16.safetensors https://huggingface.co/stablediffusionapi/1/resolve/main/vae/diffusion_pytorch_model.fp16.safetensors
167 MB
- Xet hash:
- 84554ac0462056c432894c7a44b5c4aaa1b63672ea5b11c7d5be515b32f69a1b
- Size of remote file:
- 167 MB
- SHA256:
- b0d5bc590fc39b84e823843cee5a11dd4b0ef84951543188b7803c04334080e7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.