ComfyUI Node
Tensor Loop Close
A ComfyUI node in looping/accumulation with 5 inputs and 1 output.
Tensor Loop Close
- flow_control
- processed
- output
◄accumulatetrue►
◄overlap▾►
◄stopfalse►
Categorylooping/accumulation
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| flow_control | FLOW_CONTROL | — | |
| processed | COMFY_MATCHTYPE_V3 | Output generated this iteration. | |
| accumulate | BOOLEAN | true | When enabled, collects all iterations into a batch. When disabled, only outputs the final iteration's result. |
| overlap | COMBO | How to handle duplicate frames where consecutive iterations overlap (e.g. context frames a video model re-generates). - disabled: keep every frame as-is - start/end: cut the duplicates from the start or end of each iteration's output - fade_linear/fade_smooth: crossfade the end of each iteration into the start of the next | |
| stopopt | BOOLEAN | false | Optional early stop signal from inside the loop body. When True, the loop stops after the current iteration regardless of remaining iterations or total_frames target. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | COMFY_MATCHTYPE_V3 | Accumulated batch or final iteration result, depending on 'accumulate' setting. |