ComfyUI > Nodes > cgem156-ComfyUI🍌 > KSampler Advanced XY 🍌

ComfyUI Node: KSampler Advanced XY 🍌

Class Name

KSamplerAdvancedXY|cgem156

Category
cgem156 🍌/lora_xy
Author
laksjdjf (Account age: 2852days)
Extension
cgem156-ComfyUI🍌
Latest Updated
2024-06-08
Github Stars
0.03K

How to Install cgem156-ComfyUI🍌

Install this extension via the ComfyUI Manager by searching for cgem156-ComfyUI🍌
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter cgem156-ComfyUI🍌 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

KSampler Advanced XY 🍌 Description

Sophisticated node for advanced sampling across multiple models, enhancing image diversity and quality in AI art generation.

KSampler Advanced XY 🍌| KSampler Advanced XY 🍌:

KSamplerAdvancedXY| KSampler Advanced XY 🍌 is a sophisticated node designed for advanced sampling in AI art generation. It extends the capabilities of the KSamplerAdvanced class, allowing you to work with multiple models simultaneously. This node is particularly useful for generating high-quality images by leveraging various sampling techniques and noise addition options. The primary function of this node is to perform sampling across different models, combining their outputs to produce a cohesive result. This can significantly enhance the diversity and quality of the generated images, making it a valuable tool for AI artists looking to push the boundaries of their creative projects.

KSampler Advanced XY 🍌| KSampler Advanced XY 🍌 Input Parameters:

model_xy

This parameter accepts a list of models (XY_MODEL) that will be used for sampling. Each model in the list contributes to the final output, allowing for a blend of different styles and features.

add_noise

This parameter determines whether noise should be added during the sampling process. It can be set to enable or disable. Adding noise can help in generating more diverse and less deterministic outputs.

noise_seed

This integer parameter sets the seed for noise generation. It has a default value of 0 and can range from 0 to 0xffffffffffffffff. The seed ensures reproducibility of the noise added during sampling.

steps

This integer parameter defines the number of sampling steps to be performed. It has a default value of 20 and can range from 1 to 10000. More steps generally lead to higher quality outputs but require more computational resources.

cfg

This floating-point parameter, known as the Classifier-Free Guidance scale, controls the strength of the guidance applied during sampling. It has a default value of 8.0 and can range from 0.0 to 100.0, with a step size of 0.1 and rounding to 0.01. Higher values can lead to more pronounced features but may also introduce artifacts.

sampler_name

This parameter specifies the name of the sampler to be used. It accepts values from the predefined list of samplers in comfy.samplers.KSampler.SAMPLERS.

scheduler

This parameter sets the scheduler to be used during sampling. It accepts values from the predefined list of schedulers in comfy.samplers.KSampler.SCHEDULERS.

positive

This parameter provides the positive conditioning for the sampling process. It is used to guide the model towards desired features.

negative

This parameter provides the negative conditioning for the sampling process. It is used to steer the model away from undesired features.

latent_image

This parameter accepts a latent image (LATENT) that serves as the starting point for the sampling process.

start_at_step

This integer parameter specifies the step at which to start the sampling process. It has a default value of 0 and can range from 0 to 10000.

end_at_step

This integer parameter specifies the step at which to end the sampling process. It has a default value of 10000 and can range from 0 to 10000.

return_with_leftover_noise

This parameter determines whether to return the output with leftover noise. It can be set to disable or enable.

KSampler Advanced XY 🍌| KSampler Advanced XY 🍌 Output Parameters:

samples

This output parameter contains the final sampled images. The images are generated by combining the outputs from the different models specified in the model_xy parameter. The result is a cohesive and high-quality image that leverages the strengths of each model.

KSampler Advanced XY 🍌| KSampler Advanced XY 🍌 Usage Tips:

  • Experiment with different model_xy combinations to achieve unique and diverse outputs.
  • Adjust the cfg parameter to find the right balance between feature strength and artifact introduction.
  • Use the add_noise parameter to introduce variability in the outputs, especially when generating multiple images.

KSampler Advanced XY 🍌| KSampler Advanced XY 🍌 Common Errors and Solutions:

Invalid model_xy input

  • Explanation: The model_xy parameter must be a list of valid models.
  • Solution: Ensure that you provide a list of models that are compatible with the node.

Noise seed out of range

  • Explanation: The noise_seed parameter must be within the specified range.
  • Solution: Provide a seed value between 0 and 0xffffffffffffffff.

Steps value out of range

  • Explanation: The steps parameter must be within the specified range.
  • Solution: Ensure that the steps value is between 1 and 10000.

CFG value out of range

  • Explanation: The cfg parameter must be within the specified range.
  • Solution: Provide a CFG value between 0.0 and 100.0.

Invalid sampler_name or scheduler

  • Explanation: The sampler_name and scheduler parameters must be valid options from the predefined lists.
  • Solution: Ensure that you select valid options for both parameters from comfy.samplers.KSampler.SAMPLERS and comfy.samplers.KSampler.SCHEDULERS.

KSampler Advanced XY 🍌 Related Nodes

Go back to the extension to check out more related nodes.
cgem156-ComfyUI🍌
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.