Nodes/comfyUI-tool-2lab/text 输入文本
ComfyUI Node

text 输入文本

The simplest text input in the pack

By AI2lab·Created 2 years ago·Updated 2 years ago· 23
text 输入文本
    • text
    text

    There's a node in this pack called text (2lab), and it does exactly one thing: one multiline text box in, one string out. That's the whole node. No options, no mode switches, no hidden features. If you've used ComfyUI's built-in CLIP Text Encode you've already seen the idea - this is the bare text widget version, minus the CLIP encoding, for when you need a string to exist in your graph without any model attached.

    So when would you actually reach for this instead of the built-in text widgets on other nodes? The honest answer is: mostly when you want a prompt or label that flows through an intermediate stage - into a list builder, a string-hub, a translator, or a file saver - without being forced through a CLIP encoder first. Core ComfyUI is annoyingly stingy about giving you a raw string with an output; this node gives you exactly that, clean and explicit.

    Input and output

    • text - a multiline string. Type it, wire it, done.
    • Output: text - the same string, passed through.

    That's the entire surface. It's a utility in the purest sense: if you need a typed string anywhere in your graph, this is the node that provides one.

    How it works

    It's a pass-through. The string you type becomes the output value on every run. There's no file loading, no API call, no randomness - which is precisely why it's handy: it's predictable in a way most nodes aren't. If you want to see what's flowing through mid-graph, chain it into ShowText (2lab); if you want to file it away, chain into SaveText (2lab). This node is the source, the others are the sinks.

    Installing it

    The pack installs like any other. ComfyUI Manager → search "comfyUI-tool-2lab" → install, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/AI2lab/comfyUI-tool-2lab
    

    Restart ComfyUI. No models, no pip dependencies.

    Gotchas

    • It doesn't render, and it doesn't save. It only produces a string. If the value seems to vanish, the node upstream of it didn't get wired right, because this node has nothing else to offer.
    • You'll meet its sibling. The pack also ships Text (2lab) - same field, same output, filed under a different category. They're near-identical; the pack grew organically and kept both. Pick either and don't overthink it.
    • Repo visibility. The pack's GitHub page currently returns 404, likely made private or renamed by the author. Fresh clones can fail while existing installs keep running - a known quirk, not your error.
    Category🦊2lab/util/text

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING