Nodes/Crystools/πŸͺ› List of any
ComfyUI Node Runs on cloud

πŸͺ› List of any

Collect up to eight loose values into one list

By crystianΒ·Created 3 years agoΒ·Updated 10 months agoΒ· 1,946
πŸͺ› List of any
  • any_1
  • any_2
  • any_3
  • any_4
  • any_5
  • any_6
  • any_7
  • any_8
  • any_list

A small, purpose-built node: it takes up to eight loose values scattered around your graph and packs them into one actual ComfyUI list. It's the "any"-typed sibling of List of strings (also in this pack, documented in the README, but scoped to text specifically). This one doesn't care what type you throw at it.

The obvious use is inspection - the README itself points at pairing it with Crystools' own Show any node so you can eyeball several unrelated values at once instead of dropping a separate debug node after each one. But because the output is a genuine list type (not a concatenated string), it's just as useful as plumbing: anywhere downstream expects a list input, this is a quick way to build one out of individual values without a dedicated list-construction node.

How it works

There's no transformation happening - it just collects whatever's connected and emits it as a list, skipping any of the eight slots you left empty.

The inputs and outputs that matter

  • any_1 through any_8 - eight optional inputs, any type, fill in as many or as few as you need.
  • Output: any_list - a list containing only the slots you actually connected. Leave five empty and plug in three, and you get a three-item list, not eight slots with five nulls.

How to install it

Through ComfyUI Manager: search crystools, install, restart. Or manually:

cd ComfyUI/custom_nodes
git clone https://github.com/crystian/comfyui-crystools.git
cd comfyui-crystools
pip install -r requirements.txt

You'll find it under crystools πŸͺ› / List. No models, no GPU dependency - this is pure graph plumbing.

Common issues & troubleshooting

The node itself is simple enough that there isn't much to break, but there's one structural thing worth knowing about ComfyUI in general that applies here: this node isn't an output node, so if any_list doesn't lead anywhere - no Show any, no list-consuming node downstream - ComfyUI may not bother executing it at all when you queue the graph, since nothing depends on its result. If you're using it purely to gather values for a quick look, make sure it's actually feeding into something like Show any rather than sitting disconnected on the canvas expecting to run on its own.

The other thing to keep in mind: because it accepts any type in any slot, ComfyUI won't stop you from mixing types - a LATENT in any_1 and a STRING in any_2 will both go into the same list without complaint. That's fine if you're just inspecting values, but if you're feeding the resulting list into something that expects a uniform type (a batch of images, say), the mismatch will surface downstream instead of here, which can make the actual source of an error harder to trace back.

Categorycrystools πŸͺ›/List

Inputs (8)

NameTypeDefaultDescription
any_1opt*β€”
any_2opt*β€”
any_3opt*β€”
any_4opt*β€”
any_5opt*β€”
any_6opt*β€”
any_7opt*β€”
any_8opt*β€”

Outputs (1)

NameTypeDescription
any_list*β€”