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

# ShuffleImageTextDataset - ComfyUI Built-in Node Documentation

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

此节点将图像列表和文本列表一起打乱，保持它们的配对关系不变。它使用随机种子来确定打乱顺序，确保相同的输入列表在重复使用相同种子时以相同方式打乱。

## 输入

| 参数    | 描述                     | 数据类型   | 是否必填 | 范围                       |
| ----- | ---------------------- | ------ | ---- | ------------------------ |
| `图像`  | 要打乱的图像列表。              | IMAGE  | 是    | -                        |
| `文本`  | 要打乱的文本列表。              | STRING | 是    | -                        |
| `随机种` | 随机种子。打乱顺序由此值决定（默认值：0）。 | INT    | 否    | 0 到 18446744073709551615 |

**注意：** `images` 和 `texts` 输入必须是长度相同的列表。该节点会将第一张图像与第一个文本配对，第二张图像与第二个文本配对，依此类推，然后将这些配对一起打乱。

## 输出

| 输出名称 | 描述                     | 数据类型   |
| ---- | ---------------------- | ------ |
| `文本` | 打乱后的图像列表。              | IMAGE  |
| `文本` | 打乱后的文本列表，保持与图像的原始配对关系。 | STRING |

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

***

**Source fingerprint (SHA-256):** `c87cef780c98b1cf2a58a7d5faf4399c85edd647a9fdba693d008152e43d9c99`
