Instructions to use XLabs-AI/flux-controlnet-depth-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use XLabs-AI/flux-controlnet-depth-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("XLabs-AI/flux-controlnet-depth-diffusers") pipe = StableDiffusionControlNetPipeline.from_pretrained( "black-forest-labs/FLUX.1-dev", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download depth_example.png from XLabs-AI/flux-controlnet-depth-diffusers: direct link, hf CLI and curl.
- Browser
- Download file 115 kB
-
https://huggingface.co/XLabs-AI/flux-controlnet-depth-diffusers/resolve/main/depth_example.png
- Command line
-
hf download hf://XLabs-AI/flux-controlnet-depth-diffusers/depth_example.png
-
curl -L -o depth_example.png https://huggingface.co/XLabs-AI/flux-controlnet-depth-diffusers/resolve/main/depth_example.png
115 kB
