> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# ShuffleVideoTextDataset - ComfyUI Built-in Node Documentation

> Complete documentation for the ShuffleVideoTextDataset node in ComfyUI. Learn its inputs, outputs, parameters and usage.

This node randomly shuffles the order of video-text pairs, keeping each video paired with its corresponding text. It takes two lists of equal length and applies the same random permutation to both, ensuring that the original pairings are preserved after shuffling.

## Inputs

| Parameter | Description                                              | Data Type | Required | Range                     |
| --------- | -------------------------------------------------------- | --------- | -------- | ------------------------- |
| `videos`  | List of videos to shuffle.                               | VIDEO     | Yes      | List of video items       |
| `texts`   | List of texts to shuffle.                                | STRING    | Yes      | List of text strings      |
| `seed`    | Random seed to control the shuffling order (default: 0). | INT       | Yes      | 0 to 18446744073709551615 |

## Outputs

| Output Name | Description                                         | Data Type |
| ----------- | --------------------------------------------------- | --------- |
| `videos`    | Shuffled videos in the new random order.            | VIDEO     |
| `texts`     | Shuffled texts in the same new order as the videos. | STRING    |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ShuffleVideoTextDataset/en.md)

***

**Source fingerprint (SHA-256):** `33b763a6d48ca1036d5267139f90eadb3b2080a02fa57ce5bcae6087a077efa1`
