2024-08-04 13:49:00.0
无极低码 :https://wheart.cn

comfyui老照片修复工作流

comfyui老照片修复工作流,直接复制到comfyui中即可使用

ComfyUI是一个基于web的图形用户界面,用于直观地构建和运行AI模型流程。它特别适合于使用Stable Diffusion等模型进行图像生成任务。然而,ComfyUI本身并不直接提供老照片修复的功能,但你可以通过组合不同的节点来实现这一目标。


老照片修复通常涉及到几个关键步骤:


图像去噪:去除照片中的噪声。

色彩恢复:如果照片是黑白的,可能需要上色。

细节增强:增强照片的清晰度和细节。

超分辨率:提高照片的分辨率。

修复损坏部分:修复照片上的裂痕或缺失部分。

以下是一个基本的工作流示例,你可以根据自己的需求调整:


Load Image - 加载你的老照片。

Image Denoise - 使用一个去噪节点处理图像。

Colorization - 如果是黑白照片,可以使用上色节点如Colorful Image Colorization。

Enhance Detail - 使用一个增强细节的节点,例如ESPCN或Real-ESRGAN。

Super Resolution - 通过超分辨率节点提高图像质量,如ESPCN或Real-ESRGAN。

Inpainting - 如果照片有损坏的部分,可以使用Inpainting节点修复。

在ComfyUI中,你需要将这些节点连接起来形成一个工作流,然后运行它。每个节点的具体设置(如模型选择、参数调整)会根据你使用的具体版本和模型而有所不同。

