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
Brian Fitzgerald commited on
Commit ·
7364cc1
1
Parent(s): acf1716
Update result image and README
Browse files- README.md +4 -4
- sample_result.png → sample_cond.png +2 -2
- sample_depth.png +3 -0
README.md
CHANGED
|
@@ -64,10 +64,10 @@ git clone git@github.com:Stability-AI/sd3.5.git
|
|
| 64 |
pip install -r requirements.txt
|
| 65 |
```
|
| 66 |
|
| 67 |
-
Then, download the models and sample
|
| 68 |
|
| 69 |
```
|
| 70 |
-
input/
|
| 71 |
models/clip_g.safetensors
|
| 72 |
models/clip_l.safetensors
|
| 73 |
models/t5xxl.safetensors
|
|
@@ -77,12 +77,12 @@ models/canny_8b.safetensors
|
|
| 77 |
|
| 78 |
and then you can run
|
| 79 |
```
|
| 80 |
-
python sd3_infer.py --controlnet_ckpt models/depth_8b.safetensors --controlnet_cond_image input/
|
| 81 |
```
|
| 82 |
|
| 83 |
Which should give you an image like below:
|
| 84 |
|
| 85 |
-

|
| 86 |
|
| 87 |
|
| 88 |
### Preprocessing
|
sample_result.png → sample_cond.png
RENAMED
|
File without changes
|
sample_depth.png
ADDED
|
Git LFS Details
|