Nodes/ComfyUI-BFSNodes/BFS XY Sweep
ComfyUI Node

BFS XY Sweep

BFS XY Sweep: run any workflow over a grid of widget values and get one labeled grid back.

By alisson-anjos·Created 8 months ago·Updated a day ago· 137
BFS XY Sweep
  • result
  • grid
  • results
  • labels
◄frames_per_cell4►
◄cell_height256►
◄save_videostrue►
◄fps24.00►
◄sweep{}►
CategoryBFS/Loop

Inputs (6)

NameTypeDefaultDescription
resultIMAGEThe image or decoded video to compare; the sweep runs everything upstream of it.
frames_per_cellINT41–16For videos: how many frames (evenly spread) each cell shows.
cell_heightINT25664–1024—
save_videosBOOLEANtrueSave every multi-frame result as an mp4 in output/bfs_sweep/, named by its values.
fpsFLOAT24.001–120—
sweepSTRING{}Set by the panel: the swept widgets and their values.

Outputs (3)

NameTypeDescription
gridIMAGEThe labeled grid.
resultsIMAGEEvery result (the cells' frames), resized to one size.
labelsSTRINGJSON: the values of every cell, in order.