The comment variable is generated once per batch of files. Therefore each image is stamped with the original SEED of the batch and not the SEED value that is specific to that image. The seed value in the prompt and workflow may also not be correct (I have not verified this).
This maybe intended and working as designed.
def save_files(......)
....
comment = f"{handle_whitespace(positive)}\nNegative prompt: {handle_whitespace(negative)}\nSteps: {steps}, Sampler: {civitai_sampler_name}, CFG scale: {cfg}, Seed: {seed_value}, Size: {width}x{height}, Model hash: {modelhash}, Model: {basemodelname}, Hashes: {extension_hashes} Version: ComfyUI"
.....
self.save_images(..,comment,...)
.....
-- the function save_images loops through each image - but comment is already set in previous function --
def save_images(...,comment,...)
....
for image in images:
The comment variable is generated once per batch of files. Therefore each image is stamped with the original SEED of the batch and not the SEED value that is specific to that image. The seed value in the prompt and workflow may also not be correct (I have not verified this).
This maybe intended and working as designed.