ControlNet
Neural network architecture for adding spatial control to diffusion models.
About
ControlNet, created by Lvmin Zhang, is a neural network architecture that adds spatial conditioning to pretrained text-to-image diffusion models such as Stable Diffusion. It works by duplicating a network block into a locked copy that preserves the original weights and a trainable copy that learns the new condition, joined through zero convolution layers initialized to zero so training starts without distorting the base model's output. Supported conditioning inputs in the official release include Canny edges, HED boundaries, M-LSD lines, user scribbles, human pose skeletons, depth maps, normal maps, semantic segmentation, and anime line art, and multiple ControlNets can be composed for multi-condition control. A guess mode even generates images from the control signal alone without a text prompt. The openly released code and models reshaped image generation workflows, with implementations across Diffusers, ComfyUI, and the AUTOMATIC1111 WebUI, and ControlNet remains a core technique for artists and developers who need precise structural control over generated images.
Should you use ControlNet?
Pick it when
Pick ControlNet when output must follow a fixed structure, such as a pose skeleton, depth map, edge map, or scribble, for example matching a layout sketch or holding a character's pose, inside a Stable Diffusion pipeline.
Look elsewhere when
Skip it if VRAM or training cost is tight: T2I-Adapter gives comparable structural control with adapters of about 77M parameters. If you need a reference style or a face rather than a structure, IP-Adapter or InstantID fit better.
Alternatives to ControlNet
- T2I-Adapter
Much smaller adapters, around 77 to 79M parameters, that are cheaper to train and faster at inference, with control quality reported as comparable.
- IP-Adapter
Conditions on a reference image's content or style instead of spatial structure; often stacked with ControlNet rather than replacing it.
- FLUX.1
FLUX.1 ships its own Canny and depth conditioning editions, so on FLUX you get structural control without a separate SD-based ControlNet, at 12 GB or more.
- InstantID
Uses a ControlNet-style IdentityNet driven by facial landmarks to keep one person's face, a narrower job than general pose or edge control.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Image Generation
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Intermediate (3/5)
- License
- Apache-2.0
- Minimum VRAM
- 8 GB
- Added
- Apr 3, 2026