Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > SpectrumKSampler > KSampler (Spectrum)

ComfyUI Node: KSampler (Spectrum)

Class Name

SpectrumKSampler

Category
sampling
Author
sorryhyun (Account age: 2225days)
Extension
SpectrumKSampler
Latest Updated
2026-06-24
Github Stars
0.02K

How to Install SpectrumKSampler

Install this extension via the ComfyUI Manager by searching for SpectrumKSampler
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SpectrumKSampler 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

KSampler (Spectrum) Description

Enhances AI art sampling with spectrum acceleration for faster, efficient image generation.

KSampler (Spectrum):

SpectrumKSampler is a sophisticated node designed to enhance the sampling process in AI art generation by leveraging spectrum acceleration techniques. It serves as a drop-in replacement for the traditional KSampler, offering improved efficiency and performance. The primary goal of SpectrumKSampler is to optimize the sampling process by skipping certain computationally intensive transformer blocks, thereby accelerating the generation of latent images. This node is particularly beneficial for artists and developers looking to streamline their workflows and achieve faster results without compromising on quality. By integrating advanced foresight guidance and adaptive sampling methods, SpectrumKSampler ensures that the generated outputs are both high-quality and efficiently produced.

KSampler (Spectrum) Input Parameters:

refresh_ratio

The refresh_ratio parameter controls the frequency at which the sampling process refreshes its state. This can impact the smoothness and consistency of the generated images. A higher refresh ratio may lead to more frequent updates, potentially improving the adaptability of the sampler to changes in the input data. However, it may also increase computational load. The default value is set to balance performance and quality, but users can adjust it based on their specific needs.

adaptive_smc_alpha

The adaptive_smc_alpha parameter is used to fine-tune the adaptive sampling process. It influences the sensitivity of the sampler to changes in the input conditions, allowing for more dynamic adjustments during the sampling process. This parameter is crucial for achieving a balance between exploration and exploitation in the sampling space. The default value is optimized for general use, but users can modify it to better suit their particular artistic goals.

fsg

The fsg parameter stands for Foresight Guidance, which is a boolean option that, when enabled, directs the sampling process towards a predefined "golden path." This path is characterized by specific configurations that have been validated for optimal production results. Enabling FSG can significantly enhance the quality of the output by adhering to these proven settings. However, it is important to note that FSG is mutually exclusive with SMC-CFG, meaning that enabling it will disable the latter. This parameter is particularly useful for users who want to ensure high-quality outputs with minimal manual tuning.

KSampler (Spectrum) Output Parameters:

LATENT

The LATENT output parameter represents the latent image generated by the SpectrumKSampler. This output is a crucial component in the AI art generation process, as it serves as the foundational layer upon which further transformations and enhancements are applied. The latent image encapsulates the core features and structures of the intended artwork, providing a versatile base for subsequent artistic manipulations. Understanding and effectively utilizing the latent output can greatly enhance the creative possibilities for AI artists.

KSampler (Spectrum) Usage Tips:

  • To achieve optimal results, consider adjusting the refresh_ratio and adaptive_smc_alpha parameters based on the complexity and variability of your input data. This can help in fine-tuning the balance between performance and output quality.
  • When aiming for high-quality outputs with minimal manual intervention, enable the fsg parameter to leverage the predefined golden path settings. This can streamline the process and ensure consistent results.

KSampler (Spectrum) Common Errors and Solutions:

Error: "Invalid configuration for FSG and SMC-CFG"

  • Explanation: This error occurs when both FSG and SMC-CFG are enabled simultaneously, which is not allowed as they are mutually exclusive.
  • Solution: Disable one of the options to resolve the conflict. If you prefer using FSG, ensure that SMC-CFG is turned off, and vice versa.

Error: "Sampling process failed due to high refresh ratio"

  • Explanation: A refresh ratio that is set too high can lead to excessive computational demands, causing the sampling process to fail.
  • Solution: Reduce the refresh_ratio to a more manageable level to alleviate the computational load and allow the process to complete successfully.

KSampler (Spectrum) Related Nodes

Go back to the extension to check out more related nodes.
SpectrumKSampler
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

KSampler (Spectrum)