Nodes/Comfyui FOCUS nodes/⚜️ Prompt Box
ComfyUI Node

⚜️ Prompt Box

A text box with a built-in reminder of your wildcard categories

By DJ-Tribefull·Created 2 years ago·Updated 2 years ago· 7
⚜️ Prompt Box
    • string
    text
    wildcard_categoriesExplore

    The simplest node in the pack, and the README doesn't oversell it: "This is a fairly basic text-entry box. Only difference is that it has a dropdown menu that displays all available wildcard categories. (Just useful as a quick reference while you're in the workflow)."

    What it actually does

    It's a normal multiline text field. The one extra is a wildcard_categories dropdown whose own tooltip spells out exactly what it is: "This dropdown is a list of all available .txt files in your focus_wildcards folder." Be clear about what that means in practice - picking a category doesn't type anything into your text for you. It's read-only reference, there purely so you don't have to alt-tab into a file browser to remember whether you've got a weather list, an age list, a nationality list, or whatever else you've built up over time.

    The sampled category list gives away what kind of workflow this pack was built for: alongside ordinary stuff like weather, age, hairstyle, action, nationality, and location, a few - clothes_upper, breast_type, beachwear - lean into the portrait-photography niche this whole pack originated from.

    Inputs and outputs that matter

    • text - your prompt, multiline, default empty. Type __wildcard__ tokens directly if you want them resolved downstream.
    • wildcard_categories - the reference dropdown described above, default Explore. Purely informational.

    Output is a single string - exactly what you typed, unresolved. Any __wildcard__ tokens stay as literal text; this node doesn't process them. You need a Wildcard Processor downstream (or route straight into SDXL All-In-One, which resolves wildcards internally) to actually turn __weather__ into an actual weather condition.

    Installing it

    Via ComfyUI Manager: search Comfyui FOCUS nodes, install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/DJ-Tribefull/Comfyui_FOCUS_nodes
    

    Restart ComfyUI. The dropdown reads the same bundled focus_wildcards folder that Wildcard Processor and SDXL All-In-One use, so nothing extra to configure beyond what installing the pack already gives you.

    Common issues & troubleshooting

    A category you just added isn't in the dropdown. It's reading the folder at node-creation time, not live. Add your .txt file, then re-add the node (or restart ComfyUI) rather than expecting the list to update on an existing node instance.

    Your __token__ isn't resolving into anything. This node never resolves tokens - that's not a bug here, it's not this node's job. Check that you've actually routed the output through a Wildcard Processor (or into All-In-One) rather than straight to a CLIP Text Encode.

    Worth knowing if you're new to this: the __wildcard__ convention is old A1111-era tooling - dynamic prompt syntax that a lot of people who started on more recent, LLM-encoded models never learned. It's specific to CLIP-based, tag-friendly models like SDXL and its finetunes, which is exactly what this pack targets.

    Category⚜️ Focus Nodes/Text

    Inputs (2)

    NameTypeDefaultDescription
    textSTRING
    wildcard_categoriesCOMBOExploreThis dropdown is a list of all available .txt files in your focus_wildcards folder

    Outputs (1)

    NameTypeDescription
    stringSTRING