• 版本 [version]
  • 下载 134
  • 文件大小 5685
  • 文件计数 1
  • 创建日期 2026年3月9日
  • 最后更新 2026年9月21日

人物换装CatVTON

人物换装CatVTON 是一套面向换脸换装场景的 ComfyUI 工作流,全图共 6 个节点、6 条连线。链路以 LoadImage ×2、LayerMask: HumanPartsUltra ×1、LayerMask: MaskPreview ×1 为主干,输出图像,适合需要稳定批量出图的同学。下载后直接导入即可使用,建议显存 8GB 起。

  • 核心节点:LoadImage ×2、LayerMask: HumanPartsUltra ×1、LayerMask: MaskPreview ×1
  • 输出形式:输出图像
  • 规模:6 节点 / 6 连线
  • 建议显存:8GB 起
  • 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。

工作流节点图

人物换装CatVTON 工作流节点图

图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。

资源头图

人物换装CatVTON

使用说明

下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。

源码预览

{
    "last_node_id": 18,
    "last_link_id": 24,
    "nodes": [
        {
            "id": 13,
            "type": "LayerMask: HumanPartsUltra",
            "pos": [
                700,
                300
            ],
            "size": [
                352.79998779296875,
                534
            ],
            "flags": [],
            "order": 2,
            "mode": 0,
            "inputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "link": 16,
                    "label": "image"
                }
            ],
            "outputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "links": null,
                    "shape": 3,
                    "label": "image"
                },
                {
                    "name": "mask",
                    "type": "MASK",
                    "links": [
                        17,
                        18
                    ],
                    "slot_index": 1,
                    "shape": 3,
                    "label": "mask"
                }
            ],
            "properties": {
                "Node name for S&R": "LayerMask: HumanPartsUltra"
            },
            "widgets_values": [
                false,
                false,
                false,
                true,
                false,
                false,
                false,
                false,
                false,
                false,
                false,
                false,
                "VITMatte",
                8,
                6,
                0.01,
                0.99,
                true,
                "cuda",
                2
            ],
            "color": "rgba(27, 80, 119, 0.7)"
        },
        {
            "id": 11,
            "type": "LayerMask: MaskPreview",
            "pos": [
                1150,
                500
            ],
            "size": [
                323.2476806640625,
                354.96905517578125
            ],
            "flags": [],
            "order": 3,
            "mode": 0,
            "inputs": [
                {
                    "name": "mask",
                    "type": "MASK",
                    "link": 17,
                    "label": "mask"
                }
            ],
            "outputs": [],
            "properties": {
                "Node name for S&R": "LayerMask: MaskPreview"
            },
            "widgets_values": [],
            "color": "rgba(27, 80, 119, 0.7)"
        },
        {
            "id": 7,
            "type": "LoadImage",
            "pos": [
                250,
                640
            ],
            "size": [
                315,
                314
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "links": [
                        7
                    ],
                    "shape": 3,
                    "label": "IMAGE"
                },
                {
                    "name": "MASK",
                    "type": "MASK",
                    "links": null,
                    "shape": 3,
                    "label": "MASK"
                }
            ],
            "properties": {
                "Node name for S&R": "LoadImage"
            },
            "widgets_values": [
                "panda_t_shirt.jpg",
                "image"
            ]
        },
        {
            "id": 1,
            "type": "CatVTONWrapper",
            "pos": [
                1150,
                190
           
… (完整内容请下载文件查看)

代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。

发表回复

你的电子邮件地址不会被公开 * 为必填字段

提交评论