{
  "revision": 0,
  "last_node_id": 675,
  "last_link_id": 0,
  "nodes": [
    {
      "id": 675,
      "type": "01b6a731-fb78-4070-9a38-c87146da9604",
      "pos": [
        -2480,
        3400
      ],
      "size": [
        360,
        433.3125
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "input",
          "name": "input",
          "type": "IMAGE,MASK",
          "link": null
        },
        {
          "label": "resize_target_longer_size",
          "name": "resize_type.longer_size",
          "type": "INT",
          "widget": {
            "name": "resize_type.longer_size"
          },
          "link": null
        },
        {
          "name": "scale_method",
          "type": "COMBO",
          "widget": {
            "name": "scale_method"
          },
          "link": null
        },
        {
          "name": "draw_body",
          "type": "BOOLEAN",
          "widget": {
            "name": "draw_body"
          },
          "link": null
        },
        {
          "name": "draw_hands",
          "type": "BOOLEAN",
          "widget": {
            "name": "draw_hands"
          },
          "link": null
        },
        {
          "name": "draw_face",
          "type": "BOOLEAN",
          "widget": {
            "name": "draw_face"
          },
          "link": null
        },
        {
          "name": "draw_feet",
          "type": "BOOLEAN",
          "widget": {
            "name": "draw_feet"
          },
          "link": null
        },
        {
          "name": "stick_width",
          "type": "INT",
          "widget": {
            "name": "stick_width"
          },
          "link": null
        },
        {
          "name": "face_point_size",
          "type": "INT",
          "widget": {
            "name": "face_point_size"
          },
          "link": null
        },
        {
          "name": "score_threshold",
          "type": "FLOAT",
          "widget": {
            "name": "score_threshold"
          },
          "link": null
        },
        {
          "name": "ckpt_name",
          "type": "COMBO",
          "widget": {
            "name": "ckpt_name"
          },
          "link": null
        },
        {
          "name": "bboxes",
          "shape": 7,
          "type": "BOUNDING_BOX",
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "keypoints",
          "type": "POSE_KEYPOINT",
          "links": null
        }
      ],
      "properties": {
        "proxyWidgets": [
          [
            "674",
            "resize_type.longer_size"
          ],
          [
            "674",
            "scale_method"
          ],
          [
            "672",
            "draw_body"
          ],
          [
            "672",
            "draw_hands"
          ],
          [
            "672",
            "draw_face"
          ],
          [
            "672",
            "draw_feet"
          ],
          [
            "672",
            "stick_width"
          ],
          [
            "672",
            "face_point_size"
          ],
          [
            "672",
            "score_threshold"
          ],
          [
            "673",
            "ckpt_name"
          ]
        ],
        "cnr_id": "comfy-core",
        "ver": "0.15.1",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.7",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [],
      "title": "Image to Pose Map (SDPose-OOD)"
    }
  ],
  "links": [],
  "version": 0.4,
  "definitions": {
    "subgraphs": [
      {
        "id": "01b6a731-fb78-4070-9a38-c87146da9604",
        "version": 1,
        "state": {
          "lastGroupId": 0,
          "lastNodeId": 676,
          "lastLinkId": 1715,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Image to Pose Map (SDPose-OOD)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -3290,
            3590,
            190.8984375,
            288
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            -1756.2451602089645,
            3366,
            128,
            88
          ]
        },
        "inputs": [
          {
            "id": "e24699c3-1356-4634-9eb4-19bb58e5c0b0",
            "name": "input",
            "type": "IMAGE,MASK",
            "linkIds": [
              1700
            ],
            "localized_name": "input",
            "pos": [
              -3123.1015625,
              3614
            ]
          },
          {
            "id": "088eefc1-cd8a-4573-993f-9e4da008a12d",
            "name": "resize_type.longer_size",
            "type": "INT",
            "linkIds": [
              1704
            ],
            "label": "resize_target_longer_size",
            "pos": [
              -3123.1015625,
              3634
            ]
          },
          {
            "id": "b6449bd3-73d4-41c8-b81f-cf8d33f76a2e",
            "name": "scale_method",
            "type": "COMBO",
            "linkIds": [
              1705
            ],
            "pos": [
              -3123.1015625,
              3654
            ]
          },
          {
            "id": "4cff52ad-ed07-4c97-8803-fcbd89554fd0",
            "name": "draw_body",
            "type": "BOOLEAN",
            "linkIds": [
              1706
            ],
            "pos": [
              -3123.1015625,
              3674
            ]
          },
          {
            "id": "7af63dce-f7df-4d7e-8215-d7c7f60bf81c",
            "name": "draw_hands",
            "type": "BOOLEAN",
            "linkIds": [
              1707
            ],
            "pos": [
              -3123.1015625,
              3694
            ]
          },
          {
            "id": "af3a9bce-61f9-4aca-b530-9f65e028b35e",
            "name": "draw_face",
            "type": "BOOLEAN",
            "linkIds": [
              1708
            ],
            "pos": [
              -3123.1015625,
              3714
            ]
          },
          {
            "id": "4620f6a3-2c85-4b79-ad8f-35d0326b568f",
            "name": "draw_feet",
            "type": "BOOLEAN",
            "linkIds": [
              1709
            ],
            "pos": [
              -3123.1015625,
              3734
            ]
          },
          {
            "id": "fee5d0c9-8d4b-4934-81d8-ba2206dc56cb",
            "name": "stick_width",
            "type": "INT",
            "linkIds": [
              1710
            ],
            "pos": [
              -3123.1015625,
              3754
            ]
          },
          {
            "id": "aafdd060-ba81-4324-a9cc-b656e1ebc133",
            "name": "face_point_size",
            "type": "INT",
            "linkIds": [
              1711
            ],
            "pos": [
              -3123.1015625,
              3774
            ]
          },
          {
            "id": "514c5503-f9e6-4d23-b1ae-1d3291acb2a3",
            "name": "score_threshold",
            "type": "FLOAT",
            "linkIds": [
              1712
            ],
            "pos": [
              -3123.1015625,
              3794
            ]
          },
          {
            "id": "ae46de61-2cc6-483e-8ee9-87e4144a2ffa",
            "name": "ckpt_name",
            "type": "COMBO",
            "linkIds": [
              1713
            ],
            "pos": [
              -3123.1015625,
              3814
            ]
          },
          {
            "id": "41bec0c6-dffa-4c78-9289-ee678715ae54",
            "name": "bboxes",
            "type": "BOUNDING_BOX",
            "linkIds": [
              1714
            ],
            "pos": [
              -3123.1015625,
              3834
            ]
          }
        ],
        "outputs": [
          {
            "id": "f05ed8cc-9403-4f14-8085-4364b06f8a48",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              1701
            ],
            "localized_name": "IMAGE",
            "pos": [
              -1732.2451602089645,
              3390
            ]
          },
          {
            "id": "29a6584e-4685-4986-8ffd-e6d8539953fd",
            "name": "keypoints",
            "type": "POSE_KEYPOINT",
            "linkIds": [
              1715
            ],
            "pos": [
              -1732.2451602089645,
              3410
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 671,
            "type": "SDPoseKeypointExtractor",
            "pos": [
              -2470,
              3250
            ],
            "size": [
              270,
              180
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 1696
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 1697
              },
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 1698
              },
              {
                "localized_name": "bboxes",
                "name": "bboxes",
                "shape": 7,
                "type": "BOUNDING_BOX",
                "link": 1714
              },
              {
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                },
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "keypoints",
                "name": "keypoints",
                "type": "POSE_KEYPOINT",
                "links": [
                  1699,
                  1715
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SDPoseKeypointExtractor",
              "cnr_id": "comfy-core",
              "ver": "0.15.0",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              16
            ]
          },
          {
            "id": 674,
            "type": "ResizeImageMaskNode",
            "pos": [
              -2960,
              3490
            ],
            "size": [
              270,
              110
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK",
                "link": 1700
              },
              {
                "localized_name": "resize_type",
                "name": "resize_type",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "resize_type"
                },
                "link": null
              },
              {
                "localized_name": "resize_type.longer_size",
                "name": "resize_type.longer_size",
                "type": "INT",
                "widget": {
                  "name": "resize_type.longer_size"
                },
                "link": 1704
              },
              {
                "localized_name": "scale_method",
                "name": "scale_method",
                "type": "COMBO",
                "widget": {
                  "name": "scale_method"
                },
                "link": 1705
              }
            ],
            "outputs": [
              {
                "localized_name": "resized",
                "name": "resized",
                "type": "*",
                "links": [
                  1698
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ResizeImageMaskNode",
              "cnr_id": "comfy-core",
              "ver": "0.15.0",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "scale longer dimension",
              1024,
              "area"
            ]
          },
          {
            "id": 672,
            "type": "SDPoseDrawKeypoints",
            "pos": [
              -2120,
              3260
            ],
            "size": [
              270,
              280
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "keypoints",
                "name": "keypoints",
                "type": "POSE_KEYPOINT",
                "link": 1699
              },
              {
                "localized_name": "draw_body",
                "name": "draw_body",
                "type": "BOOLEAN",
                "widget": {
                  "name": "draw_body"
                },
                "link": 1706
              },
              {
                "localized_name": "draw_hands",
                "name": "draw_hands",
                "type": "BOOLEAN",
                "widget": {
                  "name": "draw_hands"
                },
                "link": 1707
              },
              {
                "localized_name": "draw_face",
                "name": "draw_face",
                "type": "BOOLEAN",
                "widget": {
                  "name": "draw_face"
                },
                "link": 1708
              },
              {
                "localized_name": "draw_feet",
                "name": "draw_feet",
                "type": "BOOLEAN",
                "widget": {
                  "name": "draw_feet"
                },
                "link": 1709
              },
              {
                "localized_name": "stick_width",
                "name": "stick_width",
                "type": "INT",
                "widget": {
                  "name": "stick_width"
                },
                "link": 1710
              },
              {
                "localized_name": "face_point_size",
                "name": "face_point_size",
                "type": "INT",
                "widget": {
                  "name": "face_point_size"
                },
                "link": 1711
              },
              {
                "localized_name": "score_threshold",
                "name": "score_threshold",
                "type": "FLOAT",
                "widget": {
                  "name": "score_threshold"
                },
                "link": 1712
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  1701
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SDPoseDrawKeypoints",
              "cnr_id": "comfy-core",
              "ver": "0.15.0",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              true,
              true,
              true,
              true,
              4,
              2,
              0.5
            ]
          },
          {
            "id": 673,
            "type": "CheckpointLoaderSimple",
            "pos": [
              -2960,
              3250
            ],
            "size": [
              390,
              190
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "ckpt_name",
                "name": "ckpt_name",
                "type": "COMBO",
                "widget": {
                  "name": "ckpt_name"
                },
                "link": 1713
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  1696
                ]
              },
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": []
              },
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": [
                  1697
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CheckpointLoaderSimple",
              "cnr_id": "comfy-core",
              "ver": "0.15.0",
              "models": [
                {
                  "name": "sdpose_wholebody_fp16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/SDPose/resolve/main/checkpoints/sdpose_wholebody_fp16.safetensors",
                  "directory": "checkpoints"
                }
              ],
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "sdpose_wholebody_fp16.safetensors"
            ]
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 1696,
            "origin_id": 673,
            "origin_slot": 0,
            "target_id": 671,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 1697,
            "origin_id": 673,
            "origin_slot": 2,
            "target_id": 671,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 1698,
            "origin_id": 674,
            "origin_slot": 0,
            "target_id": 671,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 1699,
            "origin_id": 671,
            "origin_slot": 0,
            "target_id": 672,
            "target_slot": 0,
            "type": "POSE_KEYPOINT"
          },
          {
            "id": 1700,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 674,
            "target_slot": 0,
            "type": "IMAGE,MASK"
          },
          {
            "id": 1701,
            "origin_id": 672,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1704,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 674,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 1705,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 674,
            "target_slot": 3,
            "type": "COMBO"
          },
          {
            "id": 1706,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 672,
            "target_slot": 1,
            "type": "BOOLEAN"
          },
          {
            "id": 1707,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 672,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 1708,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 672,
            "target_slot": 3,
            "type": "BOOLEAN"
          },
          {
            "id": 1709,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 672,
            "target_slot": 4,
            "type": "BOOLEAN"
          },
          {
            "id": 1710,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 672,
            "target_slot": 5,
            "type": "INT"
          },
          {
            "id": 1711,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 672,
            "target_slot": 6,
            "type": "INT"
          },
          {
            "id": 1712,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 672,
            "target_slot": 7,
            "type": "FLOAT"
          },
          {
            "id": 1713,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 673,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 1714,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 671,
            "target_slot": 3,
            "type": "BOUNDING_BOX"
          },
          {
            "id": 1715,
            "origin_id": 671,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "POSE_KEYPOINT"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "category": "Conditioning & Preprocessors/Pose",
        "description": "Extracts human pose keypoints and stick-figure visuals from an image using SDPose-OOD, with optional bounding-box input per subject."
      }
    ]
  },
  "extra": {
    "ue_links": []
  }
}