Skip to main content
Back

ControlNet++ Merges a Dozen SDXL Control Models Into One 2.5GB File

A single 1B-parameter ControlNet checkpoint replaces a dozen specialized models, adds inpainting and outpainting, and stays SDXL-compatible under Apache 2.0.

Pro

  • Single ControlNet checkpoint covering 10+ conditioning types for SDXL, Apache 2.0 licensed
  • ProMax variant adds tile deblur, tile variation, super resolution, inpainting and outpainting
  • Same parameter budget as vanilla ControlNet, roughly 1B parameters and 2.5 GB in fp16
  • Multi-condition input (pose+canny, pose+depth) with no extra compute or hyperparameter tuning
  • Trained on 10M+ images with CogVLM re-captions, bucket training, multi-resolution and augmentation
  • Code and per-condition inference scripts live in the ControlNetPlus GitHub repo

The xinsir/controlnet-union-sdxl-1.0 release collapses what used to be a whole shelf of ControlNet checkpoints into one model. Instead of downloading separate weights for pose, depth, canny, scribble, segmentation and the rest, you load a single file and pick the conditioning type at inference. The repo has pulled in more than 113k downloads and 1.8k likes, and the Apache 2.0 license means you can drop it straight into commercial pipelines.

One checkpoint, twelve controls

The base Union model handles the standard ControlNet family, and the newer ProMax variant living in the same repo pushes that further. Built on Stable Diffusion XL, it supports over 10 control conditions along with tile deblurring, tile variation, super resolution, inpainting, and outpainting. The target use case is high-resolution, multi-condition image generation and editing.

The full list of conditioning inputs, grouped the way the authors organize them internally:

  • Openpose (skeletons)
  • Depth maps
  • Thick lines: scribble, HED, softedge, TEED-512
  • Thin lines: canny, MLSD, lineart, anime lineart, TEED-1280
  • Surface normals
  • Segmentation masks

ControlNet++ requires you to pass a control type id to the network. The authors merge the 10+ signals into 6 control types, so at runtime you tell the model which family your conditioning image belongs to and it routes accordingly.

ControlNet++ architecture diagram showing frozen Stable Diffusion backbone alongside the ControlNet++ condition encoder and transformer modules

Does one network hurt quality

The obvious question is whether jamming everything into one network degrades results. The authors say no. They extend the original ControlNet to support different image conditions using the same network parameters, feed multiple conditions through a shared encoder without additional compute, and report superior performance on SDXL in both control fidelity and aesthetic score compared to per-condition models.

Concretely, that means:

  • Roughly the same parameter budget as a single vanilla ControlNet, but covering every condition
  • Multi-condition inference (say, openpose plus canny) without loading a second adapter or paying extra VRAM
  • Condition fusion learned during training, so you do not have to hand-tune weights when combining signals
  • Compatibility with community SDXL checkpoints like BluePencilXL and CounterfeitXL, and with existing LoRAs

Training recipe

The training setup reads like a mashup of tricks the open-source SDXL community has been converging on. The team used more than 10 million images with NovelAI-style bucket training to preserve arbitrary aspect ratios, and re-captioned prompts with CogVLM to get DALL-E 3 style detailed descriptions. Data augmentation, multi-resolution training and multiple loss terms keep quality consistent across control types.

The result is a 1B-parameter checkpoint (roughly 2.5 GB in fp16 safetensors) that ships alongside a ProMax variant of the same size. Both live in the ControlNetPlus repo, which includes per-condition inference scripts.

Using it

The simplest path is through Hugging Face Diffusers:

import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
    "xinsir/controlnet-union-sdxl-1.0",
    dtype=torch.bfloat16,
    device_map="cuda",
)
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

If you are on the AUTOMATIC1111 side of the ecosystem, the sd-webui-controlnet extension has picked it up as well. One community caveat worth flagging: the union model was not trained with hand or face keypoint annotations, so if you need fine facial control, reach for a dedicated model.

Where it fits

The practical wins show up in three places. First, VRAM and disk savings: one 2.5 GB file replaces a dozen. Second, editing workflows benefit from the ProMax additions, particularly tile-based super resolution that takes a 1MP image to 9MP, plus proper inpainting and outpainting heads that avoid loading a separate inpainting UNet. Third, multi-condition scenes (pose plus depth, pose plus segmentation) become a single forward pass instead of a chained pipeline, which matters if you are building product-visualization or controllable-avatar features on top of SDXL.

Training on SD3 was paused for lack of GPU funding, so SDXL remains the target for now. The SDXL LoRA and finetune ecosystem is still the largest around, and dropping this checkpoint into an existing SDXL app is a one-line change with a high ceiling on what you can control.