Nodes/ComfyUI-nhknodes/πŸ“ Simple Text Input (nhk)
ComfyUI Node

πŸ“ Simple Text Input (nhk)

The Most Honest Node in the Pack β€” Simple Text Input (nhk)

By EnashkaΒ·Created 12 months agoΒ·Updated 28 days agoΒ· 23
πŸ“ Simple Text Input (nhk)
    • text_output
    β—„text_inputEnter your text here...β–Ί

    Simple Text Input (nhk) is a multiline text box that outputs exactly the text you typed, with no processing whatsoever. The whole node is one input and one output. There is nothing to get wrong, and that's the point.

    Core ComfyUI gives you a text field inside CLIPTextEncode, but those are tied to the CLIP model - you can't easily grab raw text out of the middle of the graph as a standalone value. This node gives you a plain STRING source you can wire anywhere: into a Text Template, a prompt combiner, an API call, an image prompt, a file-naming node, or any custom node that eats a string. If you find yourself repeatedly needing "just a box of text" on the canvas, this is that box.

    How it works

    There's no engine to explain. It's a STRING widget marked multiline, defaulting to the placeholder text "Enter your text here...", and the process method returns it unchanged. Where it earns its keep is being a typed string output rather than a widget buried inside some other node - it converts a UI field into a first-class value that flows through the graph like any other data.

    That means you can do genuinely useful things with it: chain it into a Text Template to build prompts dynamically, use one as a reusable base prompt shared across multiple encodes, or drive it from an external source. It's also one of the simplest possible templates for anyone learning how ComfyUI custom nodes work - the entire class fits in a screen.

    Inputs and output

    • text_input - multiline string, default "Enter your text here...". What you type.
    • text_output - the same string, unchanged.

    No optional inputs, no extra modes, no seed. It's the honest node of the pack - the README literally describes it as "minimal text entry node that just forwards its value."

    Installing it

    Same as everything in this pack:

    cd ComfyUI/custom_nodes && git clone https://github.com/Enashka/ComfyUI-nhknodes
    

    restart, or grab "NHK Nodes" from ComfyUI Manager. Zero dependencies beyond what ComfyUI already has.

    Honest verdict

    You might already have an equivalent from another pack (plenty of packs ship a "String" node), and if you do, there's no reason to switch. But if you're working with nhknodes anyway - and especially if you pair it with the pack's Text Template or Cycling Switch for prompt variation - this is the cleanest string source in the set. Its one shortcoming is that it has no concept of randomization or dynamic prompts; if you need __width__-style substitutions or random segments, you want the core CLIPTextEncode's dynamic prompts instead. For a plain, reliable, wireable text box, this is it.

    Categorynhk/text

    Inputs (1)

    NameTypeDefaultDescription
    text_inputSTRINGEnter your text here...Text input that passes through unchanged

    Outputs (1)

    NameTypeDescription
    text_outputSTRINGβ€”