Instructions to use diffusers/controlnet-canny-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/controlnet-canny-sdxl-1.0 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/controlnet-canny-sdxl-1.0", 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 out_room.png from diffusers/controlnet-canny-sdxl-1.0: direct link, hf CLI and curl.
- Browser
- Download file 6.42 MB
-
https://huggingface.co/diffusers/controlnet-canny-sdxl-1.0/resolve/main/out_room.png
- Command line
-
hf download hf://diffusers/controlnet-canny-sdxl-1.0/out_room.png
-
curl -L -o out_room.png https://huggingface.co/diffusers/controlnet-canny-sdxl-1.0/resolve/main/out_room.png
6.42 MB

- Xet hash:
- fc6cdc86a77b1908f7e50278f5c33ab53bc5654c1171e6c0fd07495489dc71c7
- Size of remote file:
- 6.42 MB
- SHA256:
- fce39ad0ca4c081aecd90a2c16118bc38d89ac27c7ca25d59a80d470b1c4ed31
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.