ComfyUI Node

String

A boring text box, done right β€” and wired

By r-vageΒ·Created 10 months agoΒ·Updated a day agoΒ· 31
String
    • string
    β—„valueβ–Ί

    Every once in a while the most useful node in a pack is the boring one. String is a primitive value node: one text field, one STRING output. If that sounds like it shouldn't need an article, you're right, and that's exactly why it's worth one - because "hold a single string value" is a building block you'll use constantly, and this is the Eclipse pack's version of it.

    The reason it exists at all is the plumbing principle underneath half of ComfyUI: repetition kills workflows. Type the same filename, seed note, or tag into five different widgets and you'll change four of them, miss the fifth, and get a silent mismatch. A primitive node breaks the value out of the widgets and gives it one authoritative source the whole graph fans out from. String is that for text - the same role PrimitiveString plays in ComfyUI core, just living inside the Eclipse family so you don't mix ecosystems when everything else in your graph is Eclipse.

    How it works

    Unsurprisingly simple: the value widget holds the text (a single-line field - for paragraphs, the multiline variants in this pack are what you want), and the string output emits it. Wire that output to as many consumers as you like. The graph stays tidy, and changing the value in one place changes it everywhere.

    The useful little thing worth knowing: because this is a primitive, you can use it to hold values that other nodes' widgets can't. Convert a KSampler's seed or a filename prefix widget to an input and drive it from a primitive - String is the text-flavored version of that trick, and it plays well with the pack's other string utilities.

    Where it fits

    You'll reach for it whenever you have a string that's shared, reused, or just deserves to be visible on the canvas rather than buried in a node's widget - a base filename, a version tag, a prompt fragment you want to feed into multiple places. It sits at the start of nearly every string chain in an Eclipse workflow, feeding String Dual, String Multiline, Smart Prompt output, or a Show Text for debugging.

    Installing it

    Part of ComfyUI_Eclipse, no dependencies:

    git clone https://github.com/r-vage/ComfyUI_Eclipse custom_nodes/ComfyUI_Eclipse
    

    Or ComfyUI Manager β†’ search "ComfyUI_Eclipse" β†’ install and restart.

    Gotchas

    None worth losing sleep over - the only trap is expecting multiline support where there isn't any. Single-line field, single string out. For multi-line content grab String Multiline (which also joins lines) or String Multiline List (which gives you the list too). And the usual family note: workflows built on the pre-v4.0.0 RvTools-era node IDs need the pack's migration tool to load; new workflows are unaffected.

    CategoryπŸŒ’ Eclipse/ Primitives

    Inputs (1)

    NameTypeDefaultDescription
    valueSTRINGString value to output.

    Outputs (1)

    NameTypeDescription
    stringSTRINGβ€”