Sorry, I should have been clearer. On the two KSampler nodes, set "control before generate" to Randomize. I think it might say "control after generate" depending on your settings, but the effect is the same - it chooses a random "noise_seed" value each time you generate a new image. The "noise_seed" is used to initialise the randomness when the sampler needs to add noise to the latent image.
Here's the prompt that was generated by ChatGPT. I'm genuinely curious, is there anything in there that makes it creepy?
a woman of Mediterranean ethnicity with curly brown hair, wearing a red sequin dress and a pearlescent, translucent shawl, standing on a moonlit balcony with one hand on the railing. the artstyle is digital painting with soft, glowing light effects. the color palette includes cool blues, silvers, and pale violets. the background features a starry night sky with faint auroras. her pose is slightly turned, with a subtle tilt of her head. the framing emphasizes her face and upper body, with a shallow depth of field.
The workflow has fixed seeds, but that's only to generate the same images for the comparison. You'd want to set them to be random. I'll edit my post to clarify.
I personally don't mind the consistency, but it's nice to be able to force a bit of creative variance when needed. I used to find with SD1.5 that the randomness of the outputs would help me to come up with ideas for prompting.
This workflow is using 9 steps, the same number as the ComfyUI demo workflow. Generation times should be approximately the same.
The lack of variation with Z Image Turbo isn't caused by a lack of randomness in the starting latent image. I may be misunderstanding your suggestion as I'm not familiar with the inject latent noise node, so it would be great to see an example.
There are two samplers, but it's running the total number of steps is the same, so generation times aren't increased. Are you suggesting loading a random image and feeding that as the latent? That would probably work too and is a standard image to image workflow. With this method, you get an endless supply of random images to influence your output.
Seeds already produce random noise so adding more randomness won't help. It may seem counterintuitive, but what you want is less randomness. This method forces the model to start producing a completely different image before switching to your intended image, so some aspects of the first image influence the final output.
That would just be standard image to image. Load your image, encode it with your VAE and use it as your latent_image on the standard sampling node. Set your denoise to a fairly high value, say 0.8 - 0.9.
I think that should work, yes. According to the code, these are the section names it looks for in that file:
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
It does work in the standard prompt node, but custom nodes are available that add extra wildcard features. This one seems very comprehensive: https://github.com/Alectriciti/comfyui-adaptiveprompts
On this node, change the "batch_size" from 4 to 1:
https://preview.redd.it/f1yw62tcek4g1.png?width=352&format=png&auto=webp&s=77a22e2cb5e8f92e0fee7b6aa782cca0bbebd5cf
Thanks for the pointer, that looks like an interesting suggestion. I shall give it a go. It's a similar approach to this one further up the thread - https://www.reddit.com/r/StableDiffusion/comments/1p94z1y/comment/nradc6k
Funnily enough, that's the approach I first tried. I went with this approach as it didn't have to load/swap more models to VRAM.
Sorry, I should have been clearer. On the two KSampler nodes, set "control before generate" to Randomize. I think it might say "control after generate" depending on your settings, but the effect is the same - it chooses a random "noise_seed" value each time you generate a new image. The "noise_seed" is used to initialise the randomness when the sampler needs to add noise to the latent image.
https://preview.redd.it/fh51gkq8x54g1.png?width=722&format=png&auto=webp&s=c0ffff07e694f7e4b42fea4949d67a79b752f2c8
Every step is denoised by the model, it just isn’t being guided by the prompt in the first one or two steps.
Thank you for sharing your point of view. My intention was not to make anyone uncomfortable but to contribute positively to the discussion.
I apologise if the images I posted offended you.
Here's the prompt that was generated by ChatGPT. I'm genuinely curious, is there anything in there that makes it creepy?
a woman of Mediterranean ethnicity with curly brown hair, wearing a red sequin dress and a pearlescent, translucent shawl, standing on a moonlit balcony with one hand on the railing. the artstyle is digital painting with soft, glowing light effects. the color palette includes cool blues, silvers, and pale violets. the background features a starry night sky with faint auroras. her pose is slightly turned, with a subtle tilt of her head. the framing emphasizes her face and upper body, with a shallow depth of field.
Thanks for sharing.
That's a clever idea!
Thanks, I'll take a look.
The workflow has fixed seeds, but that's only to generate the same images for the comparison. You'd want to set them to be random. I'll edit my post to clarify.
I personally don't mind the consistency, but it's nice to be able to force a bit of creative variance when needed. I used to find with SD1.5 that the randomness of the outputs would help me to come up with ideas for prompting.
This workflow is using 9 steps, the same number as the ComfyUI demo workflow. Generation times should be approximately the same.
The lack of variation with Z Image Turbo isn't caused by a lack of randomness in the starting latent image. I may be misunderstanding your suggestion as I'm not familiar with the inject latent noise node, so it would be great to see an example.
There are two samplers, but it's running the total number of steps is the same, so generation times aren't increased. Are you suggesting loading a random image and feeding that as the latent? That would probably work too and is a standard image to image workflow. With this method, you get an endless supply of random images to influence your output.
Seeds already produce random noise so adding more randomness won't help. It may seem counterintuitive, but what you want is less randomness. This method forces the model to start producing a completely different image before switching to your intended image, so some aspects of the first image influence the final output.
That would just be standard image to image. Load your image, encode it with your VAE and use it as your latent_image on the standard sampling node. Set your denoise to a fairly high value, say 0.8 - 0.9.
I haven't tried it with qwen, but it might work if you're not using a lightning LoRA.
If you're curious, these are the images it would have created using the empty prompts. You can see the influence some of them had on the final image.
https://preview.redd.it/b7lzsd4u524g1.jpeg?width=2048&format=pjpg&auto=webp&s=ea7cd302df6a6d586e622b6079f2527362612cdc
I've noticed the same problem. I tried installing ComfyUI from scratch with a fresh venv, but that didn't help either.
The lines starting with '#' are just there for an example and aren't read by ComfyUI. Try changing the file to this:
I think that should work, yes. According to the code, these are the section names it looks for in that file: folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions) folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions) folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions) folder_names_and_paths["clip"] = ([os.path.join(models_dir, "clip")], supported_pt_extensions) folder_names_and_paths["unet"] = ([os.path.join(models_dir, "unet")], supported_pt_extensions) folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions) folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions) folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions) folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"]) folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions) folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
In the install folder, locate the file "extra_model_paths.yaml.example" and rename to "extra_model_paths.yaml". Edit the file and set up your paths.
https://arxiv.org/abs/2311.12908