BlenderNeko/ComfyUI_Noise

Empty Latent vs Noisy Latent with Advanced KSampler

Closed this issue · 1 comments

isben commented

Hello @BlenderNeko,

I tried injecting noise created by your Noisy Latent Image node into a KSampler (Advanced) node and (naively?) assumed that by setting the add_noise parameter to disabled I would be able to obtain the same effect as by using an Empty Latent Image with add_noise enabled (using the same seed). This is at least what logic suggests to me. To my surprise, when add_noise is disabled, I always get the same image result, whatever Latent I use as input to the KSampler. The result seems to have no relation with what is usually generated when add_noise is enabled and remains the same if I use different seeds in the Noisy Latent Image. I checked the generated noise by decoding and previewing the Latent and it obviously varies.

The example you provide is making use of Inject Noise and KSampler (Advanced) in a manner similar to what I'm trying to achieve. Can you explain why it seems to work in one case and not the other?

isben commented

I finally figured out the answer to my question above.
For those wondering, you need to use an Empty Latent Image and a Noisy Latent Image and combine then via a Inject Noise node together with the strength provided by a Get Sigma node. This can then be sent to a KSampler Advanced with add_noise disabled.