ComfyUI > Nodes > ComfyUI_FlashVSR > FlashVSR_SM_KSampler

ComfyUI Node: FlashVSR_SM_KSampler

Class Name

FlashVSR_SM_KSampler

Category
FlashVSR
Author
smthemex (Account age: 922days)
Extension
ComfyUI_FlashVSR
Latest Updated
2025-12-17
Github Stars
0.29K

How to Install ComfyUI_FlashVSR

Install this extension via the ComfyUI Manager by searching for ComfyUI_FlashVSR
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_FlashVSR 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

FlashVSR_SM_KSampler Description

FlashVSR_SM_KSampler enhances video super-resolution by upscaling frames with high fidelity and minimal artifacts.

FlashVSR_SM_KSampler:

FlashVSR_SM_KSampler is a specialized node designed to enhance video super-resolution tasks by leveraging advanced sampling techniques. This node is part of the FlashVSR category, which focuses on improving video quality by increasing resolution and refining details. The primary goal of FlashVSR_SM_KSampler is to provide a robust framework for upscaling video frames while maintaining high fidelity and minimizing artifacts. It achieves this by utilizing a combination of model inputs, image processing parameters, and sophisticated algorithms to deliver superior visual results. The node is particularly beneficial for AI artists and video editors who seek to enhance the quality of their video content without delving into complex technical processes. By offering a range of customizable parameters, FlashVSR_SM_KSampler allows users to tailor the super-resolution process to their specific needs, ensuring optimal performance and output quality.

FlashVSR_SM_KSampler Input Parameters:

model

The model parameter accepts a FlashVSR_SM_Model input, which serves as the foundational model for the super-resolution process. This model is crucial as it dictates the underlying architecture and capabilities of the node, influencing the quality and efficiency of the output.

image

The image parameter is the input image or video frame that you wish to enhance. It serves as the base content for the super-resolution process, and its quality and resolution will directly impact the final output.

width

The width parameter specifies the target width for the output image, with a default value of 1280 pixels. It can range from a minimum of 128 to a maximum defined by the system's maximum resolution, adjustable in steps of 64 pixels. This parameter determines the horizontal resolution of the output, affecting the level of detail and clarity.

height

The height parameter sets the target height for the output image, with a default value of 768 pixels. Similar to the width, it ranges from 128 to the system's maximum resolution, adjustable in steps of 64 pixels. This parameter influences the vertical resolution, impacting the overall aspect ratio and detail of the output.

seed

The seed parameter is used to initialize the random number generator, ensuring reproducibility of results. It has a default value of 0 and can range from 0 to a maximum defined by the system. This parameter is essential for achieving consistent outputs across different runs.

scale

The scale parameter determines the upscaling factor, with a default value of 4. It ranges from 1 to 4, allowing you to control the degree of enlargement applied to the input image. A higher scale results in a larger output image but may require more computational resources.

kv_ratio

The kv_ratio parameter, with a default value of 3.5, adjusts the key-value ratio used in the sampling process. It ranges from 0.0 to 10.0, adjustable in steps of 0.1. This parameter influences the balance between key and value features, affecting the detail and texture of the output.

local_range

The local_range parameter, defaulting to 11, defines the local range for processing, with a minimum of 1 and a maximum of 50. This parameter controls the area of influence for local operations, impacting the sharpness and detail preservation in the output.

steps

The steps parameter specifies the number of processing steps, with a default of 1 and a range from 1 to 10000. This parameter determines the number of iterations the node will perform, affecting the refinement and quality of the output.

cfg

The cfg parameter, with a default value of 1.0, is a configuration setting that ranges from 0.0 to 100.0, adjustable in steps of 0.1. It influences the overall processing configuration, impacting the balance between speed and quality.

sparse_ratio

The sparse_ratio parameter, defaulting to 2.0, adjusts the sparsity ratio in the processing, ranging from 0.0 to 10.0 in steps of 0.1. This parameter affects the density of the processing grid, influencing the detail and texture of the output.

full_tiled

The full_tiled parameter is a boolean setting that defaults to true. It determines whether the processing should be performed in a fully tiled manner, impacting the efficiency and memory usage of the node.

color_fix

The color_fix parameter is a boolean setting that defaults to true. It controls whether color correction should be applied to the output, ensuring consistent and accurate color reproduction.

fix_method

The fix_method parameter offers options between "wavelet" and "adain" for color correction methods. This choice affects the technique used for color adjustment, influencing the final appearance of the output.

split_num

The split_num parameter, with a default value of 81, defines the number of splits for processing, ranging from 41 to a maximum defined by the system, adjustable in steps of 40. This parameter controls the granularity of the processing, impacting the balance between speed and quality.

FlashVSR_SM_KSampler Output Parameters:

images

The images output parameter provides the enhanced image or video frame resulting from the super-resolution process. This output is the culmination of the node's processing, reflecting the improvements in resolution, detail, and overall quality. It is the primary deliverable of the node, showcasing the effectiveness of the applied techniques and settings.

FlashVSR_SM_KSampler Usage Tips:

  • Experiment with the scale parameter to find the optimal balance between image size and quality, especially when working with limited computational resources.
  • Utilize the seed parameter to ensure consistent results across multiple runs, which is particularly useful for batch processing or iterative refinement.
  • Adjust the kv_ratio and sparse_ratio parameters to fine-tune the detail and texture of the output, allowing for customization based on the specific characteristics of the input image.

FlashVSR_SM_KSampler Common Errors and Solutions:

"Invalid resolution settings"

  • Explanation: This error occurs when the specified width or height exceeds the system's maximum resolution.
  • Solution: Ensure that the width and height parameters are set within the allowable range, and consider reducing the scale if necessary.

"Model input not provided"

  • Explanation: This error indicates that the required model input is missing or incorrectly specified.
  • Solution: Verify that a valid model input is connected to the node, and ensure it is compatible with the FlashVSR_SM_KSampler.

"Color correction method not recognized"

  • Explanation: This error arises when an invalid option is selected for the fix_method parameter.
  • Solution: Choose a valid option, either "wavelet" or "adain", for the fix_method parameter to ensure proper color correction.

FlashVSR_SM_KSampler Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_FlashVSR
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.