779 B
779 B
TextListProduct
Create a cartesian product from two text lists and join each pair with the selected separator.
Inputs
text_a: First multiline text listtext_b: Second multiline text listseparator: String inserted between paired itemsmax_results: Maximum number of generated combinations.0means unlimited.
Behavior
- Each non-empty line is treated as one item in the list.
- The node combines every item from
text_awith every item fromtext_b. - Output order follows normal cartesian product order.
Usage
Use this node when you want to build prompt variations such as:
- subject x hairstyle
- subject x location
- pose x camera angle
It works well with nodes that consume multiline text, such as line loaders and prompt list nodes.