Show Text xO📝
Display text in the graph, or glue two strings together first
- text
- concatenated
The plainest kind of debug node there is: wire any STRING output into this and read it directly on the node itself - no Preview node, no Save node, nothing else required. It's marked as an output node internally, which is why ComfyUI renders the result inline. If you're using this pack's OllamaTextGen node, this is how you actually see what it wrote instead of guessing.
It's the same basic idea as the well-known "Show Text" node from pythongosssss's ComfyUI-Custom-Scripts - a fixture in plenty of Ollama-prompting workflows for exactly this purpose - with one thing bolted on that most plain display nodes don't have: it can take two strings, glue them together with a separator, and let you choose which of the three results actually comes out.
How it works
Feed text1 alone and it just displays it - the default mode. Feed both text1 and the optional text2, set output_select to concatenated, and you get text1 + separator + text2 as one string. Or set output_select to text2 to just pass the second string through and ignore the first. It's a light string utility wearing a display node's clothes.
The inputs and outputs that matter
text1(required) - usually the thing you actually came here to look at, like anOllamaTextGenresponse.text2(optional) - a second string, only relevant if you're combining or want to switch to it.separator(default a single space) - what sits between the two when concatenating.output_select(text1/text2/concatenated, defaulttext1) - picks the mode.textandconcatenated- both outputs, and both flagged as list-typed in the schema, which is a little unusual for what's fundamentally a single string. Worth checking if a downstream node complains about a type mismatch.
How to install it
Standard pack install: ComfyUI Manager, search ComfyUI Neural Nodes, install and restart. Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/xobiomesh/ComfyUI_xObiomesh
then restart. Pure Python, no models, nothing extra to download - it's just string handling and a UI widget.
Small caveat worth knowing about the pack in general: the README covers two of its eight nodes (both the Ollama ones), and this isn't one of them - same as most of the utility side. Function here is read off the schema, not a documented spec.
Common issues & troubleshooting
Nothing displays, or it looks unchanged. Check output_select actually matches what you filled in - setting it to concatenated with text2 left empty just gives you text1 plus a trailing separator, which can look like nothing happened if you're not watching closely.
Downstream node rejects the output as the wrong type. Both outputs are marked is_list: true in the schema, which is worth remembering if you're feeding this into something that expects a single scalar string rather than a list.
You just want a plain debug view. Ignore text2, separator, and output_select entirely, plug your string straight into text1, and it behaves exactly like a bare "show me this text" node - the concatenation feature is opt-in, not something you have to think about if you don't need it.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| text1 | STRING | — | |
| separator | STRING | — | |
| output_select | COMBO | text1 | 3 options: text1, text2, concatenated |
| text2opt | STRING | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| concatenated | STRING | — |