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

ComfyUI Node: KSampler XY 🍌

Class Name

KSamplerXY|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 XY 🍌 Description

Specialized node for sampling in AI art, leveraging multiple models simultaneously for diverse outputs.

KSampler XY 🍌| KSampler XY 🍌:

KSamplerXY| KSampler XY 🍌 is a specialized node designed to facilitate the sampling process in AI art generation by leveraging multiple models simultaneously. This node extends the capabilities of the standard KSampler by allowing you to input an array of models (model_xy) and generate samples from each model in a coordinated manner. The primary benefit of using KSamplerXY| KSampler XY 🍌 is its ability to combine the strengths of different models, potentially leading to more diverse and high-quality outputs. The node is particularly useful for artists looking to experiment with various model configurations and achieve unique artistic effects by blending the outputs of multiple models.

KSampler XY 🍌| KSampler XY 🍌 Input Parameters:

model_xy

This parameter accepts an array of models (XY_MODEL) that will be used for sampling. Each model in the array contributes to the final output, allowing for a combination of different model characteristics.

seed

The seed parameter is an integer that initializes the random number generator, ensuring reproducibility of the results. The default value is 0, with a minimum of 0 and a maximum of 0xffffffffffffffff.

steps

The steps parameter defines the number of sampling steps to be performed. More steps generally lead to higher quality outputs but require more computational resources. The default value is 20, with a minimum of 1 and a maximum of 10000.

cfg

The cfg (Classifier-Free Guidance) parameter is a float that controls the strength of the guidance. Higher values result in outputs that more closely follow the conditioning inputs. The default value is 8.0, with a range from 0.0 to 100.0, adjustable in steps of 0.1 and rounded to 0.01.

sampler_name

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

scheduler

The scheduler parameter determines the scheduling strategy for the sampling process. It accepts values from the predefined list of schedulers available in comfy.samplers.KSampler.SCHEDULERS.

positive

The positive parameter is used for positive conditioning, guiding the model towards desired features in the output. It accepts a CONDITIONING type input.

negative

The negative parameter is used for negative conditioning, guiding the model away from undesired features in the output. It accepts a CONDITIONING type input.

latent_image

The latent_image parameter provides the initial latent image to be used as the starting point for the sampling process. It accepts a LATENT type input.

denoise

The denoise parameter is a float that controls the amount of denoising applied during the sampling process. The default value is 1.0, with a range from 0.0 to 1.0, adjustable in steps of 0.01.

KSampler XY 🍌| KSampler XY 🍌 Output Parameters:

samples

The samples output parameter contains the final generated samples after combining the outputs from all the models in the model_xy array. The samples are concatenated into a single tensor, providing a unified output that reflects the combined characteristics of the input models.

KSampler XY 🍌| KSampler XY 🍌 Usage Tips:

  • Experiment with different combinations of models in the model_xy array to achieve unique artistic effects.
  • Adjust the cfg parameter to fine-tune the balance between following the conditioning inputs and allowing for creative variations.
  • Use the seed parameter to ensure reproducibility of your results, especially when you find a configuration that produces desirable outputs.
  • Increase the steps parameter for higher quality outputs, but be mindful of the increased computational requirements.

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

"Invalid model type in model_xy"

  • Explanation: This error occurs when one or more models in the model_xy array are not of the expected XY_MODEL type.
  • Solution: Ensure that all models in the model_xy array are correctly specified and compatible with the XY_MODEL type.

"Seed value out of range"

  • Explanation: This error occurs when the seed parameter is set to a value outside the acceptable range.
  • Solution: Ensure that the seed value is within the range of 0 to 0xffffffffffffffff.

"Steps value out of range"

  • Explanation: This error occurs when the steps parameter is set to a value outside the acceptable range.
  • Solution: Ensure that the steps value is within the range of 1 to 10000.

"CFG value out of range"

  • Explanation: This error occurs when the cfg parameter is set to a value outside the acceptable range.
  • Solution: Ensure that the cfg value is within the range of 0.0 to 100.0.

"Denoise value out of range"

  • Explanation: This error occurs when the denoise parameter is set to a value outside the acceptable range.
  • Solution: Ensure that the denoise value is within the range of 0.0 to 1.0.

KSampler 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.