Diffusers
English
stable-diffusion
stable-diffusion-diffusers
inpainting
art
artistic
anime
absolute-realism
Instructions to use diffusers/tools with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/tools with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/tools", 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
Download init_image.png from diffusers/tools: direct link, hf CLI and curl.
- Browser
- Download file 407 kB
-
https://huggingface.co/diffusers/tools/resolve/811d1c69e242bfa84cef7a361b3419cf620ee39d/init_image.png
- Command line
-
hf download hf://diffusers/tools@811d1c69e242bfa84cef7a361b3419cf620ee39d/init_image.png
-
curl -L -o init_image.png https://huggingface.co/diffusers/tools/resolve/811d1c69e242bfa84cef7a361b3419cf620ee39d/init_image.png
407 kB
