• 版本 [version]
  • 下载 188
  • 文件大小 39287
  • 文件计数 1
  • 创建日期 2026年6月9日
  • 最后更新 2026年9月20日

电商线稿转KV

电商线稿转KV:基于 IPAdapter、ControlNet 搭建的线稿提取方案,节点规模 36 个、连线 46 条。工作流主路径为 PreviewImage ×5、ControlNetLoader ×3、ControlNetApplyAdvanced ×3,配合 输出图像;节点已按执行顺序排布,便于二次修改。主模型 sam_vit_b_01ec64.pth。下载后直接导入即可使用,建议显存 8GB 起。

  • 主模型:sam_vit_b_01ec64.pth
  • 核心节点:PreviewImage ×5、ControlNetLoader ×3、ControlNetApplyAdvanced ×3
  • 输出形式:输出图像
  • 规模:36 节点 / 46 连线
  • 建议显存:8GB 起
  • 适用场景:线稿提取与上色,涂鸦/草图直出效果图,设计与建筑场景常用。

资源头图

电商线稿转KV

工作流节点图

电商线稿转KV 工作流节点图

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

使用说明

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

源码预览

{
    "last_node_id": 48,
    "last_link_id": 67,
    "nodes": [
        {
            "id": 12,
            "type": "ControlNetLoader",
            "pos": [
                900,
                420
            ],
            "size": [
                315,
                58
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "CONTROL_NET",
                    "type": "CONTROL_NET",
                    "links": [
                        11
                    ],
                    "slot_index": 0,
                    "label": "ControlNet"
                }
            ],
            "properties": {
                "Node name for S&R": "ControlNetLoader"
            },
            "widgets_values": [
                "t2i-adapter_diffusers_xl_sketch"
            ],
            "_widget_cache_map": []
        },
        {
            "id": 24,
            "type": "PiDiNetPreprocessor",
            "pos": [
                900,
                540
            ],
            "size": [
                315,
                82
            ],
            "flags": [],
            "order": 16,
            "mode": 0,
            "inputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "link": 24,
                    "label": "图像"
                }
            ],
            "outputs": [
                {
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "links": [
                        22,
                        23
                    ],
                    "slot_index": 0,
                    "label": "图像"
                }
            ],
            "properties": {
                "Node name for S&R": "PiDiNetPreprocessor"
            },
            "widgets_values": [
                "enable",
                1024
            ],
            "_widget_cache_map": []
        },
        {
            "id": 16,
            "type": "PreviewImage",
            "pos": [
                900,
                670
            ],
            "size": [
                311.01947021484375,
                328.3496398925781
            ],
            "flags": [],
            "order": 23,
            "mode": 0,
            "inputs": [
                {
                    "name": "images",
                    "type": "IMAGE",
                    "link": 23,
                    "label": "图像"
                }
            ],
            "outputs": [],
            "properties": {
                "Node name for S&R": "PreviewImage"
            },
            "widgets_values": [],
            "_widget_cache_map": []
        },
        {
            "id": 25,
            "type": "ControlNetLoader",
            "pos": [
                1270,
                420
            ],
            "size": [
                315,
                58
            ],
            "flags": [],
            "order": 1,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "CONTROL_NET",
                    "type": "CONTROL_NET",
                    "links": [
                        25
                    ],
                    "slot_index": 0,
                    "label": "ControlNet"
                }
            ],
            "properties": {
                "Node name for S&R": "ControlNetLoader"
            },
            "widgets_values": [
                "diffusers_xl_depth_full"
            ],
            "_widget_cache_map": []
        },
        {
            "id": 29,
            "type": "Zoe_DepthAnythingPreprocessor",
            "pos": [
                1270,
  
… (完整内容请下载文件查看)

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

发表回复

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

提交评论