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.
https://github.com/bmad4ever/comfyui_lists_cartesian_product
git clone https://github.com/bmad4ever/comfyui_lists_cartesian_product
comfy node install comfyui_lists_cartesian_product