LucianoCirino/efficiency-nodes-comfyui

Getting seed number from Ksampler efficiency node.

Opened this issue · 2 comments

I’m wondering how I might get the seed number from the sdxl ksampler ? I am just trying to append to a filename, but trying a primitive with %Ksampler.seed% doesn’t work, nor does %KSampler.noise_seed%. I have changed the Properties name to make the node just “KSampler” instead of the longer name it uses by default.
IMG_3362

IMG_3363
As a workaround, I used RGThree’s seed node to feed KSampler SDXL, so that I could get an output for “seed” as an int, then converted the int to a number, then that number to a string, which I fed into a concatenation node. This worked well, but I’m thinking it’s a kludge :).

That is the proper way to do it yes.