Nodes/ComfyUI-Pixaroma/Text Pixaroma
ComfyUI Node

Text Pixaroma

The no-frills prompt box that doesn't fight you

By pixaroma·Created 5 months ago·Updated 4 days ago· 357
Text Pixaroma
    • text
    text

    You will, at some point, want to write one prompt once and feed it to several places - the positive and negative encoders, maybe a caption node, an LLM, whatever. ComfyUI's built-in CLIP Text Encode is fine at that, but it's a text box on a node whose real job is encoding. Text Pixaroma is a text box whose only job is being a text box: type in the multi-line field, drag the node bigger if the prompt is long, and a STRING output carries the text wherever strings are accepted. It saves with your workflow, it grows when you resize it, and it never pretends to do anything clever.

    The one setting worth knowing is the Dynamic prompts switch, which is off by default - and the default is the right call most of the time.

    How it works

    Off, it's dead simple: the text is sent exactly as typed. Every curly brace survives, which matters more than it sounds - JSON prompts and some tools break if a node starts eating your { }. On, it behaves like a lightweight wildcard engine: {red|blue|green} picks one option at random each time you queue, you can nest freely like {a|{b|c}}, use \{ and \} for literal braces, and it strips comments (// to end of line, /* ... */ blocks). Useful when you want variation without a full dynamic-prompting extension - flip it on, let a couple of slots roll dice per run, flip it off when you need the exact string back.

    What's on the node

    • text input - the multiline field. One box, one output.
    • text output - a STRING you can fan out to as many downstream nodes as you like. Wire it into CLIPTextEncode, a second prompt node, Show Text to inspect it mid-graph, whatever.

    There are no other inputs or outputs to trip over. That's the appeal: nothing to configure, nothing to break.

    Install

    It ships in the Pixaroma pack, so install is the pack install:

    cd ComfyUI/custom_nodes
    git clone https://github.com/pixaroma/ComfyUI-Pixaroma
    

    or search Pixaroma in ComfyUI Manager. No dependencies beyond what ComfyUI already has, and the node works in both the classic and the new node interface. If a node looks odd right after a pack update, that's the browser cache - hard-refresh with Ctrl+Shift+R.

    When to reach for it

    Honestly? This is a utility node, not a revelation. But it's the utility node you stop noticing, which is the compliment. If you're already in the Pixaroma pack it's the cheapest way to keep your prompts authored in one resizable place instead of buried in an encoder. If you want variation per run, the Dynamic prompts toggle is a genuinely nice bonus that usually lives in a separate extension. Keep the switch off for prompts you share - a JSON prompt with the braces intact is worth more than a wildcard.

    Category👑 Pixaroma/💬 Prompt & Text

    Inputs (1)

    NameTypeDefaultDescription
    textSTRINGThe text to output. Supports multiple lines. Sent exactly as typed unless the Dynamic prompts switch is on - then {a|b} picks one at random each queue and // /* */ comments are stripped.

    Outputs (1)

    NameTypeDescription
    textSTRINGThe text from the field, with {a|b} dynamic prompts resolved if the Dynamic prompts switch is on (otherwise sent exactly as typed).