Instructions to use XLabs-AI/flux-controlnet-canny-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use XLabs-AI/flux-controlnet-canny-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("XLabs-AI/flux-controlnet-canny-diffusers") pipe = StableDiffusionControlNetPipeline.from_pretrained( "black-forest-labs/FLUX.1-dev", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| { | |
| "_class_name": "FluxControlNetModel", | |
| "_diffusers_version": "0.31.0.dev0", | |
| "attention_head_dim": 128, | |
| "axes_dims_rope": [ | |
| 16, | |
| 56, | |
| 56 | |
| ], | |
| "guidance_embeds": true, | |
| "in_channels": 64, | |
| "conditioning_embedding_channels": 16, | |
| "joint_attention_dim": 4096, | |
| "num_attention_heads": 24, | |
| "num_layers": 2, | |
| "num_mode": null, | |
| "num_single_layers": 0, | |
| "patch_size": 2, | |
| "pooled_projection_dim": 768 | |
| } | |