• 版本 [version]
  • 下载 86
  • 文件大小 45520
  • 文件计数 1
  • 创建日期 2025年12月14日
  • 最后更新 2026年9月20日

室内线稿转绘

室内线稿转绘:基于 SUPIR、IPAdapter、ControlNet 搭建的线稿提取方案,节点规模 34 个、连线 47 条。工作流主路径为 PreviewImage ×4、ControlNetLoader ×3、ControlNetApplyAdvanced ×3,配合 输出图像,默认输出 512×512;节点已按执行顺序排布,便于二次修改。主模型 depth_anything_vitl14.pth、SUPIR-v0F_fp16.safetensors。下载后直接导入即可使用,建议显存 8GB 起。

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

工作流节点图

室内线稿转绘 工作流节点图

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

资源头图

室内线稿转绘

使用说明

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

源码预览

{
    "last_node_id": 95,
    "last_link_id": 179,
    "nodes": [
        {
            "id": 43,
            "type": "BNK_CLIPTextEncodeAdvanced",
            "pos": [
                -222,
                -100
            ],
            "size": [
                400,
                200
            ],
            "flags": [],
            "order": 14,
            "mode": 0,
            "inputs": [
                {
                    "name": "clip",
                    "type": "CLIP",
                    "link": 78,
                    "label": "CLIP",
                    "slot_index": 0
                }
            ],
            "outputs": [
                {
                    "name": "CONDITIONING",
                    "type": "CONDITIONING",
                    "links": [
                        127,
                        132
                    ],
                    "shape": 3,
                    "label": "条件",
                    "slot_index": 0
                }
            ],
            "properties": {
                "Node name for S&R": "BNK_CLIPTextEncodeAdvanced"
            },
            "widgets_values": [
                "",
                "none",
                "A1111"
            ],
            "_widget_cache_map": [],
            "category": "Custom Nodes"
        },
        {
            "id": 41,
            "type": "BNK_CLIPTextEncodeAdvanced",
            "pos": [
                -226,
                -369
            ],
            "size": [
                400,
                200
            ],
            "flags": [],
            "order": 20,
            "mode": 0,
            "inputs": [
                {
                    "name": "clip",
                    "type": "CLIP",
                    "link": 164,
                    "label": "CLIP",
                    "slot_index": 0
                },
                {
                    "name": "text",
                    "type": "STRING",
                    "link": 159,
                    "widget": {
                        "name": "text"
                    },
                    "label": "文本"
                }
            ],
            "outputs": [
                {
                    "name": "CONDITIONING",
                    "type": "CONDITIONING",
                    "links": [
                        126,
                        131
                    ],
                    "shape": 3,
                    "label": "条件",
                    "slot_index": 0
                }
            ],
            "properties": {
                "Node name for S&R": "BNK_CLIPTextEncodeAdvanced"
            },
            "widgets_values": [
                "",
                "none",
                "A1111"
            ],
            "_widget_cache_map": [],
            "category": "Custom Nodes"
        },
        {
            "id": 54,
            "type": "easy imageSize",
            "pos": [
                -399,
                221
            ],
            "size": [
                210,
                96
            ],
            "flags": [],
            "order": 10,
            "mode": 0,
            "inputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "link": 128,
                    "label": "图像",
                    "slot_index": 0
                }
            ],
            "outputs": [
                {
                    "name": "width_int",
                    "type": "INT",
                    "links": [
                        104
                    ],
                    "shape": 3,
                    "label": "宽度",
                    "slot_index": 0
                },
                {
                    "name": "height_int",
                    "
… (完整内容请下载文件查看)

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

发表回复

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

提交评论