sampling
K Sampler

KSampler

comfyUI节点-KSampler K采样器 |ComfyUI组件节点

Documentation

  • Class name: KSampler
  • Category: sampling
  • Output node: False

The KSampler node is designed for advanced sampling operations within generative models, allowing for the customization of sampling processes through various parameters. It facilitates the generation of new data samples by manipulating latent space representations, leveraging conditioning, and adjusting noise levels.

Input types

ParameterComfy dtypeDescription
modelMODELSpecifies the generative model to be used for sampling, playing a crucial role in determining the characteristics of the generated samples.
seedINTControls the randomness of the sampling process, ensuring reproducibility of results when set to a specific value.
stepsINTDetermines the number of steps to be taken in the sampling process, affecting the detail and quality of the generated samples.
cfgFLOATAdjusts the conditioning factor, influencing the direction and strength of the conditioning applied during sampling.
sampler_nameCOMBO[STRING]Selects the specific sampling algorithm to be used, impacting the behavior and outcome of the sampling process.
schedulerCOMBO[STRING]Chooses the scheduling algorithm for controlling the sampling process, affecting the progression and dynamics of sampling.
positiveCONDITIONINGDefines positive conditioning to guide the sampling towards desired attributes or features.
negativeCONDITIONINGSpecifies negative conditioning to steer the sampling away from certain attributes or features.
latent_imageLATENTProvides a latent space representation to be used as a starting point or reference for the sampling process.
denoiseFLOATControls the level of denoising applied to the samples, affecting the clarity and sharpness of the generated images.

Output types

ParameterComfy dtypeDescription
latentLATENTRepresents the latent space output of the sampling process, encapsulating the generated samples.