Text
The Text Constant That Shows Its Work
- text
In the node menu it's just called Text, and you'd be forgiven for assuming it's the most boring node in WtlNodes. It kind of is - which is exactly why you should know about it. This is the pack's text constant: a plain multiline box that holds a string and hands it to the rest of your graph. No models, no math, no disk I/O. Just a dependable STRING source with one nice trick.
The trick is that Text is also a display node. It's registered as an output node, and after a run it renders whatever string it emitted right there on the node. Under the hood it returns its value twice: once into the graph as the text output, and once into its own UI, which the pack's frontend extension writes back into the textarea widget. So instead of squinting at a generic widget, you see the actual text sitting on the canvas. Since the value is a constant you type, "what it emits" equals "what you typed" - the point is that it stays visible and never gets pruned as unused, which is more than ComfyUI's own primitive string boxes guarantee.
The one input that matters is value - a multiline STRING, empty by default. That's the whole node. The single output is text (a STRING), and you wire it anywhere a string is expected: the positive or negative prompt input on a CLIP Text Encode, into WtlTextAppend, or into anything that takes a text value.
Why would you reach for it? Prompt assembly and debugging. When a workflow builds a prompt from multiple blocks - subject, style, artist, quality tags - the final string usually lives buried inside a text encoder's widget, where you can't see it at a glance. Text is where that string lives, visibly, before it gets encoded. Pair it with the pack's Text Append and you can build a prompt from parts and actually read the assembled result before it hits the sampler. For that debugging job it's hard to beat.
Install is the same for every WtlNodes node, and it's painless:
cd ComfyUI/custom_nodes/
git clone https://github.com/Scorpiosis0/ComfyUI-WtlNodes.git
then restart ComfyUI. Or just open ComfyUI Manager, search for "WtlNodes", and install from there. The pack's requirements.txt asks for numpy, scipy, and pillow - a stock ComfyUI environment almost certainly already has all three, and there are no model files to download. The whole thing is pure Python running in-process.
Two things trip people up. First, search for "Text", not "WtlText" - the node's display name is Text under the WtlNodes/logic category. Second, it's a source, not a sink: nothing wires into it. If you were hoping to feed a dynamically-generated string into a node and have it display there, that's a "show text" node, not this one. This is where a string starts.
One honest caveat: this pack has essentially zero Reddit footprint - a search of the community corpus turns up nothing, so if a shared workflow is missing it, Manager is your only lifeline. It's a small independent pack by Scorpiosis0 (a.k.a. writili). But for a text constant, "small and independent" is a feature, not a risk. There's barely any code to go wrong.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |