Nodes/ComfyUI-YogurtNodes/None (Yogurt Nodes)
ComfyUI Node

None (Yogurt Nodes)

The Node That Outputs Nothing (And Why You'll Want It)

By yogurt7771·Created 2 years ago·Updated 4 days ago· 1
None (Yogurt Nodes)
    • none

    There's a node in ComfyUI-YogurtNodes that takes no inputs and outputs a single value called none, and that value is literally Python's None. That sounds like the most useless node in the pack. It isn't. Once you've hit a workflow where a node won't run because one of its optional inputs is sitting there unconnected, or you've wanted to keep a branch alive without computing anything on it, you get why this exists.

    The whole job here is one line of code: return None. No API key, no models, no dependencies, nothing to break.

    Why you'd reach for it

    None has three honest uses in a real workflow:

    1. Stub an optional input. Some nodes behave differently when an input is left dangling. Wire none in, and the node sees an explicit value instead of an unconnected socket - handy for forcing a clean state before you've decided what to feed a branch.
    2. Dead-end a branch on purpose. You're mid-rebuild and you don't want to delete a chunk of your graph. Park a YogurtNoneNode at the end so nothing complains about an unconnected output, and reconnect when you're ready.
    3. Feed an ANY/* input that accepts anything. ComfyUI's wildcard inputs accept a None if the downstream node is written to handle it.

    Just don't get clever with it. None is not a valid IMAGE, MASK, or STRING, and most nodes will throw if you feed them a literal None where they expect a real value. It's for inputs that are documented as accepting any type, and for plumbing - not for production data.

    How to install it

    Same as every node in this pack - it ships in the ComfyUI-YogurtNodes bundle (152 nodes at last count, all under the "Yogurt Nodes" menu). Easiest path is ComfyUI Manager: search for ComfyUI-YogurtNodes and hit install. Or the manual route:

    cd ComfyUI/custom_nodes
    git clone https://github.com/yogurt7771/ComfyUI-YogurtNodes.git
    cd ComfyUI-YogurtNodes
    pip install -r requirements.txt
    

    Then restart ComfyUI. No model downloads, and this particular node only needs numpy and pillow, which you already have. The pack as a whole pulls in openai, google-genai, requests, and opencv-python for its API and image nodes, so if Manager complains about missing dependencies, that's why.

    Common issues

    • "I fed None into my image input and it exploded." Yes - that's expected. None is for * inputs and optional sockets, not for typed ones.
    • "The node doesn't show in my graph." Make sure the pack is actually loaded (check the node list in Manager) and that you restarted after installing. The display name carries the " (Yogurt Nodes)" suffix.

    Honestly, you'll use this node twice a year. But the two times you need it, it's exactly what the name says: a clean, dependency-free way to say "nothing" in a graph that otherwise wants everything connected.

    CategoryYogurtNodes/Logic

    Inputs (0)

    No inputs

    Outputs (1)

    NameTypeDescription
    none*