What is ControlNet?
Generative AI is good at learning relationships between all kinds of things. In text2image, we teach it the "noise ↔ image" relationship, but the same works with things other than noise.
- Train on line art ↔ image pairs → automatic coloring from line art
- Train on stick figure ↔ image pairs → image generation from a specified pose
- Train on depth map ↔ image pairs → image generation from depth information
ControlNet is one of the techniques that make this possible.
SD1.5 × ControlNet Scribble
There are countless kinds of ControlNet, but let's start with "scribble". The scribble model is a ControlNet that generates images from "rough doodles".
Download ControlNet Model
- control_v11p_sd15_scribble_fp16.safetensors
-
📂ComfyUI/ └── 📂models/ └── 📂controlnet/ └── control_v11p_sd15_scribble_fp16.safetensors
workflow

- 🟩 Feed the ControlNet model and the scribble image into the
Apply ControlNetnode. - 🟨 You won't get an error if the ControlNet image and the generated image are different sizes, but keep them the same.
The scribble model is optimized for "white lines drawn on a black background". Note that black lines on a white background often don't work well.
- Sample Image
Balancing ControlNet Control
Diffusion models naturally produce their best quality when they generate without constraints. But complete freedom isn't useful, so we steer them with Conditioning such as text and ControlNet. Too much control lowers quality —— and that's just as true for text prompts and LoRA.
So how do you balance control and quality?
start_percent / end_percent
In sampling, the rough shape is decided early on, and the details are drawn in during the second half.
Many ControlNets (pose / depth / scribble, etc.) are the shape-defining kind of control. Which means you could argue that ControlNet only needs to be active in the early stages.
In Apply ControlNet, you can set over which range ControlNet takes effect.
start_percent: when it starts taking effectend_percent: when it stops taking effect
The lower you set end_percent, the more freedom the model gets back in the second half, so you can raise quality while keeping the shape.
Combine strength with start_percent / end_percent to find a balance that "doesn't constrain too much, and doesn't fall apart".
Main ControlNet Types
The "concepts" you can pair with images are as countless as the stars. Here I'll introduce just the main ones.
Download Models
List

Canny
- Redraws in a different style while keeping the outline of the photo or image.

Lineart
- Similar to Canny, but more for illustrations.
- Used for coloring line drawings, etc.

Depth
- Uses a depth map (near/far information) to generate while keeping the depth and composition of the original image.
- Good for buildings, landscapes, and other cases where you don't want to lose the sense of depth.

Normal
- Uses a normal map to control how light falls and the sense of volume.

Pose
- Generates people/characters in the same pose from "stick figure pose information" extracted with OpenPose, etc.

Inpaint
- A model used when you want to redraw only a part of the image.
- Naturally redraws just the area you mask (removing unwanted objects, swapping small items, etc.).

QR Code Monster
- Creates an image that can be read as a QR code.
- It isn't limited to QR codes: you can also start from a "black-and-white pattern image" and turn it into any design you like.

Tile
- Creates a clean image from a heavily blurred or low-resolution image.
- It works on its own, but in practice it's often combined with "super-resolution upscaling" such as Ultimate SD Upscale.
ControlNet Union
There is also a type of ControlNet called ControlNet Union.
It doesn't do any special new task. Instead, it combines ControlNets that used to require one model per task, such as Scribble, Pose, and Depth, into a single model.
You can use several tasks without swapping models, so give it a try if you come across one.
