> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ShuffleDataset - ComfyUI Built-in Node Documentation

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

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ShuffleDataset/zh.md)

Shuffle Dataset 节点接收一个图像列表并随机改变它们的顺序。它使用种子值来控制随机性，确保可以重现相同的洗牌顺序。这在处理前对数据集中的图像序列进行随机化时非常有用。

## 输入参数

| 参数       | 数据类型  | 必填 | 取值范围                     | 描述                                 |
| -------- | ----- | -- | ------------------------ | ---------------------------------- |
| `images` | IMAGE | 是  | -                        | 待洗牌的图像列表。                          |
| `seed`   | INT   | 否  | 0 到 18446744073709551615 | 随机种子。值为 0 时，每次都会产生不同的洗牌顺序。(默认值: 0) |

## 输出结果

| 输出名称     | 数据类型  | 描述                        |
| -------- | ----- | ------------------------- |
| `images` | IMAGE | 相同的图像列表，但处于一个新的、随机洗牌后的顺序。 |
