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

线稿+参考图一键出图

线稿+参考图一键出图 是一套面向线稿提取场景的 ComfyUI 工作流,全图共 43 个节点、58 条连线。链路以 PreviewImage ×3、CLIPTextEncode ×3、KSampler ×2 为主干,输出图像,默认输出 512×512,适合需要稳定批量出图的同学。下载后直接导入即可使用,建议显存 8GB 起。

  • 核心节点:PreviewImage ×3、CLIPTextEncode ×3、KSampler ×2
  • 输出形式:输出图像 · 512×512
  • 规模:43 节点 / 58 连线
  • 建议显存:8GB 起
  • 适用场景:线稿提取与上色,涂鸦/草图直出效果图,设计与建筑场景常用。

资源头图

线稿+参考图一键出图

工作流节点图

线稿+参考图一键出图 工作流节点图

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

使用说明

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

源码预览

{
    "last_node_id": 68,
    "last_link_id": 95,
    "nodes": [
        {
            "id": 14,
            "type": "ConstrainImage|pysssss",
            "pos": [
                1770,
                280
            ],
            "size": [
                315,
                154
            ],
            "flags": [],
            "order": 13,
            "mode": 0,
            "inputs": [
                {
                    "name": "images",
                    "type": "IMAGE",
                    "link": 16,
                    "label": "图像"
                },
                {
                    "name": "max_width",
                    "type": "INT",
                    "link": 11,
                    "widget": {
                        "name": "max_width"
                    },
                    "label": "最大宽度"
                },
                {
                    "name": "max_height",
                    "type": "INT",
                    "link": 12,
                    "widget": {
                        "name": "max_height"
                    },
                    "label": "最大高度"
                }
            ],
            "outputs": [
                {
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "links": [
                        10
                    ],
                    "shape": 6,
                    "label": "图像"
                }
            ],
            "properties": {
                "Node name for S&R": "ConstrainImage|pysssss"
            },
            "widgets_values": [
                1024,
                1023,
                0,
                0,
                "no"
            ],
            "_widget_cache_map": []
        },
        {
            "id": 13,
            "type": "Int",
            "pos": [
                1770,
                150
            ],
            "size": [
                315,
                58
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "INT",
                    "type": "INT",
                    "links": [
                        11,
                        12
                    ],
                    "slot_index": 0,
                    "label": "整数"
                }
            ],
            "properties": {
                "Node name for S&R": "Int"
            },
            "widgets_values": [
                "1536"
            ],
            "_widget_cache_map": []
        },
        {
            "id": 15,
            "type": "easy imageSize",
            "pos": [
                1770,
                520
            ],
            "size": [
                307.42657470703125,
                96
            ],
            "flags": [],
            "order": 17,
            "mode": 0,
            "inputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "link": 10,
                    "label": "图像"
                }
            ],
            "outputs": [
                {
                    "name": "width_int",
                    "type": "INT",
                    "links": [],
                    "slot_index": 0,
                    "label": "宽度"
                },
                {
                    "name": "height_int",
                    "type": "INT",
                    "links": [
                        14,
                        15
                    ],
                    "slot_index": 1,
                    "label": "高度"
                }
            ],
            "properties": {
                "Node name for S&R": "easy imageSize"
            },
            "widgets_values": [
   
… (完整内容请下载文件查看)

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

发表回复

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

提交评论