Files
geroldmeisinger-ComfyUI-out…/web/docs/WorkflowDiscriminator.md

1.7 KiB

Workflow Discriminator

Workflow Discriminator

(ComfyUI workflow included)

Compares workflows and discriminates them to extract the different values as individual OutputLists. You can use this node to restore how each individual image was created from a list of images with the same workflow. Note that ComfyUI's IMAGE doesn't contain the workflow metadata and you need to load the images with specialized image+metadata loaders and connect the metadata to this node. Custom nodes with metadata loaders include:

  • Load Any File.metadata -> JSON OutputList(jsonpath=$.["PNG:Prompt"]).value
  • Crystool 🪛 Load image with metadata.Metadata RAW -> 🪛 Metadata extractor.prompt
  • Simple_Readable_Metadata Simple Readable Metadata-SG.metadata_raw

Inputs

Name Type Description
objs_0 * (optional) A single object (or a list of objects), usually of a workflow. objs_0 and more_objs will be concateneted together and exist for convinience, if you only want to compare two objects.
more_objs * (optional) Another object (or a list of objects), usually of a workflow. objs_0 and more_objs will be concateneted together and exist for convinience, if you only want to compare two objects.
ignore_jsonpaths STRING (optional) A list of JSONPaths to ignore in case you want to chain multiple discriminators together.

Outputs

Name Type Description
list_a * 𝌠
list_b * 𝌠
list_c * 𝌠
list_d * 𝌠
jsonpaths STRING 𝌠