Nodes/Comfyui-General-API-Node/Simple Text (FeiMao-326)
ComfyUI Node

Simple Text (FeiMao-326)

The humble constant node that every workflow ends up needing

By FeiMao-326·Created 12 months ago·Updated 5 months ago· 0
Simple Text (FeiMao-326)
    • text
    text

    Some nodes do something clever. This one does nothing at all, and that's exactly why you'll use it. It's a text constant: one multiline input box, one string output. Type a prompt, a system message, a style snippet - anything - and it hands that text to whatever you wire it into. ComfyUI core has had its own text widgets for a while, but this node exists because having a dedicated, obvious constant node makes graphs readable.

    How it works

    There's genuinely no mechanism to describe. text (multiline, default empty) goes in as a widget you type into, and the text output echoes it straight back. It's marked as an output node, so ComfyUI treats it as a terminal in the execution queue - it runs, shows in your history, and reliably delivers the string downstream.

    The whole value proposition is ergonomics. In a crowded graph, a node literally named "Simple Text" with a visible prompt is self-documenting. When you load someone else's workflow and see a box of text, you know it's a constant. When you look at your own graph six months later, same thing. That's worth a lot more than the twenty seconds it saves over using a bare widget.

    Where it fits

    In this pack, Simple Text is the feeder for the interesting stuff: constant prompts into the General API Node, values into the Text Template's dynamic slots, tags into Prompt Cleaner before the sampler. It pairs especially well with the dynamic nodes in this suite - Text Template creates {var} slots as universal types, and Simple Text is the obvious source to wire into them.

    It also makes a good comment board. A multiline text box sitting in the graph is a perfectly good note that actually holds data - write your intent in the box, feed the same box into a branch, and the note doubles as a value. One light aside: this is the "input" twin of the pack's Show Text, which is the display node for wired strings. Simple Text holds a constant you type; Show Text shows whatever arrives.

    Honest take: you don't need this node. ComfyUI's core text widgets and CLIP Text Encode's prompt box cover 95% of cases. It's a convenience, not a capability - but convenience is the point of a utility pack, and for readability it's the right tool.

    Inputs and outputs

    • text (STRING, multiline) - the constant text; default empty.
    • text (STRING) - passthrough of what you typed.

    Installing

    It's one of the sixteen nodes in the FeiMao-326 pack, so you get it free with the rest. ComfyUI Manager (search "Comfyui-General-API-Node") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/FeiMao-326/Comfyui-General-API-Node.git
    cd Comfyui-General-API-Node
    pip install -r requirements.txt
    

    Restart ComfyUI, then Add Node → FeiMao-326 → Simple Text. Dependencies are minimal (openai, numpy, Pillow, requests), no models to download, no configuration to worry about.

    CategoryFeiMao-326

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING