ComfyUI > Nodes > ComfyUI Inspire Pack > Global Sampler (Inspire)

ComfyUI Node: Global Sampler (Inspire)

Class Name

GlobalSampler __Inspire

Category
InspirePack/Prompt
Author
Dr.Lt.Data (Account age: 471days)
Extension
ComfyUI Inspire Pack
Latest Updated
2024-07-02
Github Stars
0.3K

How to Install ComfyUI Inspire Pack

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

Global Sampler (Inspire) Description

Enhance AI art generation with advanced sampling control for high-quality, unique outputs.

Global Sampler (Inspire):

The GlobalSampler __Inspire node is designed to enhance your AI art generation process by providing advanced sampling capabilities. This node allows you to control various aspects of the sampling process, such as the number of steps, noise addition, and conditioning, to achieve the desired artistic effect. By leveraging sophisticated algorithms and customizable parameters, GlobalSampler __Inspire ensures that you can fine-tune the generation process to produce high-quality and unique outputs. Its primary goal is to offer flexibility and precision in the sampling phase, making it an essential tool for AI artists looking to push the boundaries of their creative projects.

Global Sampler (Inspire) Input Parameters:

model

This parameter specifies the model to be used for the sampling process. It is a required input and ensures that the node operates with the correct AI model for generating the desired output.

add_noise

This boolean parameter determines whether noise should be added during the sampling process. Enabling this option can introduce variability and texture to the generated images. The default value is True, with "enable" and "disable" labels for easy toggling.

noise_seed

This integer parameter sets the seed for noise generation, ensuring reproducibility of results. The default value is 0, with a range from 0 to 0xffffffffffffffff.

steps

This integer parameter defines the number of steps to be taken during the sampling process. More steps can lead to finer details in the output. The default value is 20, with a minimum of 1 and a maximum of 10000.

cfg

This float parameter controls the classifier-free guidance scale, influencing the balance between creativity and adherence to the prompt. The default value is 8.0, with a range from 0.0 to 100.0, adjustable in steps of 0.5 and rounded to 0.01.

sampler_name

This parameter specifies the name of the sampler to be used. It is a required input and ensures that the appropriate sampling algorithm is applied.

scheduler

This parameter sets the scheduler for the sampling process, determining the sequence and timing of steps. It is a required input to guide the sampling progression.

positive

This conditioning parameter provides positive guidance to the model, helping to steer the generated output towards desired characteristics. It is a required input.

negative

This conditioning parameter provides negative guidance to the model, helping to steer the generated output away from undesired characteristics. It is a required input.

latent_image

This parameter represents the latent image to be used as the starting point for the sampling process. It is a required input.

start_at_step

This integer parameter specifies the step at which the sampling process should start. The default value is 0, with a range from 0 to 10000.

end_at_step

This integer parameter specifies the step at which the sampling process should end. The default value is 10000, with a range from 0 to 10000.

noise_mode

This parameter determines the mode of noise application, with options such as "GPU(=A1111)" and "CPU". It allows you to choose the computational resource for noise generation.

return_with_leftover_noise

This boolean parameter decides whether to return the output with leftover noise. The default value is False, with "enable" and "disable" labels for easy toggling.

interval

This integer parameter sets the interval at which progress updates are provided during the sampling process. The default value is 1, with a range from 1 to 10000.

omit_start_latent

This boolean parameter determines whether to omit the starting latent image from the results. The default value is False, with "True" and "False" labels for easy toggling.

prev_progress_latent_opt

This optional parameter allows you to provide a previous progress latent image, which can be used to continue or refine the sampling process.

scheduler_func_opt

This optional parameter allows you to specify a custom scheduler function, providing additional flexibility in controlling the sampling process.

Global Sampler (Inspire) Output Parameters:

latent_image

This output parameter represents the final latent image generated by the sampling process. It is the primary result of the node's operation and can be further processed or converted into a visual output.

result

This output parameter contains the intermediate results collected during the sampling process. It provides insights into the progression of the sampling and can be used for analysis or further refinement.

Global Sampler (Inspire) Usage Tips:

  • Experiment with the steps parameter to find the optimal balance between detail and computational efficiency for your specific project.
  • Use the cfg parameter to adjust the level of adherence to the prompt, allowing for more creative freedom or stricter guidance as needed.
  • Leverage the positive and negative conditioning parameters to fine-tune the characteristics of the generated output, ensuring it aligns with your artistic vision.

Global Sampler (Inspire) Common Errors and Solutions:

"Model not specified"

  • Explanation: The model parameter is required but not provided.
  • Solution: Ensure that you specify a valid model for the sampling process.

"Invalid noise seed value"

  • Explanation: The noise_seed parameter is out of the acceptable range.
  • Solution: Provide a noise seed value within the range of 0 to 0xffffffffffffffff.

"Steps value out of range"

  • Explanation: The steps parameter is set to a value outside the allowed range.
  • Solution: Adjust the steps parameter to be within the range of 1 to 10000.

"Invalid CFG value"

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

"Scheduler not specified"

  • Explanation: The scheduler parameter is required but not provided.
  • Solution: Ensure that you specify a valid scheduler for the sampling process.

Global Sampler (Inspire) Related Nodes

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