ComfyUI Node
BFS XY Sweep
BFS XY Sweep: run any workflow over a grid of widget values and get one labeled grid back.
BFS XY Sweep
- result
- grid
- results
- labels
◄frames_per_cell4►
◄cell_height256►
◄save_videostrue►
◄fps24.00►
◄sweep{}►
CategoryBFS/Loop
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| result | IMAGE | The image or decoded video to compare; the sweep runs everything upstream of it. | |
| frames_per_cell | INT | 41–16 | For videos: how many frames (evenly spread) each cell shows. |
| cell_height | INT | 25664–1024 | — |
| save_videos | BOOLEAN | true | Save every multi-frame result as an mp4 in output/bfs_sweep/, named by its values. |
| fps | FLOAT | 24.001–120 | — |
| sweep | STRING | {} | Set by the panel: the swept widgets and their values. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| grid | IMAGE | The labeled grid. |
| results | IMAGE | Every result (the cells' frames), resized to one size. |
| labels | STRING | JSON: the values of every cell, in order. |