openclaw: Batch Variants:
MoltbotBatchVariants is a powerful node designed to generate deterministic variants for batch processing, making it an essential tool for AI artists looking to explore multiple creative possibilities efficiently. This node allows you to create a series of variations based on a set of input parameters, ensuring that each variant is generated in a controlled and predictable manner. By leveraging different seed and variant policies, you can explore a wide range of artistic expressions while maintaining consistency across your batch outputs. The node's primary goal is to streamline the process of generating multiple outputs from a single input set, providing you with the flexibility to experiment with different configurations and achieve the desired artistic effects.
openclaw: Batch Variants Input Parameters:
positive
The positive parameter is a multiline string input that represents the positive prompt or description you want to use for generating variants. This input serves as the foundation for the creative output, guiding the AI in producing images or content that align with the specified theme or concept.
negative
The negative parameter is a multiline string input that specifies the negative prompt or description. It helps the AI understand what elements or themes to avoid in the generated variants, allowing for more refined and targeted outputs.
count
The count parameter is an integer that determines the number of variants to generate. It ranges from a minimum of 1 to a maximum of 100, with a default value of 4. This parameter directly impacts the number of outputs you will receive, enabling you to control the extent of your batch processing.
seed_base
The seed_base parameter is an integer that serves as the starting point for seed generation. It ranges from 0 to 0xFFFFFFFFFFFFFFFF, with a default value of 0. This parameter is crucial for ensuring the reproducibility of your results, as it influences the randomization process used in generating variants.
seed_policy
The seed_policy parameter offers three options: fixed, increment, and randomized, with increment as the default. This parameter dictates how the seed value is managed across the batch, affecting the consistency and variation of the generated outputs.
variant_policy
The variant_policy parameter provides options such as none, cfg_sweep, steps_sweep, and size_sweep, with none as the default. This parameter determines the type of variation applied to the generated outputs, allowing you to explore different configurations like configuration sweeps, step adjustments, or size changes.
params_json
The params_json parameter is an optional multiline string that allows you to input additional parameters in JSON format. It defaults to an empty JSON object ({}). This parameter provides flexibility for advanced users to customize the generation process further by specifying additional settings.
sweep_start
The sweep_start parameter is a float that sets the starting value for any sweep operations, with a default of 0.0 and a step of 0.1. It is used in conjunction with the variant_policy to define the range of variation applied to the generated outputs.
sweep_end
The sweep_end parameter is a float that sets the ending value for sweep operations, mirroring the sweep_start parameter with a default of 0.0 and a step of 0.1. It completes the range definition for any sweep-based variations, ensuring a controlled exploration of parameter space.
openclaw: Batch Variants Output Parameters:
positive_list
The positive_list output is a list of strings that contains the positive prompts used for each generated variant. This output allows you to track and review the specific prompts that guided the creation of each variant, providing insight into the creative process.
negative_list
The negative_list output is a list of strings that includes the negative prompts applied to each variant. This output helps you understand the constraints and exclusions that shaped the final outputs, offering a comprehensive view of the generation parameters.
params_json_list
The params_json_list output is a list of JSON strings that detail the parameters used for each variant. This output is essential for documenting the specific settings and configurations applied during the batch generation, enabling reproducibility and further experimentation.
openclaw: Batch Variants Usage Tips:
- Experiment with different
seed_policysettings to achieve varying levels of consistency and diversity in your outputs. For instance, usingincrementcan help maintain a coherent theme across variants, whilerandomizedintroduces more variation. - Utilize the
variant_policyoptions to explore different aspects of your creative process. For example,cfg_sweepcan help you fine-tune configuration settings, whilesize_sweepallows you to experiment with different output dimensions.
openclaw: Batch Variants Common Errors and Solutions:
Invalid JSON in params_json
- Explanation: This error occurs when the
params_jsoninput contains improperly formatted JSON data. - Solution: Ensure that the JSON string is correctly formatted, with proper syntax and structure. Use a JSON validator to check for errors before inputting the data.
Seed value out of range
- Explanation: This error arises when the
seed_basevalue exceeds the allowed range. - Solution: Verify that the
seed_basevalue is within the specified range of 0 to 0xFFFFFFFFFFFFFFFF. Adjust the value accordingly to fit within this range.
