Dynamic Group
Bundle a pile of same-type data into one wire you can pass around
- input_0
- GROUP_OUTPUT
ComfyUI wires get messy fast. Five model loaders, four image inputs, a stack of LoRAs - at some point the graph is unreadable and half your day goes to cable management. DynamicGroup is one answer: it packs several inputs of the same type into a single GROUP object that travels down one wire, so you can collect a set of assets in one place and hand the whole bundle somewhere else in one connection.
On its own it's a bit of a one-trick node. Its real purpose is feeding its sibling DynamicGroupSelector, which digs back into the group and pulls one item out. Together they give you nested selection - think "switch between character asset packs" - where you pick both which group and which item inside it. The README spells out the intended use: collect same-type data into a group to create a nested data flow, then extract from it downstream.
How it works
You get a single input_0 (any type) and a right-click menu to add and remove more inputs, up to a cap of 99. Connect a few images, or a few models, or a few CLIPs - anything, as long as they're all the same type. At execution, the node walks every connected input_N in order and bundles them into one GROUP.
The type-tracking is the neat bit. It sniffs the first item it receives and records what it actually is - IMAGE, LATENT, MODEL, VAE, STRING, whatever - by inspecting the object rather than trusting a label. That recorded type travels inside the group object, which is what lets the Group Selector do its type-consistency check later. You don't pick the type anywhere; the node figures it out from the data.
The one output, GROUP_OUTPUT, carries that whole bundle. Note what the node deliberately does not do: it doesn't unpack the group into separate executions. A group stays a single object on the wire until a selector extracts from it - that's a design choice in this pack, and it's why Group + GroupSelector is the pairing to learn rather than either alone.
The inputs that matter
input_0- the first (and only mandatory) slot. Addinput_1,input_2, … from the right-click menu.- Everything else is just more of the same: same type, in order.
Installing it
Zero model downloads, zero heavy dependencies - the pack only requires a recent ComfyUI frontend. ComfyUI Manager → "Install via Git URL" → paste https://github.com/wakaura-asaho/comfyui-dynamic-selector → restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/wakaura-asaho/comfyui-dynamic-selector
# restart ComfyUI
Gotchas
The obvious trap is mixing types inside one group. The node will happily bundle a model and an image into the same GROUP, but the moment you run that through a Group Selector with type_strict on, it errors out - so keep groups homogeneous, which is the author's own guidance. Also, this is a very young, experimental pack written for the new V3 node API (frontend >= 1.37.11, base >= 0.12.3). If the node's missing after install, update ComfyUI first. And because it's so new there's essentially no community write-up yet, so if the GROUP type acts oddly with some third-party node, that's frontier territory - test before you trust.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| input_0 | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| GROUP_OUTPUT | GROUP | — |