Nodes/comfyui-nodes/Symbiotica Reconstruct Cells
ComfyUI Node

Symbiotica Reconstruct Cells

Puts cells back into the sheet they were cut from — Slice Cells read the other way, on the same boxes. Edit each asset on its own, then rebuild the packed layout a style LoRA was trained on, at the same size and the same padding as the sheet that was split.

By symbiotica-ai·Created 5 months ago·Updated 7 days ago· 1
Symbiotica Reconstruct Cells
  • cells
  • masks
  • sheet
cell_boxes
background#808080
canvas_size0
mask_is_transparencytrue
padding_color#000000
Categorysymbiotica/pipeline

Inputs (7)

NameTypeDefaultDescription
cellsIMAGEThe finished sprites, in the order Slice Cells returned them.
cell_boxesSTRINGThe same `cell_boxes` that cut them — from Dataset Reference. The sheet is rebuilt on exactly those boxes.
backgroundSTRING#808080What the gutters and any cell with no sprite are filled with. Match the packed sheets and the result is indistinguishable from one.
canvas_sizeINT00–8192Sheet size, or 0 to recover it from the boxes — the grid is centred, so the margin after the last cell equals the one before the first.
mask_is_transparencyBOOLEANtrueON for ComfyUI's Load Image, whose mask is 1 where the picture is see-through. OFF for a straight alpha channel, where 1 is the art.
padding_colorSTRING#000000What sits OUTSIDE the cells — the gutters and the border. The packer floods the sheet with this and then punches each cell back to the background above, which is what draws the black outline around every cell. Set it to the same colour as the background for no outline at all.
masksoptMASKTransparency for the cells. A loader flattens alpha before this node sees it, so without the mask a transparent sprite lands on a black rectangle instead of the background.

Outputs (1)

NameTypeDescription
sheetIMAGEOne sheet, laid out like the packed one the cells came from.