ComfyUI Node

✍ Text Input

A clean, wireable multiline string source

By alt-key-projectΒ·Created 3 years agoΒ·Updated 2 years agoΒ· 114
✍ Text Input
    • STRING
    β—„valueβ–Ί

    ComfyUI has built-in primitive nodes that look like this - a text box that doubles as a widget. The Dream Project pack's Text Input [Dream] exists because the author got tired of fighting primitive routing quirks ("until primitive routing issues are solved", as the node's own description puts it). It's a dead-simple node: one multiline text field, one STRING output. You type, it passes the string through untouched.

    Why it earns its place

    In a frame-by-frame animation graph you end up with a lot of text - prompts, prefixes, paths, fragments for the prompt builders - and having them as real nodes with wireable outputs instead of inline widgets makes the graph readable and lets you route the same text to several places. This is the multiline flavor; the pack also ships String Input (single-line) for short values. It's the boring node that keeps your graph tidy, and boring is fine.

    The one input

    • value - a multiline string field, default empty. That's the entire node.

    The single output is STRING, and it's exactly what you typed - no trimming, no formatting, no surprises. Wire it into anything that eats a string: CLIP Text Encode, a Build Prompt [Dream] node's added_prompt, the encoder's name, a file path, whatever.

    Installing it

    Ships with Dream Project Animation Nodes - ComfyUI Manager (search Dream Project Animation) or clone https://github.com/alt-key-project/comfyui-dream-project into custom_nodes, pip install -r requirements.txt, restart. No model downloads.

    Common issues

    Honestly, this node has almost nothing to go wrong - which is the point of it. The only real friction is remembering that a multiline string can contain newlines, and if you feed it somewhere that chokes on newlines (like a filename field), the error is in your data, not the node. And if you're looking for a node that transforms text, this isn't it - that's what the pack's String Tokenizer and the prompt builders are for. This one just passes the text through, exactly as advertised.

    Category✨ Dream/πŸ›  utils

    Inputs (1)

    NameTypeDefaultDescription
    valueSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    STRINGSTRINGβ€”