Nodes/ComfyUI-Apt_Preset/create_any_List
ComfyUI Node

create_any_List

A generic, any-type list builder with dynamic inputs

By cardenluo·Created 2 years ago·Updated 17 days ago· 309
create_any_List
    • *

    Like its sibling create_any_batch, this node declares no fixed inputs at all in its schema - just an output. The difference is in the output type: where create_any_batch emits a LIST, this one emits a wildcard * type explicitly marked as a list. That's ComfyUI's "any" type - a socket that will connect to (and carry) whatever data type you actually plug into it, rather than being locked to IMAGE, MASK, or STRING specifically.

    What it is and why you'd reach for it

    create_any_List sits in ComfyUI-Apt_Preset's data utilities, alongside the pack's other dynamic batch builders. The empty static schema plus a variable-count "+" style input UI (the same pattern used across this pack and the wider ComfyUI ecosystem for combine/batch nodes) means you add exactly as many input slots as you need, of whatever types you need, and the node hands them back as a single list. Because the output is typed * rather than a specific type like LIST, it's the more flexible of the two - useful when you're building a heterogeneous collection (mixed types) or when the downstream node you're feeding is itself typed to accept "any."

    How it works

    With no static inputs declared, everything happens through the node's own UI - look for the add-input control on the node body and add one slot per item you want in the list. Whatever gets wired in, in whatever order you add it, becomes the list.

    Inputs and outputs that matter

    No required or optional fields exist in the fixed schema - this is entirely a dynamic-input node. The documented piece is the output:

    • * (marked is_list: true) - a wildcard-typed list containing whatever you connected, in the order you connected it.

    Since there are no named static inputs, the actual "inputs that matter" here are whatever you choose to add via the node's UI controls - there's nothing pre-defined to describe beyond that.

    Installing 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
    

    Run install.bat on Windows for dependencies; on Linux/Mac install the requirements by hand, since there's no bundled installer for those platforms. No models required - this is pure list assembly, nothing to download.

    Common issues

    The most common confusion with a wildcard * output is on the receiving end, not this node: some downstream nodes are picky about what "any" actually contains once it's a list rather than a single item, so if a connection that should type-match refuses to wire up, double check whether the target node genuinely accepts a list of * or expects a single wildcard value.

    If the node appears with no visible way to add inputs, look for a small "+"-style control on the node itself rather than assuming sockets should already be present - dynamic-input nodes like this one deliberately start empty.

    As with the rest of ComfyUI-Apt_Preset: it's a large pack under active development, and at least one user has reported an IMPORT FAILED error at ComfyUI startup after installing it. Check the console log first if this node isn't showing up in your search.

    CategoryApt_Preset/data

    Inputs (0)

    No inputs

    Outputs (1)

    NameTypeDescription
    **