参数展开 (Parameter Break)
Unpack a control-panel bundle back into up to 32 individual wires
- parameters
- output_1
- output_2
- output_3
- output_4
- output_5
- output_6
- output_7
- output_8
- output_9
- output_10
- output_11
- output_12
- output_13
- output_14
- output_15
- output_16
- output_17
- output_18
- output_19
- output_20
- output_21
- output_22
- output_23
- output_24
- output_25
- output_26
- output_27
- output_28
- output_29
- output_30
- output_31
- output_32
This node has exactly one job: take a bundled package of values and hand you each one back on its own wire - up to 32 of them. It only makes sense paired with this pack's Parameter Control Panel node, which is the other half of the pair and the thing that actually builds the bundle in the first place.
Why this pattern exists
If you've built a workflow with more than a handful of exposed controls, you've felt the pain this solves: dozens of loose Primitive nodes scattered across the canvas, each one a separate wire snaking to wherever it's needed, and the graph turns into spaghetti the moment you need to move anything. The common fix - and this pack's version of it - is to consolidate everything into one bundle you can route as a single wire, then explode it back out only where you actually need individual values. Parameter Control Panel does the packing (its own output is a single parameters dict); Parameter Break does the unpacking.
How it works
The required input, parameters, is typed DICT - its own tooltip literally says it's "the parameter package from Parameter Control Panel," so this node isn't meant to accept an arbitrary dictionary you built by hand elsewhere; it's built specifically to consume that companion node's output. Feed it in, and the node exposes output_1 through output_32, each typed as a wildcard (*) so it can adapt to whatever's plugged in downstream - a float into a KSampler's CFG, a string into a text encoder, an int into a resolution field, whatever that particular slot in your control panel was set up to hold.
The inputs and outputs that matter
parameters(required, DICT) - wire in Parameter Control Panel's output. This is the only input.output_1…output_32- up to 32 individually-typed outputs, one per value in the bundle, wire each to wherever it's needed.
You won't use all 32 in most graphs - treat the unused ones as simply unconnected, they don't need to be wired to do anything.
How to install it
ComfyUI Manager: search "ComfyUI-Danbooru-Gallery", install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/Aaalice233/ComfyUI-Danbooru-Gallery.git
cd ComfyUI-Danbooru-Gallery
pip install -r requirements.txt
Restart ComfyUI. No models or heavy dependencies involved - this is pure graph-organization plumbing.
Common issues & troubleshooting
An output is empty or wrong. The order and count of output_1..32 follows whatever Parameter Control Panel packed into the dict, in the order it packed them - this node has no way to know what "should" be in slot 4 versus slot 7 beyond what it receives. If your outputs shifted, check whether you added, removed, or reordered a control on the Panel side; that changes what lands where downstream.
Wiring an output to a typed input fails or looks wrong. The * wildcard type means ComfyUI will try to accept whatever the downstream node expects, but it can't magically convert a string into a float for you. If a connection is refusing to link or producing garbage, check that the value actually stored in that slot matches the type the input you're wiring it to expects.
Node doesn't appear in the menu. Standard pack-import problem: confirm the repo landed at ComfyUI/custom_nodes/ComfyUI-Danbooru-Gallery, confirm dependencies installed, check the ComfyUI console at startup for an import error.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| parameters | DICT | 来自参数控制面板的参数包 |
Outputs (32)
| Name | Type | Description |
|---|---|---|
| output_1 | * | — |
| output_2 | * | — |
| output_3 | * | — |
| output_4 | * | — |
| output_5 | * | — |
| output_6 | * | — |
| output_7 | * | — |
| output_8 | * | — |
| output_9 | * | — |
| output_10 | * | — |
| output_11 | * | — |
| output_12 | * | — |
| output_13 | * | — |
| output_14 | * | — |
| output_15 | * | — |
| output_16 | * | — |
| output_17 | * | — |
| output_18 | * | — |
| output_19 | * | — |
| output_20 | * | — |
| output_21 | * | — |
| output_22 | * | — |
| output_23 | * | — |
| output_24 | * | — |
| output_25 | * | — |
| output_26 | * | — |
| output_27 | * | — |
| output_28 | * | — |
| output_29 | * | — |
| output_30 | * | — |
| output_31 | * | — |
| output_32 | * | — |