Nodes/ComfyUI-PixlStash/PixlStash Picture Likeness Gate
ComfyUI Node

PixlStash Picture Likeness Gate

A ComfyUI node in PixlStash with 4 inputs and 5 outputs.

By Pikselkroken·Created 3 months ago·Updated 2 months ago· 7
PixlStash Picture Likeness Gate
  • image
  • pixlstash_set
  • accepted
  • rejected
  • accepted_count
  • rejected_count
  • pixlstash_set
combinemin
threshold0.25
CategoryPixlStash

Inputs (4)

NameTypeDefaultDescription
imageIMAGEThe batch of generations to judge. Each frame is scored individually and routed to either the accepted or the rejected output.
pixlstash_setPIXLSTASH_SETWire from a Set Loader. Every generation is scored against this set's pictures — the bar each frame has to clear to be accepted.
combineCOMBOminHow to combine a frame's per-reference scores. min: must match every picture in the set (a [monkey, banana, bicycle] set keeps only frames showing all three). max: match any one. mean / harmonic_mean / geometric_mean: balance between.
thresholdFLOAT0.250–1Minimum combined likeness score [0–1] a frame must reach to be accepted. Read the scores logged after a run (min / median / max) to set the cut between the off-target and on-target frames.

Outputs (5)

NameTypeDescription
acceptedIMAGE
rejectedIMAGE
accepted_countINT
rejected_countINT
pixlstash_setPIXLSTASH_SET