ComfyUI > Nodes > Comfyroll Studio > 📉 CR XY List

ComfyUI Node: 📉 CR XY List

Class Name

CR XY List

Category
🧩 Comfyroll Studio/✨ Essential/📉 XY Grid
Author
Suzie1 (Account age: 2158days)
Extension
Comfyroll Studio
Latest Updated
2024-06-05
Github Stars
0.49K

How to Install Comfyroll Studio

Install this extension via the ComfyUI Manager by searching for Comfyroll Studio
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyroll Studio 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

📉 CR XY List Description

Facilitates Cartesian product creation from two lists for AI art projects, streamlining complex parameter combinations.

📉 CR XY List:

The CR XY List node is designed to facilitate the creation of a Cartesian product from two lists of values, which can be particularly useful in generating combinations for various AI art projects. This node allows you to combine elements from two separate lists, applying optional prefixes and suffixes to each element, and generating annotations for the resulting combinations. The primary goal of this node is to streamline the process of creating complex combinations of parameters, which can be used in various creative and technical applications, such as generating multiple variations of an image or text based on different input parameters.

📉 CR XY List Input Parameters:

list1

This parameter represents the first list of values to be combined. Each value in the list should be separated by a comma. The values will be paired with those in the second list to create the Cartesian product. There are no specific minimum or maximum values, but the list should be formatted correctly to ensure proper execution.

list2

This parameter represents the second list of values to be combined. Similar to list1, each value should be separated by a comma. The values in this list will be paired with those in the first list to create the Cartesian product. Proper formatting is essential for accurate results.

x_prepend

This parameter allows you to specify a string that will be prefixed to each value from list1 in the output. This can be useful for adding context or additional information to the generated combinations. The default value is an empty string.

x_append

This parameter allows you to specify a string that will be appended to each value from list1 in the output. This can be useful for adding context or additional information to the generated combinations. The default value is an empty string.

x_annotation_prepend

This parameter allows you to specify a string that will be prefixed to each value from list1 in the annotation output. This can be useful for adding context or additional information to the annotations. The default value is an empty string.

y_prepend

This parameter allows you to specify a string that will be prefixed to each value from list2 in the output. This can be useful for adding context or additional information to the generated combinations. The default value is an empty string.

y_append

This parameter allows you to specify a string that will be appended to each value from list2 in the output. This can be useful for adding context or additional information to the generated combinations. The default value is an empty string.

y_annotation_prepend

This parameter allows you to specify a string that will be prefixed to each value from list2 in the annotation output. This can be useful for adding context or additional information to the annotations. The default value is an empty string.

index

This parameter specifies the index of the combination to be generated. The index starts from 1 and determines which specific combination of values from list1 and list2 will be output. The default value is 1, and it should be within the range of the total number of combinations.

📉 CR XY List Output Parameters:

x_out

This output parameter provides the combined value from list1 with the specified x_prepend and x_append strings applied. It represents one part of the Cartesian product.

y_out

This output parameter provides the combined value from list2 with the specified y_prepend and y_append strings applied. It represents the other part of the Cartesian product.

x_ann_out

This output parameter provides the annotation for the values from list1 with the specified x_annotation_prepend string applied. It is useful for adding context or additional information to the annotations.

y_ann_out

This output parameter provides the annotation for the values from list2 with the specified y_annotation_prepend string applied. It is useful for adding context or additional information to the annotations.

trigger

This output parameter is a boolean value that indicates whether the current combination is the last one in the Cartesian product. It can be used to trigger additional actions or processes once all combinations have been generated.

show_help

This output parameter provides a URL to the documentation or help page for the CR XY List node. It is useful for users who need additional information or guidance on using the node.

📉 CR XY List Usage Tips:

  • Ensure that the values in list1 and list2 are properly formatted and separated by commas to avoid errors in generating the Cartesian product.
  • Utilize the x_prepend, x_append, y_prepend, and y_append parameters to add context or additional information to the generated combinations, which can be helpful in organizing and interpreting the results.
  • Use the index parameter to generate specific combinations from the Cartesian product, which can be useful for iterating through combinations in a controlled manner.

📉 CR XY List Common Errors and Solutions:

Index out of range

  • Explanation: The specified index parameter is outside the range of the total number of combinations.
  • Solution: Ensure that the index value is within the valid range, starting from 1 up to the total number of combinations.

Invalid list format

  • Explanation: The values in list1 or list2 are not properly formatted or separated by commas.
  • Solution: Check the formatting of the input lists and ensure that each value is separated by a comma.

Missing required parameters

  • Explanation: One or more required input parameters are not provided.
  • Solution: Ensure that all required input parameters are specified and correctly formatted before executing the node.

📉 CR XY List Related Nodes

Go back to the extension to check out more related nodes.
Comfyroll Studio
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.