657 B
657 B
TextListProductWithSingleA
Variant of TextListProduct that also keeps single items from list A.
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
- Works like
TextListProduct. - Also includes outputs where items from
text_aare used by themselves. - Useful when one side should be optional.
Usage
Use this when you want outputs such as:
1girl1girl, blonde_hair1girl, crown
without manually adding blank lines to list B or rewriting prompts.