ComfyUI  >  Nodes  >  ComfyUI-sonar >  SonarGuidanceConfig

ComfyUI Node: SonarGuidanceConfig

Class Name

SonarGuidanceConfig

Category
sampling/custom_sampling/samplers
Author
blepping (Account age: 176 days)
Extension
ComfyUI-sonar
Latest Updated
5/22/2024
Github Stars
0.0K

How to Install ComfyUI-sonar

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

SonarGuidanceConfig Description

Configure guidance parameters for Sonar sampling process to enhance AI art quality and align with creative vision.

SonarGuidanceConfig:

The SonarGuidanceConfig node is designed to configure the guidance parameters for the Sonar sampling process, which is essential for generating high-quality AI art. This node allows you to fine-tune the guidance settings, such as the type of guidance, the intensity factor, and the specific steps during which the guidance is applied. By adjusting these parameters, you can influence the behavior of the Sonar sampler, ensuring that the generated art aligns more closely with your creative vision. The node is particularly useful for artists looking to experiment with different guidance techniques to achieve unique and refined results.

SonarGuidanceConfig Input Parameters:

factor

The factor parameter is a floating-point value that determines the intensity of the guidance applied during the sampling process. A higher factor increases the influence of the guidance, while a lower factor reduces it. The default value is 0.01, with a minimum of -2.0 and a maximum of 2.0. Adjusting this parameter allows you to control how strongly the guidance affects the generated art, enabling you to fine-tune the output to your liking.

guidance_type

The guidance_type parameter specifies the type of guidance to be used during the sampling process. It accepts a tuple of guidance types, such as linear and euler. This parameter allows you to choose the most suitable guidance method for your specific artistic needs, providing flexibility in the creative process.

start_step

The start_step parameter is an integer that defines the step at which the guidance begins to be applied. The default value is 1, and the minimum value is also 1. This parameter is crucial for controlling the timing of the guidance, ensuring that it starts influencing the sampling process at the desired point.

end_step

The end_step parameter is an integer that specifies the step at which the guidance stops being applied. The default value is 9999, with a minimum value of 1. This parameter allows you to set the duration of the guidance, giving you control over how long the guidance affects the sampling process.

latent

The latent parameter is a tensor that represents the latent space in which the guidance is applied. This parameter is essential for defining the reference latent space, which influences the generated art's characteristics. By providing a specific latent tensor, you can guide the sampling process to produce results that align with your artistic vision.

SonarGuidanceConfig Output Parameters:

SONAR_GUIDANCE_CFG

The SONAR_GUIDANCE_CFG output parameter is a configuration object that encapsulates all the guidance settings specified through the input parameters. This configuration is used by the Sonar sampler to apply the desired guidance during the sampling process. The output ensures that the sampler has all the necessary information to generate art that meets your specified criteria.

SonarGuidanceConfig Usage Tips:

  • Experiment with different factor values to see how the intensity of the guidance affects your generated art. Small adjustments can lead to significant changes in the output.
  • Try different guidance_type options to find the method that best suits your artistic style. Each type can produce unique effects.
  • Use the start_step and end_step parameters to control the timing and duration of the guidance. This can help you achieve more precise and controlled results.
  • Provide a well-defined latent tensor to guide the sampling process effectively. The quality of the latent space can significantly impact the final output.

SonarGuidanceConfig Common Errors and Solutions:

"Invalid factor value"

  • Explanation: The factor value provided is outside the allowed range.
  • Solution: Ensure that the factor value is between -2.0 and 2.0.

"Invalid guidance_type"

  • Explanation: The guidance_type provided is not recognized.
  • Solution: Check that the guidance_type is one of the accepted values, such as linear or euler.

"start_step must be >= 1"

  • Explanation: The start_step value is less than 1. - Solution: Set the start_step value to 1 or higher.

"end_step must be >= 1"

  • Explanation: The end_step value is less than 1. - Solution: Set the end_step value to 1 or higher.

"latent tensor is required"

  • Explanation: The latent parameter is missing or not provided.
  • Solution: Ensure that a valid latent tensor is provided as input.

SonarGuidanceConfig Related Nodes

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