comfyui_lists_cartesian_product

comfyui_lists_cartesian_product
★ 5

列表处理笛卡尔积批量组合参数遍历
将多组列表展开为笛卡尔积的并行列表,生成所有参数组合,便于批量处理和参数遍历。
💡 用于生成多组参数的所有组合以批量执行节点。
🍴 5 Forks💻 JavaScript🔄 2025-11-18
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/86a6deb1b5f6
example workflow
📄 README

Lists Cartesian Product ( ComfyUI custom node )

Given a set of lists, the node adjusts them so that when used as input to another node all the possible argument permutations are computed.

To update the input and output slots, right-click the node and at the top select the option “update I/Os”.

Example

Given the following lists as inputs:

  • Positive_Cond_List_: [ A, B, C]
  • Negative_Cond_List_: [ a, b ]
  • __________CFG_List_: [ 5, 7 ]
  • The outputs are the following:

  • Positive_Cond_List_: [ A, A, A, A, B, B, B, B, C, C, C, C]
  • Negative_Cond_List_: [ a, a, b, b, a, a, b, b, a, a, b, b]
  • __________CFG_List_: [ 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7]
  • Example Workflow

    *image has workflow embedded*