ComfyUI Node
Loop Strip — Center Character
A ComfyUI node in LoopStrip with 7 inputs and 1 output.
Loop Strip — Center Character
- image
- mask
- head_mask
- centered
◄output_size512►
◄fill_percent0.55►
◄reference_index0►
◄threshold0.12►
CategoryLoopStrip
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| output_size | INT | 51264–4096 | Output square size |
| fill_percent | FLOAT | 0.550.3–0.95 | How much of the canvas the character fills |
| maskopt | MASK | Character mask from BiRefNet/RMBG. If not provided, auto-detects from background. | |
| head_maskopt | MASK | SAM2 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_indexopt | INT | 00–4096 | Which frame the head_mask corresponds to (usually the front-facing angle). |
| thresholdopt | FLOAT | 0.120.01–0.5 | Auto-detection threshold (only used when no mask provided) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| centered | IMAGE | — |