Nodes/ComfyUI-LogicUtils/Pyobjects/Create List
ComfyUI Node

Pyobjects/Create List

The empty list every LogicUtils chain starts from

By aria1th·Created 3 years ago·Updated 7 months ago· 116
Pyobjects/Create List
    • LIST

    This is the plainest node in the whole pack, and that's the point. It takes no inputs at all - none, zero, the schema is empty - and produces one output: an empty LIST. That's it. It exists because every other list-manipulation node in LogicUtils (Append, Extend, Insert, Pop, Get, Remove) needs a LIST to operate on, and something has to be the first domino.

    What it does, and why you'd bother

    If you're building up a list from scratch inside a ComfyUI graph - collecting a handful of seeds, assembling filenames, gathering values you'll later dump to JSON - you start here, then chain a List Append or List Extend node off the output to actually put things in it. Think of it the same way you'd think of my_list = [] at the top of a Python script; this node is that line, made visual.

    It's a small piece of a bigger idea: the rest of LogicUtils is essentially raw Python data structures - dicts, lists, ints - piped through ComfyUI's node graph instead of a script. That's a genuinely different way to work than most of the ecosystem, which is built around images, latents, and conditioning. If you've ever wished you could just write list.append() mid-workflow instead of wiring together five specialized nodes, this pack (starting from this node) is the closest thing to that.

    The author, aria1th, also goes by AngelBottomless - the name behind the Illustrious XL training work - for context on where this small utility pack sits relative to the rest of that account's output.

    The inputs and outputs that matter

    There genuinely isn't much to explain:

    • No required or optional inputs.
    • One output: LIST - empty, ready to be built up by whatever comes next.

    Installing it

    Open ComfyUI Manager, search ComfyUI-LogicUtils, click install, restart ComfyUI. Prefer doing it yourself: cd ComfyUI/custom_nodes && git clone https://github.com/aria1th/ComfyUI-LogicUtils, then restart. There's nothing to download beyond the code itself - no models, no CUDA-hungry libraries. When a Redditor went hunting for the lightest possible node for basic logic operations, ruling out heavier packs specifically because of install weight and maintenance risk, LogicUtils got recommended on the strength of having no dependencies at all. The pack does ship an install hook, gated behind COMFYUI_LOGICUTILS_AUTO_INSTALL=1 (opt-in) with COMFYUI_LOGICUTILS_SKIP_INSTALL=1 as an explicit off switch - but given there's nothing heavy to auto-install here, most people will never interact with either flag.

    Where people get burned

    Honestly, not much can go wrong with a node that takes no inputs. The one real trap is upstream of this node entirely: forgetting that Create List has to run before anything tries to Append, Extend, or Insert into it. If you wire a List Append node without a Create List (or some other list-producing node) feeding its py_list input, ComfyUI will complain that the required input isn't connected - there's no implicit "start with an empty list" behavior anywhere else in the pack.

    Beyond that, the pack's documentation is thin by the author's own admission - the README says outright that proper docs are still being written because there are simply too many nodes to cover individually - so if you're ever unsure what a downstream list node expects, the safest move is tracing the chain back to a Create List (or a JSON Parse producing a list) and following the types forward from there.

    CategoryData

    Inputs (0)

    No inputs

    Outputs (1)

    NameTypeDescription
    LISTLIST