Nodes/Painting Coder Utils/Show Text Plus 📝
ComfyUI Node

Show Text Plus 📝

Actually see the text flowing through your workflow

By jammyfu·Created 2 years ago·Updated 2 years ago· 16
Show Text Plus 📝
    • text
    input_text

    Prompts and text pass through your graph invisibly - you wire a string into a text encoder and you can't see what it actually became until the image comes out wrong. Show Text Plus is the display node that ends that: it shows the text right on the node and updates as you run, so you can watch a prompt get assembled, modified, or mangled in real time. It's the pack's answer to the built-in display/textarea node, and it's an output node by design.

    It's part of the Painting Coder Utils pack, and it plays well with the rest of the text family - Text Combiner ✍️, Remove Empty Lines, and the input nodes all feed into it naturally.

    How it works

    The node takes an input_text STRING and does two things. First, it displays the text on the node body, updating the UI whenever the value changes (the front-end wires the display so you see live updates, not a stale snapshot). Second, it passes the text through on its text output - so you can drop it inline into a chain and still keep the text flowing to the next node while you inspect it.

    The README's headline feature is the text statistics: character count, word count, and line count, computed and shown alongside the text. That makes it useful as more than a debugger - it's a quick sanity check for prompt length or for counting lines in a caption list you're assembling.

    One thing to know: this is an output node (OUTPUT_NODE = True), which in ComfyUI terms means it's a terminal - it marks the end of a branch, and its result gets recorded in the workflow's output. Wire it where you want to observe, not in the middle of a path you expect to continue invisibly (it does pass text through, but its job is to be the end of the line).

    Inputs and output

    • input_text - the STRING to display.
    • Output: text - the same text, passed through.

    Where you'll use it

    Debugging is the headline: watch what a Text Combiner actually assembled before it hits the CLIP encoder, or confirm that a cleaned prompt survived its journey intact. It's also a nicer drop-in than the default text display node when you want live updates plus character/word/line stats, and its pass-through means it doesn't force you to rewire when you add it to a working graph.

    Install

    ComfyUI Manager → Painting Coder Utils, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/jammyfu/ComfyUI_PaintingCoderUtils.git
    

    Restart ComfyUI. No models, no API keys; the pack's dependencies (numpy, Pillow, torch, gradio) are already present in any working ComfyUI. If an inherited workflow can't find these nodes, remember the v0.3.0 namespace rename - the bundled docs/fix/workflow_fixer.html repairs old JSON.

    Category🎨Painting👓Coder/📝Text

    Inputs (1)

    NameTypeDefaultDescription
    input_textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING