Spent some time playing with this, it's really helpful. Seeing an image Unsampler'ed and then resampled back to the original image was great. I modified this to something that seems to work for my needs, which is basically as follows..
(a) Input Image -> VAE Encode -> Unsampler (back to step 0) -> Inject this Noise into a Latent
(b) Empty Latent -> Inject Noise into this Latent
(c) Latent Blend node to combine a and b by the percentage I want
...then kSample for results. Inject Noise is used, and Get Sigma is used, both from ComfyUI Noise
With this I set the blend_factor on the Latent Blend to control how much noise is added. This seems to work for now, at least!
Thanks all, these ideas sound along the lines of what I've been thinking. I have a setup which actually varies an empty latent by a 0->1 value and the results are pretty controllable.
Here is an image where I keep the prompt and the seed fixed, and gradually increase the VariationAmount (in my setup). Notice how the image changes as I increase the amount...
(top: variation workflow I use)
(bottom: results of increasing VariationAmount from 0->1, left to right)
My thinking is if I can get a workflow that takes an input image as a latent I can slowly apply this workflow to get variations. The trick is to get the noisy latent that produced the input image.
I know the Unsampler can do this, but when I pass it back through a kSampler, I get a really really contrasty image back.
Awesome, thanks. Looks like they go to user/default/comfy.templates.json. That is awesome
Do you happen to know where Group nodes get saved?
Spent some time playing with this, it's really helpful. Seeing an image Unsampler'ed and then resampled back to the original image was great. I modified this to something that seems to work for my needs, which is basically as follows..
(a) Input Image -> VAE Encode -> Unsampler (back to step 0) -> Inject this Noise into a Latent
(b) Empty Latent -> Inject Noise into this Latent
(c) Latent Blend node to combine a and b by the percentage I want
...then kSample for results. Inject Noise is used, and Get Sigma is used, both from ComfyUI Noise
With this I set the blend_factor on the Latent Blend to control how much noise is added. This seems to work for now, at least!
Amazing. Thanks a ton. Tucking into this now...
(even keeping CFG at 1, I should say)
Thanks all, these ideas sound along the lines of what I've been thinking. I have a setup which actually varies an empty latent by a 0->1 value and the results are pretty controllable.
Here is an image where I keep the prompt and the seed fixed, and gradually increase the VariationAmount (in my setup). Notice how the image changes as I increase the amount...
(top: variation workflow I use)
(bottom: results of increasing VariationAmount from 0->1, left to right)
https://preview.redd.it/3xdhfuxm1vbc1.png?width=3226&format=png&auto=webp&s=19e7b2a6573137163e21b6dc8f6ca47d161b30b2
My thinking is if I can get a workflow that takes an input image as a latent I can slowly apply this workflow to get variations. The trick is to get the noisy latent that produced the input image.
I know the Unsampler can do this, but when I pass it back through a kSampler, I get a really really contrasty image back.
End of this list.
Back to top