ComfyUI Node
Pad Still to Pose
Crops the figure out of a side still on plain white, scales it to the pose figure's height and pastes it on a white 768x768 canvas, so SCAIL starts from the same framing as pose frame 0. cx = horizontal centre, y0/y1 = top/bottom of the figure on the 768 canvas. keep_size: no resampling, a bigger square canvas instead. mode 'auto' reads cx/y0/y1 off pose frame 0 (connect pose_frames) with the head/feet margins.
Pad Still to Pose
- image
- pose_frames
- padded
- info
◄cx384.0►
◄y040►
◄y1691►
◄keep_sizefalse►
◄modemanual►
◄head_margin0.067►
◄feet_margin0.022►
CategoryPosed Sprite Sheet
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | side still, figure on plain white | |
| cx | FLOAT | 384.0-4096–4096 | — |
| y0 | INT | 40-4096–4096 | — |
| y1 | INT | 691-4096–4096 | — |
| keep_size | BOOLEAN | false | — |
| mode | COMBO | manual | 2 options: manual, auto from pose frame 0 |
| pose_framesopt | IMAGE | only for mode auto: the pose frames (frame 0 is used) | |
| head_marginopt | FLOAT | 0.0670–1 | — |
| feet_marginopt | FLOAT | 0.0220–1 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| padded | IMAGE | — |
| info | STRING | — |