🐳Clothing Random Batch:
The ClothingSelectorBatch node is designed to generate multiple sets of clothing combinations, offering a versatile tool for creating diverse fashion ensembles. This node is particularly beneficial for AI artists and designers who wish to explore a variety of clothing styles and combinations without manually selecting each piece. By leveraging predefined style presets and customizable category weights, the node can produce random yet coherent clothing batches that align with specific fashion themes or personal preferences. The node's ability to incorporate essential tags ensures that certain clothing items are always included, providing a balance between randomness and user control. Overall, the ClothingSelectorBatch node serves as a powerful asset for generating creative and varied clothing suggestions efficiently.
🐳Clothing Random Batch Input Parameters:
batch_count
This parameter determines the number of clothing batches to generate. It allows you to specify how many different sets of clothing combinations you want to create in one execution. The minimum value is 1, the maximum is 10, and the default is set to 1.
tags_per_batch
This parameter specifies the number of clothing tags to include in each batch. It controls the complexity and variety of each clothing combination. The minimum value is 1, the maximum is 10, and the default is set to 3.
category_weights
This parameter allows you to define the weight or importance of each clothing category in the selection process. It is a string formatted as "category:weight", where the sum of all weights should equal 1. This influences the likelihood of each category being selected in the clothing batches. The default value is "连衣裙:0.2, 上衣:0.2, 下装:0.2, 泳装:0.1, 运动装:0.1, 内衣:0.1, 外套:0.05, 特殊服装:0.05".
style_preset
This parameter provides a selection of predefined style presets that influence the clothing selection process. Options include "随机" (Random), "休闲" (Casual), "正装" (Formal), "运动" (Sporty), "性感" (Sexy), and "日常" (Everyday). The default option is "随机", which applies no specific style bias.
ensure_tags
This parameter allows you to specify certain tags that must be included in every clothing batch. It is a comma-separated string of tags, ensuring that specific clothing items are always part of the generated combinations. The default value is an empty string, meaning no mandatory tags are set.
seed
This parameter sets the seed for the random number generator, ensuring reproducibility of results. A value of -1 indicates that the seed is not set, allowing for different results each time. The minimum value is -1, the maximum is 2147483647, and the default is -1.
🐳Clothing Random Batch Output Parameters:
batch_1
This output represents the first generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_2
This output represents the second generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_3
This output represents the third generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_4
This output represents the fourth generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_5
This output represents the fifth generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_6
This output represents the sixth generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_7
This output represents the seventh generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_8
This output represents the eighth generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_9
This output represents the ninth generated clothing batch, containing a set of clothing tags based on the input parameters.
batch_10
This output represents the tenth generated clothing batch, containing a set of clothing tags based on the input parameters.
🐳Clothing Random Batch Usage Tips:
- To ensure specific clothing items are always included in your batches, use the
ensure_tagsparameter to specify mandatory tags. - Experiment with different
style_presetoptions to quickly generate clothing combinations that fit a particular theme or occasion. - Adjust the
category_weightsto emphasize certain clothing categories over others, allowing for more tailored and thematic batch generation.
🐳Clothing Random Batch Common Errors and Solutions:
Invalid category_weights format
- Explanation: The
category_weightsparameter must be formatted correctly as "category:weight" pairs, and the weights should sum to 1. - Solution: Double-check the format and ensure that all weights add up to 1. Correct any syntax errors in the string.
Seed value out of range
- Explanation: The
seedparameter must be within the specified range of -1 to 2147483647. - Solution: Ensure the seed value is within the acceptable range. If you want random results, use the default value of -1.
Exceeding maximum batch count
- Explanation: The
batch_countparameter exceeds the maximum allowed value of 10. - Solution: Reduce the
batch_countto 10 or fewer to comply with the node's constraints.
