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

ComfyUI Node: PreSampling (Custom)

Class Name

easy preSamplingCustom

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 (Custom) Description

Flexible pre-sampling customization for AI art generation pipeline.

PreSampling (Custom):

The easy preSamplingCustom node is designed to provide a flexible and customizable pre-sampling process for your AI art generation pipeline. This node allows you to fine-tune various parameters and settings before the actual sampling process begins, ensuring that the generated images meet your specific requirements and artistic vision. By leveraging this node, you can achieve more precise control over the sampling process, leading to higher quality and more consistent results. The main goal of this node is to offer a user-friendly interface for adjusting pre-sampling settings, making it easier for AI artists to experiment with different configurations and achieve the desired outcomes without needing deep technical knowledge.

PreSampling (Custom) Input Parameters:

pipe

This parameter represents the pipeline object that contains the model and other necessary components for the sampling process. It is a required input and ensures that the node has access to all the necessary elements to perform pre-sampling adjustments.

guider

This parameter allows you to select the guiding method for the sampling process. The available options are CFG, DualCFG, IP2P+DualCFG, and Basic, with Basic being the default option. Each guiding method offers different levels of control and influence over the sampling process, allowing you to choose the one that best fits your artistic needs.

cfg

This parameter sets the configuration scale for the sampling process. It is a floating-point value with a default of 8.0, a minimum of 0.0, and a maximum of 100.0. Adjusting this value can impact the strength and influence of the guiding method on the sampling process, allowing you to fine-tune the balance between creativity and adherence to the prompt.

sampler_name

This parameter specifies the name of the sampler to be used in the pre-sampling process. Different samplers can produce varying results, and selecting the appropriate one can significantly impact the quality and style of the generated images.

scheduler

This parameter determines the scheduling method for the sampling process. It allows you to choose from a list of available schedulers, each offering different strategies for managing the sampling steps and progression.

denoise

This parameter controls the denoising strength during the pre-sampling process. It is a floating-point value with a default of 1.0, a minimum of 0.0, and a maximum of 1.0, with a step size of 0.01. Adjusting this value can help reduce noise and artifacts in the generated images, leading to cleaner and more polished results.

seed

This parameter sets the random seed for the sampling process. It is an integer value with a default of 0 and a range from 0 to the maximum seed number. Using a specific seed can help reproduce consistent results across different runs, making it easier to experiment and refine your settings.

optional_noise_seed

This optional parameter allows you to specify a separate noise seed for the sampling process. It is an integer value and can be used to introduce additional randomness and variation in the generated images.

optional_latent

This optional parameter allows you to provide a latent space representation for the sampling process. It can be used to influence the initial state of the sampling process, potentially leading to more diverse and interesting results.

PreSampling (Custom) Output Parameters:

pipe

The output of this node is the modified pipeline object, which includes all the adjusted pre-sampling settings. This updated pipeline can then be used in subsequent nodes to perform the actual sampling process, ensuring that the generated images reflect the custom pre-sampling adjustments you have made.

PreSampling (Custom) Usage Tips:

  • Experiment with different guider options to see how each method influences the sampling process and the resulting images.
  • Adjust the cfg parameter to find the right balance between creativity and adherence to the prompt, depending on your artistic goals.
  • Use the denoise parameter to reduce noise and artifacts in the generated images, especially if you are aiming for cleaner and more polished results.
  • Set a specific seed value to reproduce consistent results across different runs, making it easier to refine your settings and achieve the desired outcomes.

PreSampling (Custom) Common Errors and Solutions:

"Invalid pipe object"

  • Explanation: The provided pipeline object is not valid or does not contain the necessary components.
  • Solution: Ensure that the pipe parameter is correctly set and contains all the required elements for the sampling process.

"Unsupported guider option"

  • Explanation: The selected guiding method is not supported by the node.
  • Solution: Choose one of the available guiding methods (CFG, DualCFG, IP2P+DualCFG, Basic) for the guider parameter.

"CFG value out of range"

  • Explanation: The cfg parameter value is outside the allowed range.
  • Solution: Set the cfg parameter to a value between 0.0 and 100.0.

"Denoise value out of range"

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

"Invalid seed value"

  • Explanation: The seed parameter value is not within the valid range.
  • Solution: Set the seed parameter to an integer value between 0 and the maximum seed number.

PreSampling (Custom) 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.