Nodes/Loop Strip/Loop Strip — Center Character
ComfyUI Node

Loop Strip — Center Character

A ComfyUI node in LoopStrip with 7 inputs and 1 output.

By serhiiyashyn-sf·Created 4 months ago·Updated 4 months ago· 0
Loop Strip — Center Character
  • image
  • mask
  • head_mask
  • centered
output_size512
fill_percent0.55
reference_index0
threshold0.12
CategoryLoopStrip

Inputs (7)

NameTypeDefaultDescription
imageIMAGE
output_sizeINT51264–4096Output square size
fill_percentFLOAT0.550.3–0.95How much of the canvas the character fills
maskoptMASKCharacter mask from BiRefNet/RMBG. If not provided, auto-detects from background.
head_maskoptMASKSAM2 mask of the head on ONE reference frame (usually the front view). When provided, centering anchors to feet + fixed head-above-feet offset — works reliably on back/side views where no face is visible.
reference_indexoptINT00–4096Which frame the head_mask corresponds to (usually the front-facing angle).
thresholdoptFLOAT0.120.01–0.5Auto-detection threshold (only used when no mask provided)

Outputs (1)

NameTypeDescription
centeredIMAGE