Workflow Discriminator
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](https://github.com/crystian/ComfyUI-Crystools) `🪛 Load image with metadata.Metadata RAW` -> `🪛 Metadata extractor.prompt` * [Simple_Readable_Metadata](https://github.com/ShammiG/ComfyUI-Simple_Readable_Metadata-SG) `Simple Readable Metadata-SG.metadata_raw`
- objs_0
- objs_1
- list_a
- list_b
- list_c
- list_d
- jsonpaths
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| objs_0opt | * | (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. | |
| objs_1opt | * | (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_jsonpathsopt | STRING | (optional) A list of JSONPaths to ignore in case you want to chain multiple discriminators together. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| list_a | * | — |
| list_b | * | — |
| list_c | * | — |
| list_d | * | — |
| jsonpaths | STRING | — |