ComfyUI Node

Extra 1

Where underused prompt blocks go to be useful

By itom0717·Created 6 months ago·Updated 6 months ago· 0
Extra 1
    • text
    • id
    extra1
    extra1_custom

    The Prompt String Selector pack gives you named categories for everything it thought of - character, art style, pose, clothing, emotion, background, camera, season, time - and then five slots it didn't think of, called Extra 1 through Extra 5. Extra 1 is the first of those, and it's the honest answer to "what do I do with the block that doesn't fit the filing scheme?"

    Short answer: make it fit. The folder data/extra1/ doesn't care what you call your files. Use it for lighting (golden hour, soft rim light), for composition, for a specific prop or accessory, for "quality of the week" experiments - whatever recurring fragment of prompt you keep rewriting. The pack's structure is a suggestion; Extra is where your own categories go.

    How it works

    Same mechanism as every selector: list .txt files in ComfyUI/custom_nodes/ComfyUI-Prompt-String-Selector/data/extra1/, filename minus extension becomes the dropdown label, the leading number becomes the id output, comments (//, /* */) are stripped. Ships with 01_none.txt, a no-op block that keeps the wiring stable when you don't want an extra at all.

    Inputs and outputs

    • extra1 - dropdown of your catch-all blocks.
    • extra1_custom - multiline override; custom_input uses this box's text, id becomes 0.

    Outputs: text (STRING, comma-terminated for chaining) and id (INT).

    Install

    ComfyUI Manager (search "Prompt String Selector") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/itom0717/ComfyUI-Prompt-String-Selector.git
    

    Restart. There's no requirements.txt - pure Python standard library, nothing to download.

    Gotchas

    The usual restart-to-refresh dropdown, plus one worth planning for: since these are unnamed slots, it's easy to forget what 03_fog means three weeks later. The filename is the whole documentation - name files like the tag they contain. You can also drop a // comment inside the file itself for a longer note; it gets stripped before the prompt, so it's free documentation.

    CategoryPrompt String Selector

    Inputs (2)

    NameTypeDefaultDescription
    extra1COMBO2 options: 01_none, custom_input
    extra1_customSTRING

    Outputs (2)

    NameTypeDescription
    textSTRING
    idINT