ComfyUI一键换衣

体验地址 https://huggingface.co/spaces/levihsu/OOTDiffusion

工作流,安装缺失节点,模型只能从haggingface自动下载,不需要手动下载

{
  "last_node_id": 10,
  "last_link_id": 8,
  "nodes": [
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        -10,
        118
      ],
      "size": {
        "0": 274.26373291015625,
        "1": 314
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "model_1.png",
        "image"
      ]
    },
    {
      "id": 5,
      "type": "PreviewImage",
      "pos": [
        -8,
        474
      ],
      "size": {
        "0": 273.46685791015625,
        "1": 330.965576171875
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 4
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 7,
      "type": "PreviewImage",
      "pos": [
        281,
        475
      ],
      "size": {
        "0": 262.6458435058594,
        "1": 331.29656982421875
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 6
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 4,
      "type": "LoadImage",
      "pos": [
        280,
        117
      ],
      "size": {
        "0": 262.86834716796875,
        "1": 314
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "cloth_1.jpg",
        "image"
      ]
    },
    {
      "id": 3,
      "type": "OOTDGenerate",
      "pos": [
        -341,
        382
      ],
      "size": {
        "0": 310.9773254394531,
        "1": 243.9505615234375
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "pipe",
          "type": "MODEL",
          "link": 8
        },
        {
          "name": "cloth_image",
          "type": "IMAGE",
          "link": 2
        },
        {
          "name": "model_image",
          "type": "IMAGE",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            4
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "image_masked",
          "type": "IMAGE",
          "links": [
            6
          ],
          "shape": 3,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "OOTDGenerate"
      },
      "widgets_values": [
        626872493253661,
        "randomize",
        20,
        2.0300000000000002
      ]
    },
    {
      "id": 10,
      "type": "LoadOOTDPipelineHub",
      "pos": [
        -342,
        259
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "pipe",
          "type": "MODEL",
          "links": [
            8
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "LoadOOTDPipelineHub"
      },
      "widgets_values": [
        "Half body"
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      3,
      2,
      "IMAGE"
    ],
    [
      2,
      4,
      0,
      3,
      1,
      "IMAGE"
    ],
    [
      4,
      3,
      0,
      5,
      0,
      "IMAGE"
    ],
    [
      6,
      3,
      1,
      7,
      0,
      "IMAGE"
    ],
    [
      8,
      10,
      0,
      3,
      0,
      "MODEL"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {},
  "version": 0.4
}
posted @ 2024-05-17 17:03  朝阳1  阅读(613)  评论(0编辑  收藏  举报