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
- Draw Things
- DiffusionBee
- 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.