Skip to main content
This node shuffles a list of images and a list of texts together, keeping their pairings intact. It uses a random seed to determine the shuffle order, ensuring the same input lists will be shuffled in the same way each time the seed is reused.

Inputs

ParameterDescriptionData TypeRequiredRange
imagesList of images to shuffle.IMAGEYes-
textsList of texts to shuffle.STRINGYes-
seedRandom seed. The shuffle order is determined by this value (default: 0).INTNo0 to 18446744073709551615
Note: The images and texts inputs must be lists of the same length. The node will pair the first image with the first text, the second image with the second text, and so on, before shuffling these pairs together.

Outputs

Output NameDescriptionData Type
imagesThe shuffled list of images.IMAGE
textsThe shuffled list of texts, maintaining their original pairings with the images.STRING
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 77050e9f7255e64b07bd394908b679acef399d78ec9be7c1346d6f297c109968