Nodes/Louis Use/πŸ“ Show Text
ComfyUI Node

πŸ“ Show Text

See the text a node generated β€” and copy it without digging through the console

By LouisLU1997Β·Created 4 months agoΒ·Updated 2 months agoΒ· 0
πŸ“ Show Text
    • text
    β—„textβ€”β–Ί

    ComfyUI is weirdly bad at one basic thing: showing you text. When a node generates a string - a QwenVL caption, a structured prompt, a filename - it goes into the output and then vanishes, unless you happen to catch it in the console or wire it into another node that happens to render it. πŸ“ Show Text is the fix: it displays whatever string you feed it directly on the node body, after the run, so you can read it, select it, and copy it.

    It's the pack author's own scratch-it note in node form - the description literally says "ζ–ΉδΎΏι€‰δΈ­ε€εˆΆοΌˆζ­ι… QwenVL η­‰ζ–‡ζœ¬η”ŸζˆθŠ‚η‚ΉοΌ‰": convenient for select-and-copy, paired with QwenVL-style text generation nodes. If you're running one of those local-LLM prompt builders, this is the node that makes the output actually visible instead of a mystery.

    What it does

    • Input: text, a STRING. It's forceInput, so you can't type a value - you must wire it from an upstream string output. That's deliberate; it's a display node for generated content.
    • Output: text, passed through unchanged as a list. So you can hang Show Text in the middle of a chain and the string keeps flowing downstream - it's an observation point, not a dead end.

    It's an output node, and there's a custom JS extension behind it: after execution, the text is written back onto the node and persisted into the workflow's widget values. That last bit matters - it means the text survives a save/reload of the workflow, so you can re-open a graph later and still see what the LLM produced on that run, rather than it evaporating.

    Where it fits

    • After a Qwen/QwenVL text node - see the caption or prompt the model actually wrote, copy it, decide if it's usable.
    • After this pack's Ideogram4 Text Encode - inspect the json_text before you commit it to sampling.
    • After any STRING-producing node - filenames, timings (the pack's TimerVRAM time_str output is a natural candidate), API responses.

    Installing it

    Part of the Louis Use pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/LouisLU1997/ComfyUI-louis-use Louis_use
    

    Or "Louis Use" in ComfyUI Manager, then restart. No dependencies beyond core - it's a display node with a small JS helper.

    The one thing to know

    The display shows the value from the last run - like most ComfyUI output feedback, if you change upstream and haven't re-run yet, the node still shows the old text. That's not a bug, it's just how the feedback mechanism works: run, then read. It's also a list-passthrough, so if your upstream emits multiple strings (list mode), you'll get them all through - one more reason it's a handy inline debug tool while you're building a graph that generates text.

    CategoryLouis_use

    Inputs (1)

    NameTypeDefaultDescription
    textSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    textSTRINGβ€”