Views
No views yet
stride parameter. For Wan14B model controlnet blocks count = 6 and stride = 4.1git clone https://github.com/TheDenk/wan2.1-dilated-controlnet.git
2cd wan2.1-dilated-controlnet1python -m venv venv
2source venv/bin/activatepip install -r requirements.txt1python -m inference.cli_demo \
2 --video_path "resources/physical-4.mp4" \
3 --prompt "A balloon filled with water was thrown to the ground, exploding and splashing water in all directions. There were graffiti on the wall, studio lighting, and commercial movie shooting." \
4 --controlnet_type "hed" \
5 --controlnet_stride 4 \
6 --base_model_path Wan-AI/Wan2.1-T2V-14B-Diffusers \
7 --controlnet_model_path TheDenk/wan2.1-t2v-14b-controlnet-hed-v11python -m inference.gradio_web_demo \
2 --controlnet_type "hed" \
3 --base_model_path Wan-AI/Wan2.1-T2V-14B-Diffusers \
4 --controlnet_model_path TheDenk/wan2.1-t2v-14b-controlnet-hed-v11python -m inference.cli_demo \
2 --video_path "resources/physical-4.mp4" \
3 --prompt "A balloon filled with water was thrown to the ground, exploding and splashing water in all directions. There were graffiti on the wall, studio lighting, and commercial movie shooting." \
4 --controlnet_type "hed" \
5 --base_model_path Wan-AI/Wan2.1-T2V-14B-Diffusers \
6 --controlnet_model_path TheDenk/wan2.1-t2v-14b-controlnet-hed-v1 \
7 --controlnet_weight 0.8 \
8 --controlnet_guidance_start 0.0 \
9 --controlnet_guidance_end 0.8 \
10 --controlnet_stride 4 \
11 --num_inference_steps 50 \
12 --guidance_scale 5.0 \
13 --video_height 480 \
14 --video_width 832 \
15 --num_frames 81 \
16 --negative_prompt "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards" \
17 --seed 42 \
18 --out_fps 16 \
19 --output_path "result.mp4"@misc{TheDenk,
title={Dilated Controlnet},
author={Karachev Denis},
url={https://github.com/TheDenk/wan2.1-dilated-controlnet},
publisher={Github},
year={2025}
}