ComfyUI Node

Y7 Text

The most boring node in the pack, and one of the most useful

By yushan777·Created about a year ago·Updated 4 days ago· 8
Y7 Text
    • text_out
    text

    Y7 Text is a multiline text box with a copy button that outputs whatever you typed as a string. Nothing more. No tokenizing, no processing, no hidden features. And that plainness is exactly why you'll keep reaching for it.

    The reason has to do with a ComfyUI quirk that catches people constantly: some third-party nodes mark their text inputs as forceInput, which means you can't just type into them - ComfyUI insists you connect a string from somewhere. If the node you're using has no text source upstream, you're stuck. A text pass-through node like this one is that somewhere: type once, wire the text_out string into as many consumers as you like.

    Where it fits in a workflow

    Think of it as the "scratchpad that feeds things" node. A few genuinely common setups:

    • Feeding multiple consumers - type a base prompt once, fan it out to several nodes instead of maintaining the same text in three different widgets.
    • Satisfying a forced string input - any node with a STRING input that won't accept a literal, like the pack's own T5/CLIP token counters or the Catch-and-Edit-Text receiver. Wire Y7 Text into it and the socket stops complaining.
    • Quick editing - type or paste something, hit the 📋 copy button to grab it, paste it somewhere else. It's a glorified scratchpad, but a convenient one.

    The pass-through framing is the design. The node takes an optional text input (multiline, empty by default) and hands back the exact same string as text_out. You can even chain it - connect another node's string into it and it acts as a passive repeater with a handy copy button bolted on.

    The one input, the one output

    • text - optional, a multiline STRING with a tooltip that says exactly what it does: "Text input that will be passed through to the output."
    • text_out - the same text, unchanged, as a STRING.

    That's the entire schema. The copy button is a front-end widget added in JavaScript, not a backend input.

    Installing it

    It ships in ComfyUI-Y7Nodes ("Y7Nodes for ComfyUI"). ComfyUI Manager → Custom Nodes Manager → search Y7Nodes → Install → restart, or:

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

    This node needs nothing beyond ComfyUI itself. The pack's requirements file pulls in transformers, sentencepiece, lmstudio and friends for its heavier LLM nodes, but Y7 Text is pure pass-through.

    Common issues

    Honestly, there's not much to go wrong - which is the point. The one thing that trips people: it's not an output node, so nothing happens unless you connect text_out to something. Leave the output dangling and the node just sits there silently. And if a downstream node errors saying it expected a string, double-check you wired the text_out socket and not the node's raw widget - the socket is what carries the value.

    CategoryY7Nodes/Utils

    Inputs (1)

    NameTypeDefaultDescription
    textoptSTRINGText input that will be passed through to the output

    Outputs (1)

    NameTypeDescription
    text_outSTRING