AI GLOSSARY · LOCAL AND OPEN MODELS
ControlNet
Definition
ControlNet is a neural network architecture, described in a 2023 paper, that adds spatial control such as edges, depth or pose to a pretrained text-to-image diffusion model. The base model's weights stay locked while new layers learn the extra condition.
Also called: ControlNet Stable Diffusion, control net AI, ControlNets, ControlNet model.
In plain language
ControlNet is an add-on that lets you steer an image generator with a picture, as well as with words. You give it, say, an outline of a scene or a stick-figure pose, plus a text prompt, and the generator fills in the picture while following that layout. Think of tracing paper under a painting: the outline fixes where things go, the prompt says what they look like. It does not make the picture good by itself, and each kind of control, such as edges or depth, needs a ControlNet built for it and matched to a base model. The documentation's examples target cuda, mps, xpu or cpu devices, so expect a hardware or rented-compute cost.
Technical definition
The paper by Zhang, Rao and Agrawala, submitted to arXiv on 10 February 2023, locks the weights of a large pretrained diffusion model and reuses its encoder as a backbone for learning a conditional control. New layers connect to the locked model through zero convolutions, which are convolution layers initialised to zero so the control signal grows gradually during fine-tuning. Conditions named in the paper include edges, depth, segmentation and human pose. In Hugging Face diffusers, a ControlNet model is passed to a pipeline, and controlnet_conditioning_scale sets how strongly the control image steers generation.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
image-prompt-direction 61/100 · grade CScored · Method v0.2 · How we score
- What you see
- Image prompts written like an art director's brief and linted for gaps, contradictions and rights problems.
- Why it exercises the concept
- Adjacent. ControlNet takes a text prompt alongside a control image, so the prompt still matters. This skill improves the text half and does not run a ControlNet.
Skill by Skill Almanac · Illustrative, not executed
image-spec-check 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Exported images checked against your own spec table, with exact advice on what to resize, crop, re-export or replace.
- Why it exercises the concept
- Adjacent. Hugging Face's guide says to resize control images to the pipeline size before generating. A spec check is one way to catch wrong sizes.
Guide · Illustrative, not executed
Self-Hosting an AI Agent: What You Take On
- What you see
- What you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills, as a checklist with decision points.
- Why it exercises the concept
- Adjacent. The diffusers documentation shows ControlNet pipelines run from your own code on your own device. This guide frames self-hosting trade-offs, though it is written about agents, not image models.
How it shows up when you use agents
ControlNet is an image-generation technique, so it appears in agent work at the edges: an agent writes a pipeline script, prepares prompts, or checks the files going in and out. Most people meet it through the Hugging Face diffusers library, where the code loads a ControlNet model, builds a control image, and passes both to a diffusion model pipeline such as Stable Diffusion.
The practical points come from the documentation. The control image is made first, for example an edge map from OpenCV's Canny function or a depth map from a depth-estimation model. A conditioning scale sets how strongly it steers the result. Several ControlNets can be combined, and control images should be resized to the pipeline size.
What breaks when it is misunderstood: people expect any ControlNet to work with any base model. The diffusers page shows ControlNet models loaded for specific base models such as Flux and Stable Diffusion XL, so read the model card of each one before you download it. A coding agent can write the script, but it cannot judge whether the layout matches your intent, so review the output yourself. Next action: start with one control type and one base model, change one setting at a time, and keep the control image next to each result so you can tell what changed. For the text half of the prompt, see text to image.
Common confusions
- ControlNet versus fine-tuning. The diffusers page says ControlNet gives layout control without fine-tuning the base model, which stays frozen. The control layers themselves are still trained.
- ControlNet versus the text prompt. The prompt describes content and style. The control image fixes structure such as edges, depth or pose. They are used together.
- ControlNet versus other ControlNets. The word names an architecture, not one downloadable model. Different trained ControlNets exist for different controls and base models.
- Myth: ControlNet replaces the diffusion model. It sits beside a pretrained model and steers it. The paper describes keeping the original model's weights locked.
Related terms
Terms that mention ControlNet
1 terms mention this one
More in Local and open models
Sources
- Adding Conditional Control to Text-to-Image Diffusion Models, arXiv (Zhang, Rao, Agrawala) (accessed 2026-11-24)
- ControlNet, Hugging Face (Diffusers documentation) (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (2)
- : First version.
- : Verifier pass: applied verifier corrections to unsupported or overstated claims.