Nodes/Prompt Info/Hunt Info
ComfyUI Node

Hunt Info

Hunt Info — browse a saved image's workflow data without guessing node ids

By chrisgoringe·Created 3 years ago·Updated 2 years ago· 32
Hunt Info
      info

      The Extract Info node is precise but it demands you already know the node id and the exact value name before you start. When you don't - when you've just loaded some random image and want to know what's even in there - guessing is miserable. Hunt Info is the "look before you extract" node: plug the info output from Load Image With Info into it, run it, and it turns the node itself into an interactive browser.

      How it works

      Hunt Info takes exactly one input - info (STRING, force-input) - and produces no outputs. Instead it's a front-end trick. When the node runs, it ships the parsed JSON to a small JavaScript extension, which rebuilds the node's widgets into two dropdowns: one listing every node in the saved workflow (with its type, like 12 (KSampler)), and once you pick one, a second dropdown listing the input and output values available on it. Pick a value and the node displays it in a read-only text widget. You can flip through nodes and values until you find the one you wanted - then go wire up Extract Info with the exact names it showed you.

      This is why it exists. The author added Hunt Info about a month after the original Prompt Info release in late 2023, specifically because people were tired of hunting through the JSON by hand or guessing node ids in Extract Info. It's the companion node, not a competitor - Extract Info is still the one that returns values as usable string/float/int outputs; Hunt Info is the scout.

      What to use it for

      • Finding out which nodes are in an unfamiliar workflow at all - say, checking what checkpoint an image someone sent you was actually generated with.
      • Reading the node ids so Extract Info doesn't yell at you.
      • Checking whether an image was saved with Add Info in the chain: if a node shows outputs with actual values, it was; if every node has inputs only, it wasn't.

      Install

      Same routine as the rest of the cg-prompt-info pack - no dependencies, no model downloads. ComfyUI Manager, search "Prompt Info", install, restart. Or:

      cd ComfyUI/custom_nodes
      git clone https://github.com/chrisgoringe/cg-prompt-info
      

      restart, and it's in the prompt_info category.

      Common issues

      The whole node depends on its JavaScript loading. If you installed and restarted and Hunt Info still shows nothing when you run it, check that the js folder shipped with the pack - the extension lives in the node's own WEB_DIRECTORY, so a partial clone or a stale browser cache can leave it a dumb box that does nothing. Hard-refresh the ComfyUI page before you go reinstalling.

      Also remember the same metadata caveat as the rest of the pack: Hunt Info can only show what's in the file. An image re-saved through some app that strips PNG text chunks gives you an empty tree, and an image saved without Add Info gives you inputs but no outputs. The node is faithful to the data; it can't conjure data that was never written. And because it has no outputs, don't wire it into anything downstream - it's a dead end by design, a debugger, not a processing step.

      Categoryprompt_info

      Inputs (1)

      NameTypeDefaultDescription
      infoSTRING

      Outputs (0)

      No outputs