Instructions to use lllyasviel/control_v11f1p_sd15_depth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/control_v11f1p_sd15_depth with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/control_v11f1p_sd15_depth") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Download images/input.png from lllyasviel/control_v11f1p_sd15_depth: direct link, hf CLI and curl.
- Browser
- Download file 890 kB
-
https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/input.png
- Command line
-
hf download hf://lllyasviel/control_v11f1p_sd15_depth/images/input.png
-
curl -L -o input.png https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/input.png
890 kB
