Instructions to use TheDenk/wan2.1-t2v-14b-controlnet-canny-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TheDenk/wan2.1-t2v-14b-controlnet-canny-v1 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("TheDenk/wan2.1-t2v-14b-controlnet-canny-v1") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
| { | |
| "_class_name": "WanControlnet", | |
| "_diffusers_version": "0.33.0.dev0", | |
| "added_kv_proj_dim": null, | |
| "attention_head_dim": 128, | |
| "cross_attn_norm": true, | |
| "downscale_coef": 8, | |
| "eps": 1e-06, | |
| "ffn_dim": 8960, | |
| "freq_dim": 256, | |
| "image_dim": null, | |
| "in_channels": 3, | |
| "num_attention_heads": 12, | |
| "num_layers": 6, | |
| "out_proj_dim": 5120, | |
| "patch_size": [ | |
| 1, | |
| 2, | |
| 2 | |
| ], | |
| "qk_norm": "rms_norm_across_heads", | |
| "rope_max_seq_len": 1024, | |
| "text_dim": 4096, | |
| "vae_channels": 16 | |
| } | |