> ## 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.

# ImageFromBatch - ComfyUI Built-in Node Documentation

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

`ImageFromBatch` 节点用于根据指定的索引和长度从批次中提取特定图像片段。它允许对批次图像进行更精细的控制，从而能够对较大批次中的单个或子集图像执行操作。

## 输入

| 字段     | 描述                                     | 数据类型    |
| ------ | -------------------------------------- | ------- |
| `图像`   | 将从中提取片段的图像批次。此参数对于指定源批次至关重要。           | `IMAGE` |
| `批次索引` | 批次中开始提取的起始索引。它决定了要从批次中提取的片段的初始位置。      | `INT`   |
| `长度`   | 从 `批次索引` 开始从批次中提取的图像数量。此参数定义了要提取的片段大小。 | `INT`   |

## 输出

| 字段   | 描述                                                 | 数据类型    |
| ---- | -------------------------------------------------- | ------- |
| `图像` | 从指定批次中提取的图像片段。此输出表示原始批次的一个子集，由 `批次索引` 和 `长度` 参数决定。 | `IMAGE` |

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