Nodes/ComfyUI_AceNodes/πŸ… Text Preview
ComfyUI Node

πŸ… Text Preview

See the string on the canvas β€” the debug node that saves you from blind pipelines

By hay86Β·Created 2 years agoΒ·Updated about a year agoΒ· 96
πŸ… Text Preview
    • STRING
    β—„textβ€”β–Ί

    Prompts go wrong in silence. You build a chain of text nodes, hit Queue, and the image comes out with a prompt you don't recognize - because some node upstream mangled, truncated, or blanked the string, and nothing told you. ACE_TextPreview is the cure: it shows whatever string reaches it, right on the canvas, when the graph runs. It's a debug probe for text flow, and every text-heavy workflow eventually needs one.

    It's part of πŸ… Ace Nodes (hay86/ComfyUI_AceNodes), the usual one-author grab-bag. Boring, small, and exactly the kind of node you stop noticing you're using.

    How it works

    One input, text, marked forceInput - you wire a string into it. It's an output node, so it doesn't need to feed anything onward; it exists to render its input in the UI when the graph executes. The output is the same string (as a list), so you can also drop it inline in a chain purely as a visual checkpoint without breaking the flow.

    The one quirk: it's list-oriented (INPUT_IS_LIST), which means it's happiest when fed from a list-producing node like the pack's ACE_TextList - feed it a batch of prompts and you'll see them all in the UI. A single string still works, it just gets treated as a one-element list.

    Where you'll use it

    Three classic spots:

    • After a concatenation or selector - confirm the assembled prompt is what you think it is before it hits the CLIP encoder.
    • After a translation node (ACE_TextTranslate / ACE_TextGoogleTranslate) - the free Google one fails silently to the original text; a preview is how you catch that.
    • At the end of any text-manipulation chain you're building for the first time - sanity check, then rip the preview out once you trust it.

    It's the text-world equivalent of a Save Image you point at a debug socket. There's no setting to speak of, which is the appeal.

    Installing

    ComfyUI Manager β†’ search ComfyUI_AceNodes, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/hay86/ComfyUI_AceNodes
    

    Then restart. Installing the pack pulls its heavy requirements.txt (transformers, rembg, insightface, soundfile, …) even though this node is pure core Python. If that tax bothers you, note that plenty of other utility packs (ComfyUI-Custom-Scripts has a Show Text) do the same job - but if you're already in Ace Nodes, this one is free.

    Honestly: not a node you'll think about, but a node that saves you when a prompt goes sideways at 3am. Keep one in your toolkit.

    CategoryAce Nodes

    Inputs (1)

    NameTypeDefaultDescription
    textSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    STRINGSTRINGβ€”