Instructions to use stablediffusionapi/hanfo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/hanfo 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/hanfo", 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 vae/diffusion_pytorch_model.bin from stablediffusionapi/hanfo: direct link, hf CLI and curl.
- Browser
- Download file 167 MB
-
https://huggingface.co/stablediffusionapi/hanfo/resolve/main/vae/diffusion_pytorch_model.bin
- Command line
-
hf download hf://stablediffusionapi/hanfo/vae/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/stablediffusionapi/hanfo/resolve/main/vae/diffusion_pytorch_model.bin
167 MB
- Xet hash:
- 5e8ba3eb0b10fb7ca035df528170cd31825f0e7e3af452cf63c713db88e2b800
- Size of remote file:
- 167 MB
- SHA256:
- 589c90cbd866eb47a5cd01af620cec1d1bc08487c4939a5508f546693af047b6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.