Nodes/ComfyUI-ProportionChanger/pose_keypoint resize
ComfyUI Node

pose_keypoint resize

The canvas-fixer that stops your pose from stretching

By grmchn·Created about a year ago·Updated 3 months ago· 102
pose_keypoint resize
  • pose_keypoint
  • pose_keypoint
width512
height768

Poses in this pack carry a hidden piece of context with them: the canvas size they were detected on. And when two poses were detected on different canvas sizes - say your reference image was 512×768 but your target video is 1024×1024 - the keypoints don't line up, and your proportion transforms come out subtly wrong or visibly broken. PoseKeypointResize is the fix: it rescales a POSE_KEYPOINT to whatever width/height you want, without distorting the body.

The "without distorting" part is the design constraint. If you naively scaled a pose from 512×768 onto a 1024×1024 canvas, you'd squish the figure to match - the skeleton itself gets deformed, which defeats the entire purpose of a pack built around body proportions. So the node instead pads the shorter side (centered) until the aspect ratios match, then scales. Matching aspect ratio? It just scales directly. Mismatched? It pads first, so the figure keeps its real proportions and just gains empty canvas. The README literally calls this out as the fix for "incorrect body proportions after transformation with reference image."

The inputs

  • pose_keypoint - the pose to resize.
  • width / height - target canvas size (defaults 512×768). Match these to whatever your downstream node expects.

Output is the resized pose_keypoint, in the same format you put in. It's a pure transform - no models, no downloads, instant.

Where you'll actually use it

Two spots. First, as an explicit reset: when ProportionChanger Reference's auto_resize_reference isn't giving you what you want, put this node in front of the reference pose and force both sides to the same canvas yourself. Second, when switching resolution between stages - detecting at 1024×1024 but feeding a 720p video model - this is the node that re-expresses the coordinates cleanly instead of hoping the downstream node tolerates a mismatch.

Install

Shared pack install - ComfyUI Manager search "ComfyUI-ProportionChanger", or clone + pip install -r requirements.txt + restart. That's the entire story: it's a small utility node with no special dependencies, no model downloads, and basically no failure modes beyond feeding it nothing. If you're new to the pack, you don't need it on day one - the Reference node's auto-resize usually covers you. It's the tool you reach for when "usually" stops being good enough.

CategoryProportionChanger

Inputs (3)

NameTypeDefaultDescription
pose_keypointPOSE_KEYPOINTInput POSE_KEYPOINT to resize.
widthINT5121–8192
heightINT7681–8192

Outputs (1)

NameTypeDescription
pose_keypointPOSE_KEYPOINT