Prompt Text
The Most Boring Node That Still Earns Its Place
- prompt
Prompt Text is a text box. That's it. One multiline string widget in, one STRING out. If that sounds pointless, you haven't built enough text-pipeline workflows yet, because in ComfyUI a widget value and a data value are not the same thing.
ComfyUI nodes can get their text two ways: from the widget on the node itself, or from a wire attached to the input. Lots of nodes only accept text over a wire - they have an input slot, and if nothing is plugged into it the value just sits empty. When you find yourself with a graph where a prompt needs to be computed (an LLM rewrote it, a replace node fixed it, a wildcard picked it), but the thing feeding the sampler only has a widget, you need a bridge. That bridge is a dumb passthrough node like this one.
How it works
There's no mechanism to explain, really - and that's the point. It holds a string, and passes it through:
def get_value(self, prompt):
if not prompt:
return ("", )
return (prompt, )
It's deliberately the simplest possible string node: one input, one output, no formatting, no type juggling. The value also defaults to an empty string, so downstream nodes always receive something rather than None - the sort of small decision that saves you an afternoon of weird conditional failures in larger graphs.
Where you'd use it
- As a prompt source for a text-processing chain: out of this node, into a replace or template node, then into the conditioner.
- As the user-facing prompt box in a workflow where you want to keep the editable prompt separate from the rest of the spaghetti.
- As the input side of the pack's OpenAI Compatible LLM node, so the model gets a clean, wired-in prompt rather than text buried in a node you can't easily reuse.
Honestly, the value proposition is thin for a one-off graph - you can type directly into most text inputs. Where it earns its keep is shared workflows, where a clearly-labeled, always-available prompt widget makes the whole thing legible to the next person who opens it.
Install
It's part of geocine-comfyui. Install the pack once and you get all eleven nodes - no model downloads, no heavy dependencies:
- ComfyUI Manager → search geocine-comfyui → install → restart
- or Comfy CLI:
comfy node install geocine-comfyui - or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/geocine/geocine-comfyui
then restart ComfyUI.
Gotchas
The output is a plain STRING, and the output name is prompt. If a node won't accept the wire, it's expecting a different type (a list, or a CONDITIONING) - this is text only, no magic. And keep in mind it's not an output node: unlike the pack's Show Text or Preview Text, nothing renders on the canvas here. It passes the string on and stays quiet. If you want to see what's flowing through, chain it into a preview node.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |