H3 Plan Settings (alpha):
H3PlanSettings is a node designed to manage and configure the settings for H3 plans within the ComfyUI framework. This node is integral for defining the parameters that guide the execution of a plan, such as the dimensions of the output, the number of steps involved, and the seed for randomization. It ensures that the plan is executed with the desired settings, allowing for precise control over the output. The node also handles the integration of default overrides and custom settings, making it versatile for various use cases. By managing these settings, H3PlanSettings facilitates the creation of consistent and predictable outputs, which is crucial for AI artists looking to maintain a specific aesthetic or functional outcome in their projects.
H3 Plan Settings (alpha) Input Parameters:
plan_path
The plan_path parameter specifies the file path to the plan document that contains the timeline surface's JSON. This document outlines what the shot should do in terms of seconds and densities. It is crucial for loading the plan into the node for further processing. There are no specific minimum, maximum, or default values for this parameter, as it depends on the user's file system and the location of the plan document.
plan_json
The plan_json parameter allows you to input the plan as a JSON string directly. This is particularly useful when you want to bypass the need for a file and input the plan data directly, such as when pasting from a chat. When both plan_path and plan_json are provided, plan_json takes precedence. There are no specific constraints on this parameter, but it must be a valid JSON string representing the plan.
ignore_uncompiled_lanes
The ignore_uncompiled_lanes parameter is a boolean that determines whether to ignore lanes in the plan that have not been compiled. Setting this to True can be useful if you want to proceed with the plan execution without being halted by uncompiled lanes. The default value is typically False, meaning that uncompiled lanes will not be ignored unless specified otherwise.
H3 Plan Settings (alpha) Output Parameters:
inject
The inject output parameter represents the strength of regeneration applied over the specified number of steps. It is a floating-point value that influences how much the plan's settings are altered during execution. This parameter is crucial for fine-tuning the output to achieve the desired level of modification.
steps
The steps output parameter indicates the number of steps over which the plan is executed. It is an integer value that directly affects the duration and granularity of the plan's execution. More steps generally mean a more detailed and refined output.
seed
The seed output parameter is an integer that serves as the basis for randomization within the plan. By setting a specific seed, you can ensure that the output is reproducible, which is essential for consistency in AI-generated art.
prompt
The prompt output parameter is a string that contains any additional instructions or context for the plan. This can be used to guide the execution of the plan in a specific direction or to provide context for the output.
width
The width output parameter specifies the width of the output in pixels. It is an integer value that, along with the height parameter, defines the dimensions of the output.
height
The height output parameter specifies the height of the output in pixels. It is an integer value that, along with the width parameter, defines the dimensions of the output.
output_prefix
The output_prefix output parameter is a string that serves as a prefix for the output files generated by the plan. This can be used to organize and identify outputs, especially when dealing with multiple plans or iterations.
expand
The expand output parameter is a boolean that indicates whether the plan is intended to expand to the end of the clip. This setting affects how the plan's timeline is managed and can influence the final output's structure.
lines
The lines output parameter is a string that contains a detailed description of the plan's execution, including settings and any relevant notes. This output is useful for documentation and understanding the plan's configuration and execution process.
H3 Plan Settings (alpha) Usage Tips:
- Ensure that your
plan_pathorplan_jsonis correctly specified to avoid loading errors. If both are provided, remember thatplan_jsonwill take precedence. - Use the
seedparameter to maintain consistency across different runs of the same plan, which is particularly useful for iterative design processes. - Adjust the
stepsparameter to control the level of detail in your output. More steps can lead to a more refined result but may increase processing time.
H3 Plan Settings (alpha) Common Errors and Solutions:
H3 Plan Settings: ValueError
- Explanation: This error occurs when there is an issue with the values provided in the plan, such as invalid data types or missing required fields.
- Solution: Check the plan document for any inconsistencies or missing information. Ensure that all required fields are correctly filled and that data types match the expected formats.
FileNotFoundError
- Explanation: This error is raised when the specified
plan_pathdoes not point to a valid file. - Solution: Verify that the file path is correct and that the file exists at the specified location. Double-check for any typos in the file path.
JSONDecodeError
- Explanation: This error occurs when the
plan_jsonstring is not a valid JSON format. - Solution: Ensure that the JSON string is correctly formatted. Use a JSON validator to check for syntax errors or missing brackets.
