ComfyUI > Nodes > ComfyUI_SparkVSR_SM > SparkVSR_SM_PreRefer

ComfyUI Node: SparkVSR_SM_PreRefer

Class Name

SparkVSR_SM_PreRefer

Category
SparkVSR_SM
Author
smthemex (Account age: 998days)
Extension
ComfyUI_SparkVSR_SM
Latest Updated
2026-03-29
Github Stars
0.02K

How to Install ComfyUI_SparkVSR_SM

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

SparkVSR_SM_PreRefer Description

Facilitates preprocessing of reference frames for video super-resolution using SparkVSR model.

SparkVSR_SM_PreRefer:

SparkVSR_SM_PreRefer is a node designed to facilitate the preprocessing of reference frames for video super-resolution tasks using the SparkVSR model. This node plays a crucial role in preparing the reference frames by selecting and adjusting them to match the input video frames' dimensions and format. It ensures that the reference frames are correctly aligned and normalized, which is essential for achieving high-quality super-resolution results. By handling the preprocessing of reference frames, SparkVSR_SM_PreRefer helps streamline the workflow, allowing you to focus on the creative aspects of video enhancement without worrying about the technical intricacies of frame alignment and normalization.

SparkVSR_SM_PreRefer Input Parameters:

ref_type

The ref_type parameter specifies the type of reference source being used, such as video. This parameter is crucial as it determines how the reference frames are processed and integrated into the super-resolution workflow. The correct setting of this parameter ensures that the node can accurately interpret and handle the reference frames, leading to optimal results.

ref_source

The ref_source parameter provides the actual reference data, typically in the form of a tensor. This parameter is essential as it contains the reference frames that will be used to guide the super-resolution process. The quality and format of the ref_source directly impact the effectiveness of the reference frames in enhancing the video quality.

SparkVSR_SM_PreRefer Output Parameters:

current_ref_frames

The current_ref_frames output parameter contains the processed and aligned reference frames ready for use in the super-resolution task. These frames have been adjusted to match the input video frames' dimensions and normalized to ensure compatibility with the SparkVSR model. This output is crucial as it provides the necessary reference data that enhances the model's ability to produce high-quality super-resolution results.

SparkVSR_SM_PreRefer Usage Tips:

  • Ensure that the ref_type and ref_source parameters are correctly set to match the format and type of your reference data. This will help the node process the reference frames accurately.
  • Use high-quality reference frames to maximize the effectiveness of the super-resolution process. The better the reference frames, the more they can contribute to enhancing the video quality.

SparkVSR_SM_PreRefer Common Errors and Solutions:

Reference frame interval must be > 3

  • Explanation: This error occurs when the specified reference frame indices are too close together, violating the minimum interval requirement.
  • Solution: Ensure that the difference between consecutive reference frame indices is at least 4 to meet the interval requirement.

Reference frames not found

  • Explanation: This error indicates that the specified reference frames could not be located or loaded.
  • Solution: Verify that the ref_source contains valid reference frames and that the indices specified are within the correct range.

SparkVSR_SM_PreRefer Related Nodes

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

SparkVSR_SM_PreRefer