ComfyUI > Nodes > ComfyUI Easy Use > PreSampling (SDTurbo)

ComfyUI Node: PreSampling (SDTurbo)

Class Name

easy preSamplingSdTurbo

Category
EasyUse/PreSampling
Author
yolain (Account age: 1341days)
Extension
ComfyUI Easy Use
Latest Updated
2024-06-25
Github Stars
0.51K

How to Install ComfyUI Easy Use

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

PreSampling (SDTurbo) Description

Streamline pre-sampling for AI art generation with SDTurbo scheduler, simplifying configuration and execution for high-quality results.

PreSampling (SDTurbo):

The easy preSamplingSdTurbo node is designed to streamline the process of pre-sampling in AI art generation, particularly for those using the SDTurbo scheduler. This node simplifies the configuration and execution of pre-sampling steps, allowing you to achieve high-quality results with minimal effort. By leveraging this node, you can efficiently manage the sampling process, ensuring that your models generate images with the desired level of detail and noise reduction. The primary goal of this node is to provide an intuitive interface for setting up and executing pre-sampling tasks, making it accessible even to those without a deep technical background.

PreSampling (SDTurbo) Input Parameters:

pipe

This parameter represents the pipeline object that contains all the necessary components for the sampling process, such as the model, VAE, and CLIP. It is essential for coordinating the various stages of the sampling workflow.

steps

This integer parameter defines the number of sampling steps to be performed. The more steps you specify, the finer the details in the generated images. The value ranges from 1 to 10, with a default of 1.

cfg

This float parameter, known as the configuration scale, controls the strength of the guidance during sampling. Higher values result in images that more closely follow the input prompt. The value ranges from 0.0 to 100.0, with a default of 1.0.

sampler_name

This parameter specifies the name of the sampler to be used in the pre-sampling process. It allows you to choose from various available samplers, each with its unique characteristics and effects on the final output.

scheduler

This parameter determines the scheduling algorithm to be used for the sampling process. It includes options like the SDTurbo scheduler, which is optimized for efficient and high-quality sampling.

denoise

This float parameter controls the level of noise reduction applied during the sampling process. A value of 1.0 means full denoising, while lower values retain more noise. The value ranges from 0.0 to 1.0, with a default of 1.0.

seed

This integer parameter sets the random seed for the sampling process, ensuring reproducibility of results. The value ranges from 0 to a maximum defined by the system, with a default of 0.

optional_noise_seed

This optional integer parameter allows you to specify a separate seed for the noise generation, providing additional control over the randomness in the sampling process.

optional_latent

This optional parameter allows you to input a latent representation directly, bypassing the initial stages of the sampling process. It is useful for advanced users who want to manipulate the latent space directly.

PreSampling (SDTurbo) Output Parameters:

pipe

The output pipeline object contains the updated components after the pre-sampling process, including the model, VAE, CLIP, and the generated samples. This object can be used for further processing or directly for image generation.

PreSampling (SDTurbo) Usage Tips:

  • Adjust the steps parameter to balance between speed and image quality. More steps generally result in better quality but take longer to process.
  • Use the cfg parameter to fine-tune how closely the generated images follow your input prompt. Higher values provide stronger guidance.
  • Experiment with different sampler_name and scheduler options to find the combination that best suits your artistic needs.
  • Utilize the denoise parameter to control the level of noise in your images. Full denoising (1.0) is ideal for clean images, while lower values can add artistic noise effects.

PreSampling (SDTurbo) Common Errors and Solutions:

"Invalid steps value"

  • Explanation: The steps parameter is set to a value outside the allowed range (1-10).
  • Solution: Ensure that the steps parameter is set to a value between 1 and 10.

"Invalid cfg value"

  • Explanation: The cfg parameter is set to a value outside the allowed range (0.0-100.0).
  • Solution: Adjust the cfg parameter to a value within the range of 0.0 to 100.0.

"Invalid denoise value"

  • Explanation: The denoise parameter is set to a value outside the allowed range (0.0-1.0).
  • Solution: Set the denoise parameter to a value between 0.0 and 1.0.

"Missing pipeline object"

  • Explanation: The pipe parameter is not provided, which is essential for the sampling process.
  • Solution: Ensure that the pipe parameter is correctly set with a valid pipeline object.

"Invalid seed value"

  • Explanation: The seed parameter is set to a value outside the allowed range.
  • Solution: Set the seed parameter to a value between 0 and the system-defined maximum.

PreSampling (SDTurbo) Related Nodes

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