WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.15k stars 170 forks source link

Feat Request: Output full filename in Image Save node #213

Closed alessandroperilli closed 1 year ago

alessandroperilli commented 1 year ago

As I wrote in a different Issue, it would be great if the Image Save node would have an output connector that exports the full filename of the image.

WASasquatch commented 1 year ago

That doesn't seem to be possible, as it breaks the images from showing. Seems to be some bug in ComfyUI. Didn't get any feedback on it when asking.

You could always build your filenames and input them as the filename_prefix, and use prefix as filename mode.

alessandroperilli commented 1 year ago

Thanks for checking @WASasquatch.

I'm not quite sure I understand your recommendation: I understand that I could build my filename structure and pass it as input to the Image Save node, but how would I capture the progressive number that ComfyUI automatically assigns to each new generation?

I can't see a way to do that. What am I missing?

WASasquatch commented 1 year ago

That I'm not sure. But you could use the Number Counter to add number prefix that will count up each prompt run. Would only work for single images being saved, not batches though... I hope this can be fixed though, I don't think it's be design that you suddenly count have a image because you have an output.

alessandroperilli commented 1 year ago

OK, thank you. I'll close the issue even if there's no real solution.