Files
grmchn-ComfyUI-ProportionCh…/example_workflows/proportion_changer_video2.json
T
grmchnandClaude f4e4e15182 Add comprehensive example workflows and sample inputs
Added workflow examples:
- proportion_changer_basic.json: Basic proportion changing with single image
- proportion_changer_basic2.json: Alternative basic workflow configuration
- proportion_changer_interpolator.json: Proportion interpolation between poses
- proportion_changer_params.json: Parameter-based proportion adjustment
- proportion_changer_video.json: Video processing workflow
- proportion_changer_video2.json: Advanced video processing workflow

Added sample input assets:
- mini_miku.json: Sample pose keypoint data
- mini_miku.png: Sample reference image
- sample_girl.jpg: Sample target image
- yoshi1_sample_girl.mp4: Sample video input

Removed empty .gitkeep file as directory now contains actual content

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-03 15:52:55 +09:00

807 lines
24 KiB
JSON

{
"id": "0438933a-2d2c-477b-b8ab-4dc627009d86",
"revision": 0,
"last_node_id": 39,
"last_link_id": 44,
"nodes": [
{
"id": 28,
"type": "ImageResizeKJv2",
"pos": [
777.5184326171875,
-875.07666015625
],
"size": [
264.0930480957031,
266
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 37
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
20
]
},
{
"name": "width",
"type": "INT",
"links": []
},
{
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "f9118e0bbb39347ea7becb84ec03e397dfb4f644",
"Node name for S&R": "ImageResizeKJv2"
},
"widgets_values": [
512,
920,
"nearest-exact",
"pad",
"0, 0, 0",
"center",
2,
"cpu"
]
},
{
"id": 22,
"type": "ProportionChangerDWPoseRender",
"pos": [
1408.7781982421875,
-893.359130859375
],
"size": [
289.4697570800781,
226
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pose_keypoint",
"type": "POSE_KEYPOINT",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
34
]
}
],
"properties": {
"cnr_id": "ComfyUI-ProportionChanger",
"ver": "35c4327d7ebb6ec2f91b695df5ffb14d6cc6e68d",
"Node name for S&R": "ProportionChangerDWPoseRender"
},
"widgets_values": [
true,
false,
true,
true,
-1,
4,
3,
2
]
},
{
"id": 30,
"type": "LoadVideo",
"pos": [
456.3653564453125,
-947.794921875
],
"size": [
274.080078125,
562.2051391601562
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
36
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoadVideo"
},
"widgets_values": [
"yoshi1_sample_girl.mp4",
"image"
]
},
{
"id": 32,
"type": "CreateVideo",
"pos": [
1412.7666015625,
-1052.7640380859375
],
"size": [
270,
78
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 34
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"name": "fps",
"type": "FLOAT",
"widget": {
"name": "fps"
},
"link": 38
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
35
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
30
]
},
{
"id": 31,
"type": "SaveVideo",
"pos": [
1762.4833984375,
-1054.49365234375
],
"size": [
270,
583.15625
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 35
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "SaveVideo"
},
"widgets_values": [
"video/ComfyUI_PropotionChanger",
"mp4",
"auto"
]
},
{
"id": 35,
"type": "SaveVideo",
"pos": [
1771.3074951171875,
-332.6535339355469
],
"size": [
270,
583.15625
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 40
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "SaveVideo"
},
"widgets_values": [
"video/ComfyUI_PropotionChanger",
"mp4",
"auto"
]
},
{
"id": 33,
"type": "GetVideoComponents",
"pos": [
806.623779296875,
-1023.468017578125
],
"size": [
185.17733764648438,
66
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 36
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
37
]
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "fps",
"type": "FLOAT",
"links": [
38
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "GetVideoComponents"
},
"widgets_values": []
},
{
"id": 18,
"type": "ProportionChangerDWPoseDetector",
"pos": [
1077.737548828125,
-626.57958984375
],
"size": [
297.3046875,
61.02589797973633
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 20
}
],
"outputs": [
{
"name": "pose_keypoint",
"type": "POSE_KEYPOINT",
"links": [
22,
24
]
}
],
"properties": {
"cnr_id": "ComfyUI-ProportionChanger",
"ver": "35c4327d7ebb6ec2f91b695df5ffb14d6cc6e68d",
"Node name for S&R": "ProportionChangerDWPoseDetector"
},
"widgets_values": [
0.1
]
},
{
"id": 29,
"type": "ProportionChangerParams",
"pos": [
1078.28369140625,
-327.05950927734375
],
"size": [
312.498046875,
562
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pose_keypoint",
"shape": 7,
"type": "POSE_KEYPOINT",
"link": 32
}
],
"outputs": [
{
"name": "changed_pose_keypoint",
"type": "POSE_KEYPOINT",
"links": [
42
]
}
],
"properties": {
"cnr_id": "ComfyUI-ProportionChanger",
"ver": "35c4327d7ebb6ec2f91b695df5ffb14d6cc6e68d",
"Node name for S&R": "ProportionChangerParams"
},
"widgets_values": [
1.1,
0.8,
1,
0.8,
1,
1,
0.8,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
0,
0
]
},
{
"id": 20,
"type": "ProportionChangerReference",
"pos": [
1395.90185546875,
-577.1036376953125
],
"size": [
309.8671875,
49.661338806152344
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "pose_keypoint",
"type": "POSE_KEYPOINT",
"link": 22
},
{
"name": "reference_pose_keypoint",
"shape": 7,
"type": "POSE_KEYPOINT",
"link": 44
}
],
"outputs": [
{
"name": "changed_pose_keypoint",
"type": "POSE_KEYPOINT",
"links": [
32
]
}
],
"properties": {
"cnr_id": "ComfyUI-ProportionChanger",
"ver": "35c4327d7ebb6ec2f91b695df5ffb14d6cc6e68d",
"Node name for S&R": "ProportionChangerReference"
},
"widgets_values": []
},
{
"id": 38,
"type": "LoadImage",
"pos": [
519.32177734375,
-313.5703430175781
],
"size": [
217.90322875976562,
337.8138122558594
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"mini_miku.png",
"image"
]
},
{
"id": 34,
"type": "CreateVideo",
"pos": [
1432.94091796875,
131.87152099609375
],
"size": [
270,
78
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 39
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
40
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
30
]
},
{
"id": 36,
"type": "ProportionChangerInterpolator",
"pos": [
1421.0491943359375,
-342.598876953125
],
"size": [
303.8203125,
82
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pose_keypoint",
"type": "POSE_KEYPOINT",
"link": 42
}
],
"outputs": [
{
"name": "interpolated_sequence",
"type": "POSE_KEYPOINT",
"links": [
43
]
}
],
"properties": {
"cnr_id": "ComfyUI-ProportionChanger",
"ver": "35c4327d7ebb6ec2f91b695df5ffb14d6cc6e68d",
"Node name for S&R": "ProportionChangerInterpolator"
},
"widgets_values": [
1,
"linear"
]
},
{
"id": 23,
"type": "ProportionChangerDWPoseRender",
"pos": [
1415.9063720703125,
-174.84722900390625
],
"size": [
296.1150207519531,
226
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "pose_keypoint",
"type": "POSE_KEYPOINT",
"link": 43
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
39
]
}
],
"properties": {
"cnr_id": "ComfyUI-ProportionChanger",
"ver": "35c4327d7ebb6ec2f91b695df5ffb14d6cc6e68d",
"Node name for S&R": "ProportionChangerDWPoseRender"
},
"widgets_values": [
true,
false,
true,
true,
-1,
4,
3,
2
]
},
{
"id": 37,
"type": "PoseJSONToPoseKeypoint",
"pos": [
766.1145629882812,
-375.58294677734375
],
"size": [
281.0850830078125,
242.25906372070312
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "pose_keypoint",
"type": "POSE_KEYPOINT",
"links": [
44
]
}
],
"properties": {
"cnr_id": "ComfyUI-ProportionChanger",
"ver": "35c4327d7ebb6ec2f91b695df5ffb14d6cc6e68d",
"Node name for S&R": "PoseJSONToPoseKeypoint"
},
"widgets_values": [
"[\n {\n \"version\": \"1.0\",\n \"people\": [\n {\n \"pose_keypoints_2d\": [\n 221.13771890103817,\n 263.34113800028956,\n 1.0,\n 244.6046230519811,\n 406.15401183317107,\n 1.0,\n 183.59067225952936,\n 402.8015969544649,\n 1.0,\n 146.04362561802077,\n 491.30534975230694,\n 1.0,\n 88.38208970427513,\n 577.1271706471841,\n 1.0,\n 305.61857384443283,\n 409.5064267118772,\n 1.0,\n 363.28010975817847,\n 500.69211141268414,\n 1.0,\n 420.941645671924,\n 585.1729663560789,\n 1.0,\n 190.29550201694167,\n 603.9464896768332,\n 1.0,\n 188.95453606545925,\n 708.5418338924646,\n 1.0,\n 197.00033177435398,\n 821.1829738169909,\n 1.0,\n 293.54988028109074,\n 617.3561491916578,\n 1.0,\n 293.54988028109074,\n 705.8599019894998,\n 1.0,\n 288.18601647516095,\n 823.8649057199557,\n 1.0,\n 172.8629446476698,\n 231.15795516471064,\n 1.0,\n 278.7992548147838,\n 232.49892111619317,\n 1.0,\n 129.9520342002312,\n 267.3640358547369,\n 1.0,\n 341.8246545344591,\n 276.7507975151142,\n 1.0,\n 269.41249315440655,\n 866.1053331916531,\n 1.0,\n 168.84004679322248,\n 861.4119523614645,\n 1.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0\n ],\n \"face_keypoints_2d\": [\n 128.61106824874878,\n 237.86278492212293,\n 1.0,\n 129.9520342002312,\n 259.3182401458422,\n 1.0,\n 133.97493205467867,\n 283.4556272725264,\n 1.0,\n 143.36169371505582,\n 302.2291505932808,\n 1.0,\n 155.43038727839792,\n 323.68460581700003,\n 1.0,\n 171.52197869618726,\n 337.09426533182466,\n 1.0,\n 188.95453606545925,\n 346.4810269922018,\n 1.0,\n 209.06902533769608,\n 351.8448907981316,\n 1.0,\n 230.52448056141543,\n 354.52682270109653,\n 1.0,\n 250.63896983365214,\n 350.50392484664917,\n 1.0,\n 270.7534591058891,\n 345.1400610407194,\n 1.0,\n 290.8679483781259,\n 337.09426533182466,\n 1.0,\n 306.95953979591536,\n 325.02557176848256,\n 1.0,\n 319.02823335925746,\n 307.5930143992106,\n 1.0,\n 329.755960971117,\n 287.47852512697375,\n 1.0,\n 336.46079072852933,\n 264.6821039517721,\n 1.0,\n 339.1427226314943,\n 244.56761467953527,\n 1.0,\n 137.99782990912604,\n 204.3386361350615,\n 1.0,\n 151.40748942395044,\n 197.6338063776493,\n 1.0,\n 167.49908084174,\n 193.61090852320194,\n 1.0,\n 182.24970630804705,\n 194.95187447468447,\n 1.0,\n 197.00033177435398,\n 198.97477232913184,\n 1.0,\n 246.6160719792049,\n 198.97477232913184,\n 1.0,\n 264.04862934847677,\n 196.29284042616678,\n 1.0,\n 282.8221526692312,\n 194.95187447468447,\n 1.0,\n 300.25471003850305,\n 200.31573828061414,\n 1.0,\n 316.3463014562924,\n 209.7024999409914,\n 1.0,\n 221.13771890103817,\n 233.8398870676756,\n 1.0,\n 221.13771890103817,\n 244.56761467953527,\n 1.0,\n 221.13771890103817,\n 255.29534229139483,\n 1.0,\n 221.13771890103817,\n 266.0230699032545,\n 1.0,\n 203.7051615317663,\n 284.7965932240089,\n 1.0,\n 211.7509572406609,\n 284.7965932240089,\n 1.0,\n 222.4786848525207,\n 286.13755917549133,\n 1.0,\n 231.86544651289773,\n 284.7965932240089,\n 1.0,\n 242.59317412475752,\n 286.13755917549133,\n 1.0,\n 146.04362561802077,\n 233.8398870676756,\n 1.0,\n 163.47618298729253,\n 219.08926160136866,\n 1.0,\n 183.59067225952936,\n 224.45312540729844,\n 1.0,\n 195.65936582287145,\n 244.56761467953527,\n 1.0,\n 178.22680845359957,\n 252.61341038843,\n 1.0,\n 159.45328513284517,\n 249.93147848546505,\n 1.0,\n 253.3209017366171,\n 244.56761467953527,\n 1.0,\n 266.7305612514417,\n 224.45312540729844,\n 1.0,\n 288.18601647516095,\n 220.43022755285097,\n 1.0,\n 306.95953979591536,\n 233.8398870676756,\n 1.0,\n 292.2089143296082,\n 249.93147848546505,\n 1.0,\n 272.0944250573714,\n 252.61341038843,\n 1.0,\n 194.31839987138915,\n 311.61591225365794,\n 1.0,\n 202.36419558028376,\n 306.25204844772816,\n 1.0,\n 214.43288914362586,\n 300.8881846417984,\n 1.0,\n 221.13771890103817,\n 302.2291505932808,\n 1.0,\n 226.50158270696795,\n 300.8881846417984,\n 1.0,\n 241.252208173275,\n 306.25204844772816,\n 1.0,\n 251.97993578513467,\n 312.95687820514047,\n 1.0,\n 242.59317412475752,\n 319.66170796255267,\n 1.0,\n 231.86544651289773,\n 323.68460581700003,\n 1.0,\n 221.13771890103817,\n 325.02557176848256,\n 1.0,\n 210.4099912891786,\n 323.68460581700003,\n 1.0,\n 202.36419558028376,\n 318.32074201107025,\n 1.0,\n 199.68226367731882,\n 311.61591225365794,\n 1.0,\n 209.06902533769608,\n 307.5930143992106,\n 1.0,\n 221.13771890103817,\n 307.5930143992106,\n 1.0,\n 234.5473784158628,\n 308.9339803506931,\n 1.0,\n 246.6160719792049,\n 314.2978441566229,\n 1.0,\n 233.20641246438026,\n 314.2978441566229,\n 1.0,\n 221.13771890103817,\n 314.2978441566229,\n 1.0,\n 209.06902533769608,\n 312.95687820514047,\n 1.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0\n ],\n \"hand_left_keypoints_2d\": [\n 420.941645671924,\n 589.1958642105262,\n 1.0,\n 430.32840733230114,\n 599.9235918223858,\n 1.0,\n 439.7151689926784,\n 611.9922853857279,\n 1.0,\n 447.760964701573,\n 618.6971151431401,\n 1.0,\n 454.46579445898533,\n 624.06097894907,\n 1.0,\n 454.46579445898533,\n 609.310353482763,\n 1.0,\n 465.193522070845,\n 614.6742172886927,\n 1.0,\n 470.5573858767748,\n 618.6971151431401,\n 1.0,\n 474.58028373122215,\n 621.3790470461051,\n 1.0,\n 451.7838625560205,\n 606.628421579798,\n 1.0,\n 459.8296582649151,\n 611.9922853857279,\n 1.0,\n 462.51159016788006,\n 614.6742172886927,\n 1.0,\n 465.193522070845,\n 616.0151832401752,\n 1.0,\n 447.760964701573,\n 603.9464896768332,\n 1.0,\n 453.1248285075029,\n 609.310353482763,\n 1.0,\n 454.46579445898533,\n 611.9922853857279,\n 1.0,\n 455.80676041046775,\n 614.6742172886927,\n 1.0,\n 443.73806684712565,\n 599.9235918223858,\n 1.0,\n 447.760964701573,\n 605.2874556283157,\n 1.0,\n 447.760964701573,\n 609.310353482763,\n 1.0,\n 450.44289660453796,\n 611.9922853857279,\n 1.0\n ],\n \"hand_right_keypoints_2d\": [\n 89.72305565575755,\n 583.8320004045963,\n 1.0,\n 78.99532804389793,\n 593.2187620649736,\n 1.0,\n 61.56277067462605,\n 602.6055237253506,\n 1.0,\n 50.83504306276643,\n 611.9922853857279,\n 1.0,\n 41.44828140238917,\n 620.0380810946226,\n 1.0,\n 58.88083877166116,\n 602.6055237253506,\n 1.0,\n 46.812145208319066,\n 607.9693875312805,\n 1.0,\n 38.76634949942434,\n 610.6513194342454,\n 1.0,\n 32.061519742012024,\n 611.9922853857279,\n 1.0,\n 64.24470257759094,\n 603.9464896768332,\n 1.0,\n 56.19890686869621,\n 610.6513194342454,\n 1.0,\n 52.17600901424885,\n 613.3332513372104,\n 1.0,\n 52.17600901424885,\n 614.6742172886927,\n 1.0,\n 72.29049828648567,\n 603.9464896768332,\n 1.0,\n 65.58566852907336,\n 610.6513194342454,\n 1.0,\n 64.24470257759094,\n 613.3332513372104,\n 1.0,\n 64.24470257759094,\n 614.6742172886927,\n 1.0,\n 78.99532804389793,\n 601.2645577738683,\n 1.0,\n 74.97243018945062,\n 607.9693875312805,\n 1.0,\n 72.29049828648567,\n 609.310353482763,\n 1.0,\n 70.94953233500325,\n 610.6513194342454,\n 1.0\n ]\n }\n ],\n \"canvas_width\": 512,\n \"canvas_height\": 920\n }\n]"
]
},
{
"id": 39,
"type": "Note",
"pos": [
745.4415893554688,
-104.67256927490234
],
"size": [
266.04986572265625,
102.80937194824219
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Character keypoints created using OpenPoseEditor or similar tools"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
20,
28,
0,
18,
0,
"IMAGE"
],
[
22,
18,
0,
20,
0,
"POSE_KEYPOINT"
],
[
24,
18,
0,
22,
0,
"POSE_KEYPOINT"
],
[
32,
20,
0,
29,
0,
"POSE_KEYPOINT"
],
[
34,
22,
0,
32,
0,
"IMAGE"
],
[
35,
32,
0,
31,
0,
"VIDEO"
],
[
36,
30,
0,
33,
0,
"VIDEO"
],
[
37,
33,
0,
28,
0,
"IMAGE"
],
[
38,
33,
2,
32,
2,
"FLOAT"
],
[
39,
23,
0,
34,
0,
"IMAGE"
],
[
40,
34,
0,
35,
0,
"VIDEO"
],
[
42,
29,
0,
36,
0,
"POSE_KEYPOINT"
],
[
43,
36,
0,
23,
0,
"POSE_KEYPOINT"
],
[
44,
37,
0,
20,
1,
"POSE_KEYPOINT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.814027493868498,
"offset": [
11.219210249550713,
822.5631931552969
]
},
"frontendVersion": "1.25.8"
},
"version": 0.4
}