Nodes/Bjornulf_custom_nodes/๐Ÿ‘ Show (String/Text)
ComfyUI Node

๐Ÿ‘ Show (String/Text)

A read-only node to see your text

By justUmenยทCreated 2 years agoยทUpdated about a year agoยท 545
๐Ÿ‘ Show (String/Text)
      โ—„STRINGโ–บ

      Half of debugging a ComfyUI graph is answering the question "what text is actually flowing through this wire right now?" Show (String/Text) exists purely to answer it. Drag any string output - a prompt, a filename, a generated caption, the output of a text-processing node - into this node and it displays the value on the canvas. Read-only. That's it, and that's genuinely all you want it to be.

      It's the text equivalent of a Preview Image: you don't wire it into your pipeline, you tap it onto a wire to watch what's passing by. When your dynamic prompt isn't producing what you expected, this is how you catch it.

      How it works

      It takes a STRING and renders it inside the node. The pack colour-codes its display nodes so you don't accidentally treat them as editable - green is for strings - and the author added a set of type-specific viewers (Int, Float, String, JSON) precisely because ComfyUI will then recommend the right one automatically when you drag off a typed output. So if you pull a wire off a string port, this node pops up as a suggestion. Nice quality-of-life touch.

      The inputs and outputs that matter

      There's exactly one input:

      • STRING - the text to display. Connect any string-producing node here.

      There are no outputs. This is a terminal display node (an output node in ComfyUI terms), so it doesn't pass the value along - it's an endpoint. If you need to both see the text and keep using it, tee the source into this node and into your next node; don't try to chain through it, because there's nothing coming out the other side.

      How to install it

      ComfyUI Manager โ†’ search Bjornulf_custom_nodes โ†’ install โ†’ restart. Manual:

      cd ComfyUI/custom_nodes
      git clone https://github.com/justUmen/Bjornulf_custom_nodes
      pip install -r Bjornulf_custom_nodes/requirements.txt
      

      then restart ComfyUI. This node has zero special dependencies - it's about as lightweight as a custom node gets - so it loads even if the pack's heavier optional deps (ffmpeg, ollama, whisper) don't install.

      Common issues & troubleshooting

      It's empty until I run the graph. Right - it displays what actually flowed through on execution, so hit Queue Prompt and it fills in. If it's still blank after a run, the upstream node isn't producing a string, or that branch didn't execute.

      I want to see a number, not text. Use the matching viewer - the pack ships Show (Int) and Show (Float) as separate nodes, and they auto-recommend when you drag off an int or float port. Feeding a raw int into the string viewer may not display cleanly; convert it first, or just use the right node.

      I need structured/JSON output to be readable. Use Show (JSON) instead - it pretty-prints and formats, whereas this one shows the raw string as-is.

      I can't edit the text here. By design. This is a viewer, not an input. If you want to write text, use the pack's Write Text node; the colour-coding is the author's way of signalling "look, don't touch."

      CategoryBjornulf

      Inputs (1)

      NameTypeDefaultDescription
      STRINGSTRINGโ€”

      Outputs (0)

      No outputs