VarBoard String
Prompts and filenames, editable from the board
- STRING
- LABEL
Some parameters aren't numbers, and you still don't want to hunt for them. VB_String is a text variable that lives on the VarBoard panel - edit your prompt, a filename prefix, or any other piece of text right on the board instead of inside a node somewhere in the graph.
What it does
Standard pass-through for this pack: the backend returns (value, label) unchanged, and the frontend draws a text row on the floating panel anchored by VB_Panel. Type on the board, it writes back into the node's widget, and the next run sends the text down the wire.
Inputs:
- value - the string. Default
"". It's non-multiline by default, so it's built for short-ish text like a prompt or a filename, not a 500-token paragraph. - label - the name on the board. Default "String". "Positive", "Negative", "Output name" - whatever you'll recognize at a glance.
Outputs: STRING (the text - wire into a CLIPTextEncode text input, a filename template, a text-concat node, wherever) and LABEL (the label string).
Where you'd use it
The obvious case is your positive or negative prompt: one VB_String wired to a CLIPTextEncode on each side, and you can iterate on wording from a single row without popping open nodes. It's also handy for filenames - if you save with a template that embeds a "shot" or "variant" string, a text field on the board is a much nicer way to change it than editing a Save Image widget's nested settings.
The one real limitation is the default non-multiline mode. Long, multi-line prompts get cramped and hard to read on a single line. The frontend does have a per-node multiline option in the panel settings, so you can flip a string row to a proper textarea if your prompt actually needs the room. Just don't expect it by default.
Install
No dependencies, no model downloads - the whole pack is frontend plus a few pass-through nodes. ComfyUI Manager (search "VarBoard"), or:
cd ComfyUI/custom_nodes
git clone https://github.com/IA-gyz/comfyui-VarBoard
Restart ComfyUI and hard-refresh your browser. Drop a VB_Panel on the canvas and your VB_String nodes register themselves on the board automatically.
The honest take
Text is the row type most people underrate until they try it. A prompt on the board means you can draft and tweak while looking at your output instead of navigating to the encoding node - which, for the amount of time people spend fiddling with prompt wording, is quietly the biggest quality-of-life win in the pack.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| value | STRING | String value. Can be overridden from the VarBoard. | |
| label | STRING | String | Display label shown in the panel. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |
| LABEL | STRING | — |