🐳随机批次姿势:
The PoseSelectorBatch node is a powerful tool designed to generate multiple sets of pose combinations, making it an essential asset for AI artists looking to create diverse and dynamic character poses. This node allows you to produce a batch of pose tags, each consisting of a combination of predefined categories such as posture, gesture, and gaze. By leveraging weighted categories and ensuring specific tags are included in each batch, the node provides a high degree of customization and randomness, which can be particularly useful for generating varied outputs in creative projects. The node's ability to handle multiple batches simultaneously makes it efficient for large-scale projects, where generating numerous pose variations is necessary. Overall, PoseSelectorBatch enhances the creative process by offering a structured yet flexible approach to pose generation.
🐳随机批次姿势 Input Parameters:
batch_count
This parameter determines the number of pose batches to generate. It allows you to specify how many sets of pose combinations you want to create in one execution. The minimum value is 1, the maximum is 10, and the default is set to 3. Increasing the batch count will result in more pose variations, which can be useful for exploring different creative directions.
tags_per_batch
This parameter specifies the number of tags to include in each batch. It controls the complexity and detail of each pose combination. The minimum value is 1, the maximum is 10, and the default is 3. Adjusting this parameter allows you to balance between simplicity and richness in the generated poses.
category_weights
This parameter allows you to assign weights to different pose categories, influencing the likelihood of each category being selected during batch generation. The weights should sum up to 1, and the default setting is "综合:0.3, 姿态:0.2, 手势:0.2, 视线:0.1, 整体:0.1, 上半身:0.1". By modifying these weights, you can prioritize certain categories over others, tailoring the output to your specific artistic needs.
ensure_tags
This parameter lets you specify tags that must be included in every batch. It ensures consistency across all generated pose combinations by mandating the presence of certain elements. The default value is "look at viewer", and you can provide multiple tags separated by commas. This feature is particularly useful for maintaining thematic coherence in your artwork.
seed
This parameter sets the seed for the random number generator, allowing for reproducible results. The default value is -1, which means the seed is not fixed, resulting in different outputs each time. By setting a specific seed value, you can ensure that the same pose combinations are generated in subsequent runs, which is useful for debugging or when you want to recreate a specific set of poses.
🐳随机批次姿势 Output Parameters:
batch_1
This output represents the first set of generated pose tags. It contains a string of pose tags that were randomly selected based on the input parameters.
batch_2
This output represents the second set of generated pose tags, similar to batch_1, but with potentially different combinations due to the randomness involved.
batch_3
This output represents the third set of generated pose tags, providing another variation of pose combinations.
batch_4 to batch_10
These outputs continue the pattern established by the first three batches, each containing a unique set of pose tags generated according to the specified parameters. The node can produce up to ten different batches, each offering a distinct combination of poses.
🐳随机批次姿势 Usage Tips:
- To achieve a balanced variety of poses, adjust the
category_weightsto reflect the importance of each category in your project. This will help in generating poses that align with your artistic vision. - Use the
ensure_tagsparameter to maintain consistency across batches, especially if you have specific elements that must be present in every pose. - Experiment with different
seedvalues to explore a wide range of pose combinations, and use a fixed seed when you need to reproduce specific results.
🐳随机批次姿势 Common Errors and Solutions:
Invalid category_weights format
- Explanation: The
category_weightsparameter must be formatted correctly, with categories and weights separated by colons and commas. - Solution: Ensure the format is "category:weight, category:weight" and that the weights sum to 1.
Tags per batch exceeds available tags
- Explanation: The
tags_per_batchvalue is too high, exceeding the number of available tags in the selected categories. - Solution: Reduce the
tags_per_batchvalue or increase the number of available tags by adjusting thecategory_weights.
Seed value out of range
- Explanation: The
seedparameter must be within the specified range. - Solution: Ensure the seed value is between -1 and 2147483647.
