DJZ Zero EDIT Profile Info
A stats readout for how big your edit-prompt universe really is
- info
DJZ Zero EDIT Profile Info is the quiet utility node of the ZeroEDIT pack. One input, one output, no opinions. What it does: reads a profile and tells you its pool sizes, its template count, and the total number of unique edit prompts that profile can produce. That's it.
When you'd reach for it
Honestly? Mostly when you're building or debugging your own profiles. The ZeroEDIT system works by filling sentence templates from vocabulary "pools" defined in JSON files. When you write one yourself - the README walks through a portrait-retouch example - you want to confirm it loads cleanly and see how much prompt space you just created. That's this node's entire job.
It's also the fastest way to sanity-check the marketing math. The default profile claims "4.4 billion+ combinations." ProfileInfo shows you the actual template and pool sizes behind that number, so you can see it's 7 templates × 63 edit operations × … and decide for yourself how much of that space is genuinely distinct.
How it works
No hashing here. It loads the JSON profile, counts the entries in each pool, and multiplies: len(templates) × len(pool₁) × len(pool₂) × …. That's the same arithmetic the pack README uses to arrive at its headline combination count - this node just does it for you and prints the result both comma-formatted and in scientific notation, so a profile with a genuinely large space doesn't overflow into unreadable digits.
Inputs and output
- profile - one dropdown. The same seven shipped profiles as the other ZeroEDIT nodes, plus anything you've added to
profiles/edit/. - info - the output: a formatted string with the profile's name, description, version, each pool's size, the template count, and the total combination count.
The info output is plain text, so you'll want a text-preview node (Show Text, Preview Text, whatever you've got installed) to actually read it. Wire info in and you get a tidy stats card.
Install
Same pack, same steps:
cd ComfyUI/custom_nodes
git clone https://github.com/MushroomFleet/ComfyUI-ZeroEDIT-nodes
pip install xxhash
Or ComfyUI Manager → search "ZeroEDIT" → Install → Restart. Nothing else to download - xxhash is the only dependency, and this particular node barely needs even that.
Gotchas
- Bad profile → error string. If the JSON is malformed, the output is
Error loading profile: ...instead of stats. Which, perversely, makes ProfileInfo a decent first-line debugger for your custom profiles - the error message usually tells you exactly what's missing. - Restart to see new profiles. The dropdown is populated when the node loads, so a JSON file you just dropped into
profiles/edit/won't show up until ComfyUI restarts. - It counts combinations, not quality. A profile with big pools shows a huge number; a profile with well-written pools shows a smaller one. The smaller one is often the one worth running.
If you never write your own profiles, skip this node - the bundled defaults work fine without it. The moment you start editing JSON, it becomes the "did my file parse?" check you keep coming back to.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| profile | COMBO | default-EDIT.json | 7 options: default-EDIT.json, EDIT-Araki.json, EDIT-Nihei-architectural.json, EDIT-Nihei-creatures.json, EDIT-Nihei-general.json, EDIT_Volkyri.json, +1 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| info | STRING | — |