Visit ComfyUI Online for ready-to-use ComfyUI environment
Select scheduler from predefined list based on modes for easy reference in subsequent processes, simplifying scheduler management.
The JNodes_SchedulerSelectorWithString
node is designed to help you select a scheduler from a predefined list of schedulers used in the sampling process. This node is particularly useful when you need to dynamically choose a scheduler based on different modes such as direct selection, using a seed value, or by index. By providing a string representation of the selected scheduler, it ensures that you can easily reference and utilize the scheduler in subsequent processes. This node simplifies the process of managing and selecting schedulers, making it easier to experiment with different sampling strategies and achieve the desired results in your AI art projects.
This parameter represents the list of available schedulers from which you can select. It is crucial for defining the sampling strategy that will be used in your project. The available schedulers are predefined and provided by the comfy.samplers.KSampler.SCHEDULERS
module.
The mode
parameter determines how the scheduler will be selected. It offers three options: select
, seed
, and index
. When set to select
, the scheduler is chosen directly from the list. When set to seed
, a scheduler is selected based on a seed value, which can be useful for reproducibility. When set to index
, the scheduler is chosen based on its position in the list. This flexibility allows you to choose the most appropriate method for your specific needs.
The seed
parameter is an integer value used when the mode
is set to seed
. It helps in selecting a scheduler based on a pseudo-random process, ensuring that the selection can be reproduced if the same seed is used again. The default value is 0, and it can range up to 0xffffffffffffffff
.
This output provides the selected scheduler object, which can be directly used in subsequent nodes or processes. It represents the actual scheduler that will be applied in the sampling process.
This output provides a string representation of the selected scheduler. This is useful for logging, debugging, or any scenario where you need a human-readable identifier for the chosen scheduler.
seed
mode and provide a specific seed value. This will allow you to recreate the same results in future runs.index
mode to quickly switch between them by changing the index value. This can help you identify the most effective scheduler for your project.mode
parameter must be one of the predefined options: select
, seed
, or index
.mode
parameter is set to either select
, seed
, or index
.seed
parameter must be an integer within the valid range (0 to 0xffffffffffffffff
).comfy.samplers.KSampler.SCHEDULERS
list.© Copyright 2024 RunComfy. All Rights Reserved.