Nodes/ComfyUI-DJZ-ZeroPrompt/DJZ Zero Prompt Profile Info
ComfyUI Node

DJZ Zero Prompt Profile Info

The tiny stats node that keeps your ZeroPrompt profiles honest

By MushroomFleet·Created 7 months ago·Updated 5 months ago· 2
DJZ Zero Prompt Profile Info
    • info
    profiledefault.json

    DJZ Zero Prompt Profile Info is a one-job utility node from the same MushroomFleet pack as the ZeroPrompt generators: you hand it a profile, it hands you a text report about that profile. Name, description, version, every pool's entry count, the template count, and the total number of unique prompts the profile can produce. That's the whole thing, and that's fine - it exists to answer one question: "what am I actually working with?"

    Why you'd reach for it

    If you only ever use the default profile, you don't need this node. Where it earns its keep is the moment you start hand-editing a V2 profile JSON - which, as the V2 article notes, is the real way to use this pack. After you've rewritten a few pools, you want to know whether your subject pool actually has enough entries to carry a genre, or whether your template count silently collapsed the whole prompt space. This node does that math for you in the graph, and it also validates the profile: a broken JSON file doesn't crash - it comes back as an error string in the output, which is at least a loud clue you typo'd a comma.

    It's also the node that makes the pack's signature number legible. The "188 trillion" claim decomposes into real per-pool counts - 88 subjects, 51 actions, 56 environments, and so on - which is genuinely useful for understanding why the space is as sparse as it is. Each new pool entry multiplies the total; each template adds a whole new structure.

    The inputs and output

    One input, one output, no surprises:

    • profile - a dropdown listing the same JSON profiles the V2 generator uses (10 shipped by default).
    • info - a single STRING, multiline, formatted as a human-readable report.

    There's a small detail worth knowing: this node's change-detection watches the profile file's modification time, so if you edit a profile while ComfyUI is running, it re-renders instead of sitting on a cached string.

    Using it

    The output is a plain string, so it needs a display node to be useful - wire it into a Show Text-style node (rgthree's or the core text preview) and you get a readout like:

    Profile: Cyberpunk
    Pool Sizes:
      subject: 20 entries
      templates: 5 variations
    Total unique prompts: 31,000,000,000
    

    You could get all of this by opening the JSON in a text editor, and there are days that's faster. But when you're iterating on a profile inside a workflow, having the totals in the graph next to the generator you're tuning beats tabbing out to check a file - and it confirms the file actually parsed.

    Install and gotchas

    Same one-dependency pack as the rest:

    cd ComfyUI/custom_nodes
    git clone https://github.com/MushroomFleet/ComfyUI-DJZ-ZeroPrompt
    cd ComfyUI-DJZ-ZeroPrompt
    pip install -r requirements.txt
    

    Or ComfyUI Manager, search "DJZ-ZeroPrompt". requirements.txt is just xxhash>=3.0.0; portable installs can run install-portable.bat. The dropdown is built at startup, so a profile you add while ComfyUI runs won't appear until you restart. And if the report reads Error loading profile: ..., don't debug the node - debug your JSON.

    CategoryDJZ-Nodes

    Inputs (1)

    NameTypeDefaultDescription
    profileCOMBOdefault.json10 options: default.json, 3mp1r3-style-profile.json, araki-jojo.json, cyberpunk.json, dxh-zeroprompt-profile.json, fantasy.json, +4

    Outputs (1)

    NameTypeDescription
    infoSTRING