ComfyUI Node
BFS Frame Loop Start
Hands out one frame per loop iteration; pair it with BFS Frame Loop End.
BFS Frame Loop Start
- images
- masks
- loop_state
- image
- mask
- index
- count
- loop_state
CategoryBFS/Loop
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The frames to process one by one. | |
| masksopt | MASK | One mask per frame (optional), handed out with its frame. | |
| loop_stateopt | BFS_FRAME_LOOP | Set by Frame Loop End; leave unconnected. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The current frame. |
| mask | MASK | Its mask (zeros when no masks are given). |
| index | INT | Index of the current frame (0-based). |
| count | INT | How many frames the loop runs. |
| loop_state | BFS_FRAME_LOOP | Connect to BFS Frame Loop End. |