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

老照片上色

这是一份开箱即用的线稿提取工作流(SD 1.5、ControlNet),拖入 ComfyUI 即可运行,全图 24 节点 / 33 连线。核心流程 ControlNetApplyAdvanced ×3、ControlNetLoader ×3、PreviewImage ×3,输出图像,参数已调好,替换输入图即可复现效果。主模型 vae-ft-mse-840000-ema-pruned.safetensors、control_v11f1p_sd15_depth.pth、control_v11p_sd15_openpose.pth。下载后直接导入即可使用,建议显存 4GB 起。

  • 主模型:vae-ft-mse-840000-ema-pruned.safetensors、control_v11f1p_sd15_depth.pth、control_v11p_sd15_openpose.pth
  • 核心节点:ControlNetApplyAdvanced ×3、ControlNetLoader ×3、PreviewImage ×3
  • 输出形式:输出图像
  • 规模:24 节点 / 33 连线
  • 建议显存:4GB 起
  • 适用场景:线稿提取与上色,涂鸦/草图直出效果图,设计与建筑场景常用。

工作流节点图

老照片上色 工作流节点图

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

资源头图

老照片上色

使用说明

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

源码预览

{
    "last_node_id": 58,
    "last_link_id": 208,
    "nodes": [
        {
            "id": 7,
            "type": "CLIPTextEncode",
            "pos": [
                373,
                248
            ],
            "size": [
                425.27801513671875,
                180.6060791015625
            ],
            "flags": [],
            "order": 7,
            "mode": 0,
            "inputs": [
                {
                    "name": "clip",
                    "type": "CLIP",
                    "link": 5
                }
            ],
            "outputs": [
                {
                    "name": "CONDITIONING",
                    "type": "CONDITIONING",
                    "links": [
                        61
                    ],
                    "slot_index": 0
                }
            ],
            "properties": {
                "Node name for S&R": "CLIPTextEncode"
            },
            "widgets_values": [
                "drawing,paiting,crayon,sketch,graphite,impressionist,noisy,blurry,soft,deformed,ugly,lowers,bad anatomy,bad hands,text,error,missing fingers,extra digit,fewer digits,cropped,worst quality,low quality,normal quality,jpeg artifacts,signature,watermark,username,(monochrome,greyscale,old photo), text"
            ]
        },
        {
            "id": 8,
            "type": "VAEDecode",
            "pos": [
                1212,
                53
            ],
            "size": [
                210,
                46
            ],
            "flags": [],
            "order": 21,
            "mode": 0,
            "inputs": [
                {
                    "name": "samples",
                    "type": "LATENT",
                    "link": 7
                },
                {
                    "name": "vae",
                    "type": "VAE",
                    "link": 133,
                    "slot_index": 1
                }
            ],
            "outputs": [
                {
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "links": [
                        186
                    ],
                    "slot_index": 0
                }
            ],
            "properties": {
                "Node name for S&R": "VAEDecode"
            }
        },
        {
            "id": 40,
            "type": "VAELoader",
            "pos": [
                1212,
                153
            ],
            "size": [
                315,
                58
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "outputs": [
                {
                    "name": "VAE",
                    "type": "VAE",
                    "links": [
                        127,
                        133
                    ],
                    "shape": 3,
                    "slot_index": 0
                }
            ],
            "properties": {
                "Node name for S&R": "VAELoader"
            },
            "widgets_values": [
                "vae-ft-mse-840000-ema-pruned.safetensors"
            ]
        },
        {
            "id": 37,
            "type": "VAEEncode",
            "pos": [
                1214,
                264
            ],
            "size": [
                210,
                46
            ],
            "flags": [],
            "order": 12,
            "mode": 0,
            "inputs": [
                {
                    "name": "pixels",
                    "type": "IMAGE",
                    "link": 188,
                    "slot_index": 0
                },
                {
                    "name": "vae",
                    "type": "VAE",
                    "link": 127,
                  
… (完整内容请下载文件查看)

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

发表回复

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

提交评论