ComfyUI Node
Fit Track to Character
Re-proportions a source skeleton track to a character: every bone keeps its direction per frame and takes the character's bone length (measured on the character's DWPose keypoints), the move is placed on a canvas of width 'canvas' and height 1024 + pad_top, and the hips are held at hip_x (fixed_shift: one shift for the whole clip, for walks). Character keypoints: connect a DWPose POSE_KEYPOINT, or give the keypoints json file (relative to ComfyUI/input).
Fit Track to Character
- track
- char_keypoints
- fitted_track
- check
- fit_info
◄char_keypoints_jsonscail_cop/cop/cop_keypoints.json►
◄canvas768►
◄hip_x384►
◄fixed_shiftfalse►
◄pad_top0►
◄scale_frame0►
CategoryPosed Sprite Sheet
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| track | PSS_SCAIL_TRACK | source track (needs keypoints, feet and contact) | |
| char_keypoints_json | STRING | scail_cop/cop/cop_keypoints.json | used when char_keypoints is not connected |
| canvas | INT | 76864–8192 | canvas width; the height is 1024 + pad_top |
| hip_x | FLOAT | 384-8192–8192 | — |
| fixed_shift | BOOLEAN | false | one shift for every frame (walks keep the feet locked) |
| pad_top | INT | 00–8192 | extra canvas above the 1024 px (moves that rise high) |
| scale_frame | INT | 00–100000 | a STANDING frame for clips that start crouched |
| char_keypointsopt | POSE_KEYPOINT | DWPose output of the character picture |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| fitted_track | PSS_SCAIL_TRACK | — |
| check | IMAGE | — |
| fit_info | STRING | — |