EasyUse/XY Inputsgenerated

XY Inputs: Steps //EasyUse(XYplot_Steps)

XY Inputs: Steps //EasyUse node from ComfyUI-Easy-Use.

X Yplot Steps

X or Y
target_parameter
COMBO
batch_count
3
first_step
10
last_step
20
first_start_step
0
last_start_step
10
first_end_step
10
last_end_step
20
Easy Use

Description

XY Inputs: Steps //EasyUse builds the X_Y data needed to run a parameter sweep over step-related sampler settings. It is part of the EasyUse/XY Inputs category and is meant to be connected to an XY Plot node.

The node takes a target_parameter selection and creates a list of step values by spreading batch_count samples across the selected range. The range is defined by one of the three first_* / last_* input pairs, corresponding to the sampler's total steps, start_step, and end_step settings. The unused range inputs are ignored.

Inputs

All inputs are required.

  • target_parameter (COMBO): Selects which step-related sampler field is swept. The available options determine whether the node uses the first_step/last_step, first_start_step/last_start_step, or first_end_step/last_end_step pair.

  • batch_count (INT, default=3, min=0, max=50): How many values to generate for the chosen parameter. The values are spread between the selected first_* and last_* bounds. A value of 0 produces no points.

  • first_step (INT, default=10, min=1, max=10000): Lower bound of the sweep when target_parameter is the total step count.

  • last_step (INT, default=20, min=1, max=10000): Upper bound of the sweep when target_parameter is the total step count.

  • first_start_step (INT, default=0, min=0, max=10000): Lower bound of the sweep when target_parameter is the sampler's start_step.

  • last_start_step (INT, default=10, min=0, max=10000): Upper bound of the sweep when target_parameter is the sampler's start_step.

  • first_end_step (INT, default=10, min=0, max=10000): Lower bound of the sweep when target_parameter is the sampler's end_step.

  • last_end_step (INT, default=20, min=0, max=10000): Upper bound of the sweep when target_parameter is the sampler's end_step.

Outputs

  • X_Y (X_Y): A combined X/Y data object for XY Plot nodes. It contains the generated step values as the sweep axis; the other axis is left as a single placeholder so the sweep runs as a one-dimensional comparison.

Usage Notes

  • Connect the X_Y output to an XY Plot node to run the sweep. This node only generates the parameter list; it does not execute sampling.

  • The generated values are intended to be used as the sampler's steps, start_step, or end_step parameter, depending on target_parameter. Make sure the values are valid for the sampler you use. For example, start_step should normally be less than end_step, and both should be within the sampler's total step count.

  • The range inputs for the non-selected target are ignored, so you can leave them at their defaults when sweeping a single parameter.

  • Use batch_count to control the resolution of the sweep: more values produce a finer comparison but take longer to run.

Comments

Sign in with GitHub to join the discussion.

Loading comments…