Simple Text Input 📝
A text widget that isn't welded to the node it feeds
- text
In ComfyUI, most nodes keep their text fields as widgets stuck to the node itself, which is fine until you want that same string in two places, or you want to type into a clean box and feed a node whose text input is a port rather than a field you can type into. Simple Text Input is the workaround: a single-line text box that lives on its own node and exposes the value as a real STRING output you can wire anywhere.
It's the most boring node in the Painting Coder Utils pack, and deliberately so. There's no processing, no formatting, no cleverness - it passes whatever you typed straight through.
How it works
The mechanism is the whole point. The node has one required text field (single line, default empty) and one text output. Type something, and that string arrives on the output port. That's it - it's a source node, not a processor.
The value it adds is how it feels to work with in a graph:
- Text that survives being copied to many places. Drag the output to a prompt node, a filename prefix, and a metadata sink, and they all read from the same box. Edit it once, everything updates.
- Feeding nodes whose text inputs are connection-only. Some custom nodes (including this pack's own Text Combiner and Show Text Plus) expose their text as input ports with no editable widget. A Simple Text Input gives you a place to type for them.
- As the single-line companion to the pack's Multiline Text Input 📝 - when you have one short value and don't want a giant textarea cluttering the canvas.
The honest comparison
If you already run a power-user pack like rgthree, its text node gives you the same "typed once, shared everywhere" behavior with more polish, and you may not need this one. But this is dependency-light and zero-config: install the pack, drag the node in, type.
Install
Same one-line story as every node in this pack - ComfyUI Manager, search Painting Coder Utils, or:
cd ComfyUI/custom_nodes
git clone https://github.com/jammyfu/ComfyUI_PaintingCoderUtils.git
Restart ComfyUI afterward. No models, no API keys, and the pack's dependencies (numpy, Pillow, torch, gradio) are already present in any working install. If you ever load an old workflow that fails with missing-node errors, remember this pack renamed its namespace in v0.3.0 - jammyfu's workflow fixer tool in docs/fix/workflow_fixer.html repairs those JSON files.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |