ComfyUI Node

2🐕View Text

A debug window for whatever prompt string your graph actually produced

By 11dogzi·Created 2 years ago·Updated 2 years ago· 102
2🐕View Text
    • text
    text

    The moment you start building prompts out of pieces - random tag pickers, splicing nodes, wildcard-style selection - you stop being able to trust what you think your prompt says. The text your sampler actually receives is whatever came out the far end of that chain, and if a random node picked something unexpected or an exclude filter ate a word it shouldn't have, you won't know until the image comes out wrong and you're left guessing why. View Text solves that by just showing you the string.

    It's deliberately minimal, and that's the whole appeal. It's a debug/preview node: one required text input, and it echoes back that exact same text as its output. Because it's marked as an output node, ComfyUI displays whatever text landed on it directly on the node itself when the graph runs - so you can drop it mid-chain, right after a random-splicing or template node, and see in the UI exactly what got generated, without derailing the rest of the graph. Since it also passes the same text through as an output, you're not sacrificing anything by inserting it - the chain continues exactly as it would have without the node there.

    Where to put it

    Anywhere you have a STRING you want visibility into but the graph otherwise doesn't display: right after one of this pack's own randomized prompt nodes, after a template-manager read, after any text concatenation step where you're not 100% sure what the final joined string looks like. It costs nothing to leave several of these scattered through a complex prompt-assembly chain while you're building it, then remove them (or just ignore them) once you trust the result.

    Installing it

    ComfyUI Manager: search "Comfyui-ergouzi-Nodes", install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/11dogzi/Comfyui-ergouzi-Nodes.git
    

    then restart ComfyUI. It's a passthrough with no models and no dependencies. Worth setting expectations here too: this is a small, low-profile pack - it barely shows up in English-language ComfyUI discussion at all, so if something about it confuses you, don't expect to find a tutorial; the schema and README are most of what's out there. And as with the rest of the pack, the English repo is the frozen branch - active development continues on a separate Chinese-first sibling.

    Common issues & troubleshooting

    Nothing displays on the node. Make sure the graph has actually executed past this point - the displayed text only appears after a run, not just from wiring the connection. If you're previewing a random or seeded upstream node and the display looks the same every time, check whether that upstream node's seed is actually changing between runs, rather than assuming this node is stuck.

    You want to edit the text, not just view it. This node doesn't have an editable field of its own - it only displays and passes through whatever it's given. If you need to tweak the string, do that upstream (a plain text box, or one of the pack's splicing/template nodes) and let this one just confirm what the result was.

    Category2🐕/🗒️Text

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING