ComfyUI Node

Extra 5

The spare slot, or your fifth prompt category

By itom0717·Created 6 months ago·Updated 6 months ago· 0
Extra 5
    • text
    • id
    extra5
    extra5_custom

    Extra 5 is the last of the Prompt String Selector pack's five catch-all nodes, and it's the one you can safely ignore until you need it. That's the point. The pack's named categories cover the common anime-prompt taxonomy; the Extra slots exist so your workflow's actual recurring fragments have somewhere to live even when they don't fit the taxonomy. If you've already claimed Extra 1–4 for lighting, props, weather and framing, Extra 5 is your spare - for the block that turns out to matter more than you thought.

    Because here's the thing about prompt libraries: they grow. The block you type ad hoc today is the block you wish was a dropdown next week. Extra 5 is the guarantee that when that happens, there's a slot waiting.

    How it works

    Same as every selector in the pack: it lists .txt files in ComfyUI/custom_nodes/ComfyUI-Prompt-String-Selector/data/extra5/, uses the filename minus extension as the dropdown label and the leading number as the id output, strips // and /* */ comments, and sorts by numeric prefix. Ships with 01_none.txt.

    Inputs and outputs

    • extra5 - dropdown.
    • extra5_custom - multiline override; custom_input uses this box's text, id becomes 0.

    Outputs: text (STRING, comma-terminated so it chains into the pack's Aggregator) 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. Zero dependencies - the whole pack is the Python standard library. No models, no pip step, nothing that can silently break an environment.

    Gotchas

    Standard restart-for-new-files rule. And a last word on the Extra family: the pack's five extras plus its named categories is a lot of dropdowns in one workflow if you wire them all in. Don't. Selectors you don't use are just nodes taking up graph space - the pack's real design is pick the blocks you need and aggregate them. Extra 5 is there for capacity, not for decorating your canvas with six unused nodes.

    CategoryPrompt String Selector

    Inputs (2)

    NameTypeDefaultDescription
    extra5COMBO2 options: 01_none, custom_input
    extra5_customSTRING

    Outputs (2)

    NameTypeDescription
    textSTRING
    idINT