Instructions to use hakurei/artstation-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hakurei/artstation-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hakurei/artstation-diffusion", 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 feature_extractor/preprocessor_config.json from hakurei/artstation-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/hakurei/artstation-diffusion/resolve/refs%2Fpr%2F3/feature_extractor/preprocessor_config.json
- Command line
-
hf download hf://hakurei/artstation-diffusion@refs/pr/3/feature_extractor/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/hakurei/artstation-diffusion/resolve/refs%2Fpr%2F3/feature_extractor/preprocessor_config.json
342 Bytes
- Xet hash:
- d5bea35aa94a56a000ce31cb028052b2774ea520cf7ba8c1ea888ab0de958471
- Size of remote file:
- 342 Bytes
- SHA256:
- 2a1da83b5e1032aaeef397552ddb408dca0d8cd1dc58f61bf6abf38d6f33a0a2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.