Skip to content

Add working Qwen 2512 ControlNet (Fun ControlNet) support#12359

Merged
comfyanonymous merged 5 commits intoComfy-Org:masterfrom
krigeta:master
Feb 14, 2026
Merged

Add working Qwen 2512 ControlNet (Fun ControlNet) support#12359
comfyanonymous merged 5 commits intoComfy-Org:masterfrom
krigeta:master

Conversation

@krigeta
Copy link
Contributor

@krigeta krigeta commented Feb 8, 2026

Summary

This PR adds full support for Qwen 2.5 Fun ControlNet format, enabling ControlNet functionality for Qwen image generation models.

Related Issues

Changes Made

Files Modified:

  • comfy/controlnet.py - Added loader and integration support for Fun ControlNet format
  • comfy/ldm/qwen_image/controlnet.py - New file implementing the Qwen Fun ControlNet architecture

Key Features:

  • Core loader support for Qwen Fun ControlNet format
  • Proper hint injection with optimized strength scaling
  • Fallback packing/mask behavior aligned with VideoX implementation
  • Strength=1 behavior matching with softened high-strength response

Commits:

  1. Add core loader/support for Qwen Fun ControlNet format
  2. Tone down Qwen Fun ControlNet hint injection strength
  3. Align Fun ControlNet fallback packing/mask behavior with VideoX
  4. Fix Fun ControlNet concat-mask mismatch and restore effective hint scale
  5. Match Fun strength=1 behavior and soften high-strength response

Testing

Tested with Qwen 2512 Image model with Fun ControlNet, verified proper hint generation and injection.

@krigeta
Copy link
Contributor Author

krigeta commented Feb 8, 2026

Hey @comfyanonymous I fixed everything now please check it when you got time.

@Ken-g6
Copy link

Ken-g6 commented Feb 10, 2026

If this is just Qwen it does not close #11821

@juangea
Copy link

juangea commented Feb 11, 2026

Waiting for this to go into release!
we need controlnet for Qwen Image 2512!

@zdjun1984
Copy link

Perhaps you can pubulish it as a custom node,like the Flux.2 Fun Controlnet nodes

@bubbliiiing
Copy link

0 0.
This looks very impressive.

@jeremytenjo
Copy link

We need this merged please 🫶

@comfyanonymous comfyanonymous merged commit dc9822b into Comfy-Org:master Feb 14, 2026
12 checks passed
@RamonGuthrie
Copy link

This doesn't seem to be working

@juangea
Copy link

juangea commented Feb 17, 2026

I have not tested it myself yet, but I have a colleague that tested it and said it was working fine.

Hiwnare you applying it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

8 participants