Nodes/ComfyUI-Apt_Preset/CN_preset1_Unpack
ComfyUI Node

CN_preset1_Unpack

Unbundling the ControlNet wire CN_preset1_pack builds

By cardenluo·Created 2 years ago·Updated 18 days ago· 309
CN_preset1_Unpack
  • Frun1
  • control_net
  • image
  • Float_Strength
  • Float_start
  • Float_end

This is the other half of a pair. CN_preset1_pack takes a ControlNet checkpoint, an image, and the usual strength/start/end floats and folds them into one bundled wire so you don't have to route five noodles across a busy graph. CN_preset1_Unpack is what you drop right before the point where you actually need those pieces back as normal ComfyUI outputs - a CONTROL_NET, an IMAGE, and three FLOATs you can wire into an Apply ControlNet node or anywhere else that wants them.

It's part of the same Apt_Preset/stack family the README describes as the fix for workflows whose "connections are becoming increasingly dense, making them difficult to understand and operate." Pack once upstream, carry one wire through the messy middle of your graph, unpack right before you need the parts - that's the whole pattern.

How it works

There's no image processing or math here at all - it's a straight unbundling operation. Feed it the FPIPE1 bundle produced by CN_preset1_pack (or anything else in your graph that emits the same type, though nothing else in this pack does), and it splits it back into five separate outputs in the same shape it was packed in.

The inputs and outputs that matter

  • Frun1 (FPIPE1, required) - the only input, and it only accepts a bundle shaped like the one CN_preset1_pack produces.
  • Outputs: control_net, image (IMAGE), Float_Strength, Float_start, Float_end - five plain outputs matching exactly what went into the pack node. The control_net output's type shows up dynamically in the schema (it just reflects whatever ControlNet type your install produces) - treat it like a normal CONTROL_NET wire.

How to install it

Through ComfyUI Manager: search "ComfyUI-Apt_Preset", install, restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git

then run install.bat (or install the requirements yourself on Linux/Mac), restart. No extra downloads for this node - whatever ControlNet checkpoint you packed upstream is what comes back out.

Common issues & troubleshooting

"Missing input" error on Frun1. This node does nothing on its own - check you've actually wired a CN_preset1_pack (or equivalent FPIPE1 producer) into it upstream.

Downstream nodes reject the unpacked control_net. That's ordinary ComfyUI type-checking doing its job; it's carrying whatever your control_net loader produced in the pack step, so if that step's dropdown pointed at the wrong file, fix it there rather than here.

Values look wrong compared to what you set. Since this node just relays what it was given, a mismatch almost always traces back to CN_preset1_pack upstream - check Float_Strength/Float_start/Float_end there first.

IMPORT FAILED on the pack. As with the rest of ComfyUI-Apt_Preset, this is a big, actively-developed pack and users have hit import failures after updates; reinstall via Manager and restart before treating it as a node-specific bug.

CategoryApt_Preset/stack

Inputs (1)

NameTypeDefaultDescription
Frun1FPIPE1

Outputs (5)

NameTypeDescription
control_net
imageIMAGE
Float_StrengthFLOAT
Float_startFLOAT
Float_endFLOAT