Instructions to use stabilityai/stable-diffusion-3.5-large-controlnet-depth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-3.5-large-controlnet-depth with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("stabilityai/stable-diffusion-3.5-large-controlnet-depth") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
up
Browse files
README.md
CHANGED
|
@@ -123,7 +123,7 @@ image.save('depth-8b.jpg')
|
|
| 123 |
You can use `image_gen_aux` to extract `depth_image`, which contains all the preprocessor required to use with diffusers pipelines.
|
| 124 |
|
| 125 |
```python
|
| 126 |
-
# install image_gen_aux with: pip install git+https://github.com/
|
| 127 |
from image_gen_aux import DepthPreprocessor
|
| 128 |
image = load_image("path to image")
|
| 129 |
|
|
|
|
| 123 |
You can use `image_gen_aux` to extract `depth_image`, which contains all the preprocessor required to use with diffusers pipelines.
|
| 124 |
|
| 125 |
```python
|
| 126 |
+
# install image_gen_aux with: pip install git+https://github.com/huggingface/image_gen_aux.git
|
| 127 |
from image_gen_aux import DepthPreprocessor
|
| 128 |
image = load_image("path to image")
|
| 129 |
|