Nodes/feidorian-ComfyNodes/FD TextBox Literal
ComfyUI Node

FD TextBox Literal

A big multiline text box that outputs a plain string

By Feidorian·Created 3 years ago·Updated 7 months ago· 5
FD TextBox Literal
    • string
    string

    Feidorian_TextBoxLiteral (FD TextBox Literal) is the multiline sibling of FD Text Literal: a big text area you can type a long prompt into, and a single STRING output that hands whatever you wrote to the rest of the graph. The only real difference from its single-line cousin is the box - multiline input, so newlines survive, so long prompts stop being a cramped one-liner.

    Why you'd reach for it. Long prompts, mainly. SDXL and beyond reward descriptive prompts, and a single-line widget makes those unreadable. This node gives you room to write a full prompt with line breaks, then wire the result wherever text goes: into a CLIP text encode, into the FD save nodes' prompt_text metadata, into a concat node for building prompt segments. Because it's a literal, you author the text once and reuse it in several places without retyping - and editing one box updates the whole graph.

    How it works. One line of real work: return the string. Input string is a multiline STRING (default empty), output is string (STRING). No trimming, no processing, no hidden behavior. What you see in the box is exactly what lands downstream.

    The honest take. There's a good reason every utility pack ships one of these - once you've built a graph where the same prompt feeds a text encoder, a filename, and saved metadata, you don't want to go back to retyping. The FD version is as bare-bones as they come, which is fine. Where it shows its age: it has no dynamic-prompt or wildcard support, no formatting helpers, nothing like a multi-text cache - it's a literal, that's the point. If you're on a recent ComfyUI, the built-in text widgets are closing the gap, but for a clean "one prompt, many destinations" setup this still works.

    The one thing to know: it's from an archived pack, so it's frozen as-is. For a plain text box that's fine - there's nothing for it to become.

    Install. ComfyUI Manager (search "feidorian-ComfyNodes"), or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Feidorian/feidorian-ComfyNodes
    

    Restart ComfyUI and it appears under the "FD" prefix in literals. No dependencies, no models - it's pure Python and installs cleanly.

    Categoryfeidorian/literal

    Inputs (1)

    NameTypeDefaultDescription
    stringSTRING

    Outputs (1)

    NameTypeDescription
    stringSTRING