> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.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.

The `ImageFromBatch` node is designed for extracting a specific segment of images from a batch based on the provided index and length. It allows for more granular control over the batched images, enabling operations on individual or subsets of images within a larger batch.

## Inputs

| Field         | Description                                                                                                                                             | Data Type |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `image`       | The batch of images from which a segment will be extracted. This parameter is crucial for specifying the source batch.                                  | `IMAGE`   |
| `batch_index` | The starting index within the batch from which the extraction begins. It determines the initial position of the segment to be extracted from the batch. | `INT`     |
| `length`      | The number of images to extract from the batch starting from the batch\_index. This parameter defines the size of the segment to be extracted.          | `INT`     |

## Outputs

| Field   | Description                                                                                                                                                            | Data Type |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `image` | The extracted segment of images from the specified batch. This output represents a subset of the original batch, determined by the batch\_index and length parameters. | `IMAGE`   |

> 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/ImageFromBatch/en.md)
