ComfyUI > Nodes > ComfyUI-ProportionChanger > ProportionChanger Reference

ComfyUI Node: ProportionChanger Reference

Class Name

ProportionChangerReference

Category
ProportionChanger
Author
gearmachine (Account age: 309days)
Extension
ComfyUI-ProportionChanger
Latest Updated
2025-12-13
Github Stars
0.08K

How to Install ComfyUI-ProportionChanger

Install this extension via the ComfyUI Manager by searching for ComfyUI-ProportionChanger
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-ProportionChanger in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ProportionChanger Reference Description

Adjusts pose proportions based on a reference, ensuring accurate transformations in art.

ProportionChanger Reference:

The ProportionChangerReference node is designed to facilitate complex proportion changes in pose transformations, particularly useful in AI art and animation where maintaining accurate proportions is crucial. This node allows you to adjust the proportions of a target pose based on a reference pose, ensuring that the transformations are applied uniformly and accurately. By calculating proportion ratios without scaling the canvas size initially, it ensures that the final output maintains the intended proportions. This is particularly beneficial for artists who need to transform poses while preserving the natural look and feel of the original reference. The node's algorithm handles both X and Y scaling independently, allowing for precise adjustments that can be crucial in maintaining the integrity of facial features and other critical elements in a pose.

ProportionChanger Reference Input Parameters:

ref_5_x, ref_2_x, zero_5_x, zero_2_x, ref_center2, ref_center1, zero_center2, zero_center1, candidate, hands

These parameters represent the coordinates and key points of the reference and target poses. They are used to calculate the proportion ratios for the transformation. The ref_5_x and ref_2_x are the X coordinates of specific key points in the reference pose, while zero_5_x and zero_2_x are their counterparts in the target pose. Similarly, ref_center2, ref_center1, zero_center2, and zero_center1 are Y coordinates of central points in the reference and target poses. The candidate parameter is an array representing the pose to be transformed, and hands is a specific part of the pose that requires proportionate scaling. These inputs are crucial for the node to calculate the necessary scaling factors to apply the transformation accurately.

ProportionChanger Reference Output Parameters:

Transformed Candidate

The output is the transformed candidate pose, which has been adjusted according to the calculated proportion ratios. This output maintains the intended proportions of the reference pose, ensuring that the transformation looks natural and consistent with the original reference. The transformed candidate is crucial for artists who need to apply precise pose transformations while maintaining the integrity of the original design.

ProportionChanger Reference Usage Tips:

  • Ensure that the reference and target poses are accurately defined to achieve the best results. Misalignment in key points can lead to incorrect transformations.
  • Use this node when you need to maintain specific proportions in a pose transformation, such as when adjusting facial features or body proportions in character design.

ProportionChanger Reference Common Errors and Solutions:

Division by Zero Error

  • Explanation: This error occurs when the target proportion values are zero, leading to a division by zero during ratio calculation.
  • Solution: Ensure that the target pose key points are correctly defined and not zero. Double-check the input values for accuracy.

Incorrect Proportion Scaling

  • Explanation: This issue arises when the reference and target poses are not aligned correctly, leading to disproportionate scaling.
  • Solution: Verify that the reference and target poses are aligned and that the key points are accurately mapped to each other. Adjust the input parameters as necessary to ensure correct alignment.

ProportionChanger Reference Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-ProportionChanger
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

ProportionChanger Reference