ComfyUI > Nodes > Efficiency Nodes for ComfyUI Version 2.0+ > XY Input: Control Net Plot

ComfyUI Node: XY Input: Control Net Plot

Class Name

XY Input: Control Net Plot

Category
Efficiency Nodes/XY Inputs
Author
jags111 (Account age: 3922days)
Extension
Efficiency Nodes for ComfyUI Version 2.0+
Latest Updated
2024-08-07
Github Stars
0.83K

How to Install Efficiency Nodes for ComfyUI Version 2.0+

Install this extension via the ComfyUI Manager by searching for Efficiency Nodes for ComfyUI Version 2.0+
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Efficiency Nodes for ComfyUI Version 2.0+ in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

XY Input: Control Net Plot Description

Facilitates systematic parameter variation for Control Net XY plots in AI art generation workflows.

XY Input: Control Net Plot:

The XY Input: Control Net Plot node is designed to facilitate the generation of XY plots for Control Net parameters in AI art generation workflows. This node allows you to systematically vary specific parameters of the Control Net, such as strength, start percent, and end percent, across multiple batches. By doing so, it helps in visualizing the impact of these parameters on the generated images, enabling you to fine-tune and optimize your Control Net settings for better results. The node is particularly useful for artists and developers who want to experiment with different configurations and understand how each parameter influences the final output. It provides a structured approach to parameter exploration, making it easier to achieve the desired artistic effects.

XY Input: Control Net Plot Input Parameters:

control_net

This parameter represents the Control Net model that will be used for generating the images. It is essential for defining the neural network that will process the input images and apply the specified transformations.

image

This parameter is the input image that will be processed by the Control Net. It serves as the base image on which the Control Net parameters will be applied.

strength

This parameter controls the intensity of the Control Net's effect on the input image. A higher strength value will result in a more pronounced effect, while a lower value will produce a subtler transformation. The range is typically from 0 to 1, with a default value that depends on the specific use case.

start_percent

This parameter defines the starting percentage of the Control Net's effect. It determines at what point in the image processing the Control Net begins to apply its transformations. The value ranges from 0 to 100, with a default value that varies based on the specific application.

end_percent

This parameter specifies the ending percentage of the Control Net's effect. It indicates when the Control Net should stop applying its transformations. The value ranges from 0 to 100, with a default value that depends on the use case.

plot_type

This parameter determines the type of plot to be generated. It is a string that specifies the X and Y axes of the plot, separated by a comma. For example, "strength: start_percent, end_percent" would plot the strength against the start and end percentages.

X_batch_count

This parameter defines the number of batches for the X-axis parameter. It determines how many different values of the X-axis parameter will be tested. The minimum value is 1, and there is no strict maximum, but higher values will increase computation time.

X_first_value

This parameter specifies the first value of the X-axis parameter. It sets the starting point for the X-axis parameter's range.

X_last_value

This parameter specifies the last value of the X-axis parameter. It sets the endpoint for the X-axis parameter's range.

Y_batch_count

This parameter defines the number of batches for the Y-axis parameter. It determines how many different values of the Y-axis parameter will be tested. The minimum value is 1, and there is no strict maximum, but higher values will increase computation time.

Y_first_value

This parameter specifies the first value of the Y-axis parameter. It sets the starting point for the Y-axis parameter's range.

Y_last_value

This parameter specifies the last value of the Y-axis parameter. It sets the endpoint for the Y-axis parameter's range.

cnet_stack

This optional parameter allows you to provide additional Control Net configurations that will be applied to each batch. It is useful for stacking multiple Control Net effects.

XY Input: Control Net Plot Output Parameters:

x_entry

This output parameter is a tuple containing the X-axis parameter name and its corresponding values. It represents the varied values of the X-axis parameter across the specified batches.

y_entry

This output parameter is a tuple containing the Y-axis parameter name and its corresponding values. It represents the varied values of the Y-axis parameter across the specified batches.

cnet_stack

This output parameter is the extended Control Net stack, if provided. It includes the additional configurations applied to each batch.

XY Input: Control Net Plot Usage Tips:

  • Experiment with different strength values to see how the intensity of the Control Net's effect changes the output image.
  • Use start_percent and end_percent to control the timing of the Control Net's effect, which can be particularly useful for animations or progressive transformations.
  • Adjust X_batch_count and Y_batch_count to balance between the granularity of the parameter exploration and the computation time required.

XY Input: Control Net Plot Common Errors and Solutions:

"Batch count must be greater than 0"

  • Explanation: This error occurs when the X_batch_count or Y_batch_count is set to 0.
  • Solution: Ensure that both X_batch_count and Y_batch_count are set to values greater than 0.

"Invalid plot type format"

  • Explanation: This error occurs when the plot_type parameter is not formatted correctly.
  • Solution: Ensure that the plot_type parameter is a string in the format "x_type: y_type".

"Control Net model not specified"

  • Explanation: This error occurs when the control_net parameter is not provided.
  • Solution: Make sure to specify a valid Control Net model in the control_net parameter.

XY Input: Control Net Plot Related Nodes

Go back to the extension to check out more related nodes.
Efficiency Nodes for ComfyUI Version 2.0+
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.