Nodes/ComfyUI-Pixaroma/Prompt Pixaroma
ComfyUI Node

Prompt Pixaroma

A prompt box with a personal library of @tags

By pixaroma·Created 5 months ago·Updated 5 days ago· 359
Prompt Pixaroma
    • text
    text_in

    Prompt Pixaroma is a prompt box that remembers your reusable chunks. You save a long, carefully-tuned block of prompt text once - an oil-painting style recipe, a lighting setup, a quality booster - give it a short name, and from then on you just type @name in the box. At run time it's swapped for the full text, so your box stays short, readable, and you never retype the same 200-word masterpiece again.

    Everyone who prompts seriously has this problem: the prompt that actually gets good results is a pile of accumulated, hard-won phrases, and rebuilding it from memory every time is how quality drifts. This node is the "save that winning combination" answer, and it lives where you type.

    How it works

    The flow is: type @ and you get a searchable list of your saved tags grouped by category. Known tags glow orange in the box; a typo shows red, so you get warned before you run, not after. There's a Show expanded toggle that previews exactly what will be sent - worth turning on the first few times so you trust the expansion. The single output, text, is your prompt with every @tag expanded, ready to wire into CLIPTextEncode (or any STRING input).

    The Tags button opens a full-screen library where your shortcuts live as cards - create, rename, move between categories, and share via Export/Import. Right-click any text in the box to copy it or save it as a shortcut, so the library fills itself in as you work; you only name things. The library is stored in ComfyUI's settings, which is the good news and the privacy note at once: it survives updating the pack, it's private to your machine, and a shared workflow keeps your shortcuts to yourself.

    There's also an optional text_in input. Wire another prompt in and it's joined with yours - you choose My prompt first or Wired first and the separator (comma, space, new line, pipe, and more). Leave it unconnected and the output is just your typed prompt. That's the setup for chaining an LLM-generated prompt into your own style layer.

    Where it sits in the pack

    Prompt Pixaroma is the personal-library sibling in a family of prompt nodes: Prompt Stack joins on/off chunks with a separator, Prompt Multi runs one generation per prompt variant, Prompt From List picks one prompt out of a library by index, and Prompt Reader pulls the prompt back out of a saved image's metadata. The author's own suggested loop is worth stealing: build your prompt with tags here, generate, and if you ever lose the recipe, drag the finished PNG into Prompt Reader and recover the full expanded prompt.

    Installing it

    It's in the ComfyUI-Pixaroma pack - ComfyUI Manager search Pixaroma, Install, restart, or:

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

    No dependencies. House rule after updates: hard-refresh the browser tab (Ctrl+Shift+R / Cmd+Shift+R) - cached JS is the usual "why is my prompt node acting old" culprit.

    Gotchas

    The one thing to internalize: tags expand at run time, not while you type. If you're staring at the box and wondering where the expansion is, that's expected - the output is what gets expanded, and Show expanded is your preview. And keep tag names short but descriptive; a tag that's one character saves no time and a tag you can't remember defeats the purpose. A library of a dozen well-named tags beats a hundred cryptic ones.

    Category👑 Pixaroma/💬 Prompt & Text

    Inputs (1)

    NameTypeDefaultDescription
    text_inoptSTRINGOptional. Wire another prompt in and it is joined with your typed prompt (order + separator set on the node). Leave it unconnected to output just your prompt.

    Outputs (1)

    NameTypeDescription
    textSTRINGYour prompt with every @tag expanded, joined with the wired text input if one is connected.