{
  "last_node_id": 55,
  "last_link_id": 76,
  "nodes": [
    {
      "id": 13,
      "type": "VAEEncodeForInpaint",
      "pos": [
        230,
        1620
      ],
      "size": {
        "0": 260,
        "1": 100
      },
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 60,
          "label": "图像"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "label": "VAE"
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 49,
          "label": "遮罩"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            15,
            19
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "Latent"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncodeForInpaint"
      },
      "widgets_values": [
        6
      ],
      "color": "#1f1f48"
    },
    {
      "id": 18,
      "type": "SelfAttentionGuidance",
      "pos": [
        90,
        1320
      ],
      "size": {
        "0": 220,
        "1": 82
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": null,
          "label": "模型"
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            10
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "模型"
        }
      ],
      "properties": {
        "Node name for S&R": "SelfAttentionGuidance"
      },
      "widgets_values": [
        0.5,
        2
      ],
      "color": "#1f1f48"
    },
    {
      "id": 16,
      "type": "INPAINT_ApplyFooocusInpaint",
      "pos": [
        570,
        1480
      ],
      "size": {
        "0": 220,
        "1": 66
      },
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 17,
          "label": "模型"
        },
        {
          "name": "patch",
          "type": "INPAINT_PATCH",
          "link": 75,
          "slot_index": 1,
          "label": "局部重绘组件"
        },
        {
          "name": "latent",
          "type": "LATENT",
          "link": 19,
          "label": "Latent"
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            12,
            28
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "模型"
        }
      ],
      "properties": {
        "Node name for S&R": "INPAINT_ApplyFooocusInpaint"
      },
      "color": "#1f1f48"
    },
    {
      "id": 21,
      "type": "INPAINT_ApplyFooocusInpaint",
      "pos": [
        2110,
        1320
      ],
      "size": {
        "0": 180,
        "1": 120
      },
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 28,
          "label": "模型"
        },
        {
          "name": "patch",
          "type": "INPAINT_PATCH",
          "link": 76,
          "slot_index": 1,
          "label": "局部重绘组件"
        },
        {
          "name": "latent",
          "type": "LATENT",
          "link": 30,
          "label": "Latent"
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            24
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "模型"
        }
      ],
      "properties": {
        "Node name for S&R": "INPAINT_ApplyFooocusInpaint"
      },
      "color": "#1f1f48"
    },
    {
      "id": 22,
      "type": "VAEDecode",
      "pos": [
        2750,
        1300
      ],
      "size": {
        "0": 140,
        "1": 60
      },
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 31,
          "label": "Latent"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "label": "VAE"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            35,
            48
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "图像"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "color": "#1f1f48"
    },
    {
      "id": 38,
      "type": "TextInput_",
      "pos": [
        1060,
        780
      ],
      "size": {
        "0": 340,
        "1": 140
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            57
          ],
          "shape": 3,
          "label": "字符串",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "TextInput_"
      },
      "widgets_values": [
        "1 chinese man, "
      ]
    },
    {
      "id": 42,
      "type": "Note",
      "pos": [
        640,
        320
      ],
      "size": {
        "0": 260,
        "1": 120
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "1、在图片上右键,选择“在遮罩编辑器中打开”,涂抹需要修复的区域;\n\n2、对于破损比较严重的照片,可以把输出的图像加载,遵循少量多次修复;"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 31,
      "type": "Seed Everywhere",
      "pos": [
        260,
        940
      ],
      "size": {
        "0": 320,
        "1": 120
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": null,
          "shape": 3,
          "label": "整数"
        }
      ],
      "properties": {
        "Node name for S&R": "Seed Everywhere",
        "group_restricted": 0,
        "color_restricted": 0
      },
      "widgets_values": [
        5,
        "fixed"
      ]
    },
    {
      "id": 10,
      "type": "CLIPTextEncode",
      "pos": [
        1440,
        780
      ],
      "size": {
        "0": 300,
        "1": 120
      },
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": null,
          "label": "CLIP"
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 57,
          "widget": {
            "name": "text"
          },
          "label": "文本"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            61
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "条件"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "1 chinese man, "
      ],
      "color": "#346434"
    },
    {
      "id": 11,
      "type": "CLIPTextEncode",
      "pos": [
        1420,
        980
      ],
      "size": {
        "0": 320,
        "1": 140
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": null,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            62
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "条件"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "NEFW, worst quality, low quality, normal quality,"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 44,
      "type": "Prompts Everywhere",
      "pos": [
        1840,
        880
      ],
      "size": {
        "0": 220,
        "1": 46
      },
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "CONDITIONING",
          "type": "*",
          "link": 61,
          "color_on": "#FFA931",
          "label": "CONDITIONING"
        },
        {
          "name": "CONDITIONING",
          "type": "*",
          "link": 62,
          "color_on": "#FFA931",
          "label": "CONDITIONING"
        }
      ],
      "properties": {
        "Node name for S&R": "Prompts Everywhere",
        "group_restricted": 0,
        "color_restricted": 0
      },
      "widgets_values": []
    },
    {
      "id": 20,
      "type": "KSampler",
      "pos": [
        2350,
        1280
      ],
      "size": {
        "0": 340,
        "1": 460
      },
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 24,
          "label": "模型"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 25,
          "label": "正面条件"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 26,
          "label": "负面条件"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 27,
          "label": "Latent"
        },
        {
          "name": "seed",
          "type": "INT",
          "link": null,
          "widget": {
            "name": "seed"
          },
          "slot_index": 4,
          "label": "随机种"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            31
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "Latent"
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        755076359165464,
        "randomize",
        35,
        7,
        "dpmpp_2m",
        "karras",
        0.9
      ],
      "color": "#1f1f48"
    },
    {
      "id": 19,
      "type": "INPAINT_VAEEncodeInpaintConditioning",
      "pos": [
        1750,
        1300
      ],
      "size": {
        "0": 280,
        "1": 120
      },
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": null,
          "label": "正面条件"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": null,
          "label": "负面条件"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "label": "VAE"
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 22,
          "label": "图像"
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 23,
          "label": "遮罩"
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            25
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "正面条件"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            26
          ],
          "shape": 3,
          "slot_index": 1,
          "label": "负面条件"
        },
        {
          "name": "latent_inpaint",
          "type": "LATENT",
          "links": [
            30
          ],
          "shape": 3,
          "slot_index": 2,
          "label": "局部重绘Latent"
        },
        {
          "name": "latent_samples",
          "type": "LATENT",
          "links": [
            27
          ],
          "shape": 3,
          "slot_index": 3,
          "label": "采样Latent"
        }
      ],
      "properties": {
        "Node name for S&R": "INPAINT_VAEEncodeInpaintConditioning"
      },
      "color": "#1f1f48"
    },
    {
      "id": 32,
      "type": "Anything Everywhere3",
      "pos": [
        740,
        760
      ],
      "size": {
        "0": 220,
        "1": 66
      },
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "MODEL",
          "type": "*",
          "link": 44,
          "label": "MODEL",
          "color_on": "#B39DDB"
        },
        {
          "name": "CLIP",
          "type": "*",
          "link": 45,
          "label": "CLIP",
          "color_on": "#FFD500"
        },
        {
          "name": "VAE",
          "type": "*",
          "link": 46,
          "label": "VAE",
          "color_on": "#FF6E6E"
        }
      ],
      "properties": {
        "Node name for S&R": "Anything Everywhere3",
        "group_restricted": 0,
        "color_restricted": 0
      },
      "widgets_values": []
    },
    {
      "id": 40,
      "type": "DF_Image_scale_to_side",
      "pos": [
        640,
        920
      ],
      "size": {
        "0": 320,
        "1": 140
      },
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 58,
          "label": "image"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            59,
            60
          ],
          "shape": 3,
          "label": "IMAGE",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "DF_Image_scale_to_side"
      },
      "widgets_values": [
        1024,
        "Longest",
        "lanczos",
        "disabled"
      ]
    },
    {
      "id": 12,
      "type": "DifferentialDiffusion",
      "pos": [
        370,
        1320
      ],
      "size": {
        "0": 220,
        "1": 26
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 10,
          "label": "模型"
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            17
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "模型"
        }
      ],
      "properties": {
        "Node name for S&R": "DifferentialDiffusion"
      },
      "color": "#1f1f48"
    },
    {
      "id": 34,
      "type": "LoadImage",
      "pos": [
        390,
        190
      ],
      "size": {
        "0": 340,
        "1": 460
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            58
          ],
          "shape": 3,
          "label": "图像",
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            49
          ],
          "shape": 3,
          "label": "遮罩",
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "周恩来.png",
        "image"
      ]
    },
    {
      "id": 23,
      "type": "PreviewBridge",
      "pos": [
        1420,
        1500
      ],
      "size": {
        "0": 220,
        "1": 300
      },
      "flags": {
        "collapsed": false
      },
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 32,
          "label": "图像"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            22
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "图像"
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            23
          ],
          "shape": 3,
          "slot_index": 1,
          "label": "遮罩"
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewBridge"
      },
      "widgets_values": [
        "$23-0"
      ],
      "color": "#1f1f48"
    },
    {
      "id": 41,
      "type": "Note",
      "pos": [
        1071.4323713460108,
        1021.9813804045486
      ],
      "size": {
        "0": 280,
        "1": 120
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "填写描述照片的提示词,出图不理想,可以多抽卡几次"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 33,
      "type": "CheckpointLoaderSimple",
      "pos": [
        240,
        760
      ],
      "size": {
        "0": 460,
        "1": 100
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            44
          ],
          "shape": 3,
          "label": "模型",
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            45
          ],
          "shape": 3,
          "label": "CLIP",
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            46
          ],
          "shape": 3,
          "label": "VAE",
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "leosamsHelloworldXL_helloworldXL60.safetensors"
      ]
    },
    {
      "id": 51,
      "type": "INPAINT_LoadFooocusInpaint",
      "pos": [
        210,
        1460
      ],
      "size": {
        "0": 315,
        "1": 82
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "outputs": [
        {
          "name": "INPAINT_PATCH",
          "type": "INPAINT_PATCH",
          "links": [
            75,
            76
          ],
          "shape": 3,
          "label": "局部重绘组件"
        }
      ],
      "properties": {
        "Node name for S&R": "INPAINT_LoadFooocusInpaint"
      },
      "widgets_values": [
        "fooocus_inpaint_head.pth",
        "inpaint_v26.fooocus.patch"
      ]
    },
    {
      "id": 35,
      "type": "SaveImage",
      "pos": [
        950,
        190
      ],
      "size": {
        "0": 360,
        "1": 460
      },
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 48,
          "label": "图像"
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "老照片-破损修复-"
      ]
    },
    {
      "id": 27,
      "type": "Image Comparer (rgthree)",
      "pos": {
        "0": 2980,
        "1": 1250,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0
      },
      "size": {
        "0": 320,
        "1": 460
      },
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "image_a",
          "type": "IMAGE",
          "link": 35,
          "dir": 3,
          "label": "图像_A"
        },
        {
          "name": "image_b",
          "type": "IMAGE",
          "link": 59,
          "dir": 3,
          "label": "图像_B"
        }
      ],
      "outputs": [],
      "properties": {
        "comparer_mode": "Slide"
      },
      "widgets_values": [
        [
          {
            "name": "A",
            "selected": true,
            "url": "/view?filename=rgthree.compare._temp_gakbm_00001_.png&type=temp&subfolder=&rand=0.2013629334663085"
          },
          {
            "name": "B",
            "selected": true,
            "url": "/view?filename=rgthree.compare._temp_gakbm_00002_.png&type=temp&subfolder=&rand=0.03174877341319626"
          }
        ]
      ],
      "color": "#006691"
    },
    {
      "id": 14,
      "type": "KSampler",
      "pos": [
        850,
        1300
      ],
      "size": {
        "0": 320,
        "1": 460
      },
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 12,
          "label": "模型"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": null,
          "label": "正面条件"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": null,
          "label": "负面条件"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 15,
          "label": "Latent"
        },
        {
          "name": "seed",
          "type": "INT",
          "link": null,
          "widget": {
            "name": "seed"
          },
          "slot_index": 4,
          "label": "随机种"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            16
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "Latent"
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        94421575069660,
        "randomize",
        35,
        7,
        "dpmpp_2m",
        "karras",
        1
      ],
      "color": "#1f1f48"
    },
    {
      "id": 15,
      "type": "VAEDecode",
      "pos": [
        1230,
        1300
      ],
      "size": {
        "0": 140,
        "1": 60
      },
      "flags": {
        "collapsed": false
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 16,
          "label": "Latent"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "label": "VAE"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            32
          ],
          "shape": 3,
          "slot_index": 0,
          "label": "图像"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "color": "#1f1f48"
    },
    {
      "id": 55,
      "type": "Note",
      "pos": [
        230,
        -40
      ],
      "size": {
        "0": 330,
        "1": 110
      },
      "flags": {
        "collapsed": false
      },
      "order": 9,
      "mode": 0,
      "properties": {
        "text": "无极低码"
      },
      "widgets_values": [
        "comfyui老照片修复工作流"
      ],
      "color": "#322",
      "bgcolor": "#533",
      "shape": 1
    },
    {
      "id": 43,
      "type": "Note",
      "pos": [
        -40,
        20
      ],
      "size": {
        "0": 210,
        "1": 140
      },
      "flags": {
        "pinned": true
      },
      "order": 10,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "\n***  老照片破损修复工作流  ***\n\n无极低码\nhttps://wheart.cn"
      ],
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      10,
      18,
      0,
      12,
      0,
      "MODEL"
    ],
    [
      12,
      16,
      0,
      14,
      0,
      "MODEL"
    ],
    [
      15,
      13,
      0,
      14,
      3,
      "LATENT"
    ],
    [
      16,
      14,
      0,
      15,
      0,
      "LATENT"
    ],
    [
      17,
      12,
      0,
      16,
      0,
      "MODEL"
    ],
    [
      19,
      13,
      0,
      16,
      2,
      "LATENT"
    ],
    [
      22,
      23,
      0,
      19,
      3,
      "IMAGE"
    ],
    [
      23,
      23,
      1,
      19,
      4,
      "MASK"
    ],
    [
      24,
      21,
      0,
      20,
      0,
      "MODEL"
    ],
    [
      25,
      19,
      0,
      20,
      1,
      "CONDITIONING"
    ],
    [
      26,
      19,
      1,
      20,
      2,
      "CONDITIONING"
    ],
    [
      27,
      19,
      3,
      20,
      3,
      "LATENT"
    ],
    [
      28,
      16,
      0,
      21,
      0,
      "MODEL"
    ],
    [
      30,
      19,
      2,
      21,
      2,
      "LATENT"
    ],
    [
      31,
      20,
      0,
      22,
      0,
      "LATENT"
    ],
    [
      32,
      15,
      0,
      23,
      0,
      "IMAGE"
    ],
    [
      35,
      22,
      0,
      27,
      0,
      "IMAGE"
    ],
    [
      44,
      33,
      0,
      32,
      0,
      "MODEL"
    ],
    [
      45,
      33,
      1,
      32,
      1,
      "CLIP"
    ],
    [
      46,
      33,
      2,
      32,
      2,
      "VAE"
    ],
    [
      48,
      22,
      0,
      35,
      0,
      "IMAGE"
    ],
    [
      49,
      34,
      1,
      13,
      2,
      "MASK"
    ],
    [
      57,
      38,
      0,
      10,
      1,
      "STRING"
    ],
    [
      58,
      34,
      0,
      40,
      0,
      "IMAGE"
    ],
    [
      59,
      40,
      0,
      27,
      1,
      "IMAGE"
    ],
    [
      60,
      40,
      0,
      13,
      0,
      "IMAGE"
    ],
    [
      61,
      10,
      0,
      44,
      0,
      "CONDITIONING"
    ],
    [
      62,
      11,
      0,
      44,
      1,
      "CONDITIONING"
    ],
    [
      75,
      51,
      0,
      16,
      1,
      "INPAINT_PATCH"
    ],
    [
      76,
      51,
      0,
      21,
      1,
      "INPAINT_PATCH"
    ]
  ],
  "groups": [
    {
      "title": "1、载入老照片&蒙版涂抹破损区域",
      "bounding": [
        220,
        80,
        1140,
        580
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "2、描述破损区域提示词",
      "bounding": [
        1020,
        680,
        1080,
        460
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "3、破损修复",
      "bounding": [
        70,
        1180,
        3280,
        600
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "加载大模型",
      "bounding": [
        220,
        680,
        780,
        420
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.45,
      "offset": [
        1097.2222222222224,
        646.6666666666671
      ]
    },
    "workspace_info": {
      "id": "ebah-ocqimNRQmFG0EO2C"
    }
  },
  "version": 0.4


}


无极低码 :https://wheart.cn
最新文章