Visit ComfyUI Online for ready-to-use ComfyUI environment
Select specific AI model checkpoint from list with flexibility for artists to switch between models easily.
The JNodes_CheckpointSelectorWithString node is designed to help you select a specific checkpoint (model) from a list of available checkpoints in your system. This node is particularly useful for AI artists who need to switch between different models for various tasks, such as generating different styles or types of images. The node provides a flexible way to choose a checkpoint either by directly selecting it, using a seed value to randomly pick one, or specifying an index. This versatility ensures that you can easily manage and utilize multiple models without manually searching through your files each time.
This parameter represents the name of the checkpoint (model) you wish to select. It is a required parameter and must be chosen from the list of available checkpoints in your system. The list is dynamically generated based on the files present in the designated checkpoints directory.
The mode parameter determines how the checkpoint is selected. It offers three options: "select", "seed", and "index". The "select" mode allows you to directly choose a checkpoint by name. The "seed" mode uses a seed value to randomly select a checkpoint, providing a way to introduce variability in your model selection. The "index" mode lets you specify an index to pick a checkpoint from the list, which can be useful for automated or sequential selection processes.
The seed parameter is used when the mode is set to "seed". It is an integer value that influences the random selection of a checkpoint. The default value is 0, and it can range up to 0xffffffffffffffff. This parameter is ignored if the mode is set to "select" or "index".
This output parameter returns the name of the selected checkpoint. It is a string that corresponds to the checkpoint chosen based on the input parameters. This output is essential for subsequent nodes that require the checkpoint name to load and use the model.
This output is a string representation of the selected checkpoint name. It serves as a convenient way to pass the checkpoint name as a string to other nodes or processes that may require it.
© Copyright 2024 RunComfy. All Rights Reserved.