Nodes/ComfyUI-Zero2JSON/ℹ️ Z2J Profile Info
ComfyUI Node

ℹ️ Z2J Profile Info

The debug node that tells you what a profile can actually produce

By MushroomFleet·Created 7 months ago·Updated 5 months ago· 1
ℹ️ Z2J Profile Info
    • info
    • total_combinations
    profilebackground_default.json

    Every node in ComfyUI-Zero2JSON is driven by a JSON profile - templates plus word pools - and the profiles are where the whole system's personality lives. Z2J Profile Info is the node that shows you what a profile actually contains and how much it can produce. It doesn't generate anything; it's the pack's own documentation and sanity check, and once you start writing custom profiles it becomes the most useful node in the pack.

    It's the first of the three utility nodes, and it's dead simple: pick a profile from the dropdown and read the report.

    What it does

    Given a profile, it loads the JSON and prints:

    • the profile name, description and version
    • every pool and how many entries it has, plus the template count
    • the total number of unique prompts the profile can generate (formatted and in scientific notation)

    That last number - total_combinations - also comes out as a separate INT output, so you can wire it into something, though honestly it's mostly a "wow, that's a lot" number. The human-readable info string is the real output.

    The inputs and outputs

    • profile - a dropdown of every profile in profiles/ (14 default files ship in the pack). This one is a required input, unlike the generation nodes where it's optional.
    • Outputs: info (STRING, the formatted report) and total_combinations (INT).

    That's the whole node. No seed, no prompt index, nothing to tune.

    When you'd actually use it

    Three cases. First: you downloaded the pack and want to know what each node is even capable of - one Profile Info node answers that for the whole family. Second: you're writing a custom profile and it silently isn't appearing or isn't as big as you expected - the report shows you what got loaded and whether your pools parsed. Third: you're deciding between two profiles for a job and want to know which has more headroom before you commit to farming it.

    Install

    Same single repo as the whole pack:

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

    Restart ComfyUI. Only dependency: xxhash>=3.0.0. ComfyUI Manager: search "ComfyUI-Zero2JSON".

    Where people get burned

    The one trap is expecting it to be a live preview. Profile Info tells you a profile could produce N prompts; it won't show you any of them. If you want to see actual generated text, that's Z2J Batch Generator's job - run that and read the prompts_list output. Also, if a custom profile isn't showing in the dropdown, you forgot to restart ComfyUI after dropping the JSON in; profile discovery happens when nodes load, not live.

    CategoryZero2JSON/Utility

    Inputs (1)

    NameTypeDefaultDescription
    profileCOMBObackground_default.json14 options: background_default.json, camera_angle_default.json, camera_distance_default.json, camera_dof_default.json, camera_focus_default.json, composition_default.json, +8

    Outputs (2)

    NameTypeDescription
    infoSTRING
    total_combinationsINT