workflows

三阶放大comfyui工作流

三阶放大comfyui工作流

{
  "last_node_id": 48,
  "last_link_id": 86,
  "nodes": [
    {
      "id": 5,
      "type": "EmptyLatentImage",
      "pos": [
        415,
        664
      ],
      "size": {
        "0": 420.47265625,
        "1": 106
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            38
          ],
          "slot_index": 0,
          "label": "LATENT"
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        832,
        1216,
        1
      ]
    },
    {
      "id": 32,
      "type": "ImageUpscaleWithModel",
      "pos": [
        1310,
        510
      ],
      "size": {
        "0": 241.79998779296875,
        "1": 46
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 51,
          "label": "upscale_model",
          "slot_index": 0
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 54,
          "label": "image"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            56
          ],
          "shape": 3,
          "label": "IMAGE",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel"
      }
    },
    {
      "id": 42,
      "type": "UpscaleModelLoader",
      "pos": [
        1960,
        420
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            82
          ],
          "shape": 3,
          "label": "UPSCALE_MODEL"
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "4x_NMKD-Siax_200k.pth"
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        875,
        575
      ],
      "size": {
        "0": 307.83050537109375,
        "1": 46
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 39,
          "label": "samples"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 40,
          "label": "vae"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            9,
            54
          ],
          "slot_index": 0,
          "label": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        879,
        680
      ],
      "size": {
        "0": 467.6610107421875,
        "1": 400.62841796875
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9,
          "label": "images"
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 47,
      "type": "SaveImage",
      "pos": [
        1476,
        688
      ],
      "size": {
        "0": 500.7330017089844,
        "1": 389.30560302734375
      },
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 66,
          "label": "images",
          "slot_index": 0
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 48,
      "type": "SaveImage",
      "pos": [
        2183,
        707
      ],
      "size": {
        "0": 449.1064758300781,
        "1": 364.7237243652344
      },
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 67,
          "label": "images",
          "slot_index": 0
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 40,
      "type": "ImageScaleBy",
      "pos": [
        1240,
        290
      ],
      "size": {
        "0": 315,
        "1": 82
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 56,
          "label": "image"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            80
          ],
          "shape": 3,
          "label": "IMAGE",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScaleBy"
      },
      "widgets_values": [
        "lanczos",
        0.38
      ]
    },
    {
      "id": 46,
      "type": "ImageScaleBy",
      "pos": [
        1960,
        300
      ],
      "size": {
        "0": 315,
        "1": 82
      },
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 62,
          "label": "image"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            81
          ],
          "shape": 3,
          "label": "IMAGE",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScaleBy"
      },
      "widgets_values": [
        "lanczos",
        0.38
      ]
    },
    {
      "id": 33,
      "type": "UpscaleModelLoader",
      "pos": [
        1240,
        410
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            51
          ],
          "shape": 3,
          "label": "UPSCALE_MODEL"
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "4x_NMKD-Siax_200k.pth"
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        415,
        186
      ],
      "size": {
        "0": 421.5708312988281,
        "1": 214.93714904785156
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 46,
          "label": "clip"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            44,
            68,
            70
          ],
          "slot_index": 0,
          "label": "CONDITIONING"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "cinematic film stills, masterpiece, best quality, ultra_detailed, high,absurdres, Pretty female explorer, suit with integrated cybernetics,  arab clothes with intricate details, short hair, hood, scarf, cloak, 1 girl, dim ligthing, full body view, volume lighting, rim lighting, futuristic, scifi, outdoor, desert city,"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        412,
        440
      ],
      "size": {
        "0": 425.27801513671875,
        "1": 180.6060791015625
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 47,
          "label": "clip"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            43,
            69,
            71
          ],
          "slot_index": 0,
          "label": "CONDITIONING"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "blurry, worst quality, 3D, cgi, drawing, mouth open"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 28,
      "type": "KSamplerAdvanced",
      "pos": [
        869,
        186
      ],
      "size": {
        "0": 315,
        "1": 334
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 76,
          "label": "model"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 44,
          "label": "positive"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 43,
          "label": "negative"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 38,
          "label": "latent_image",
          "slot_index": 3
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            39
          ],
          "shape": 3,
          "label": "LATENT",
          "slot_index": 0
        }
      ],
      "title": "KSampler (Advanced)stage1",
      "properties": {
        "Node name for S&R": "KSamplerAdvanced"
      },
      "widgets_values": [
        "enable",
        32,
        "fixed",
        8,
        1.8,
        "euler_ancestral",
        "exponential",
        0,
        8,
        "enable"
      ]
    },
    {
      "id": 36,
      "type": "KSamplerAdvanced",
      "pos": [
        1590,
        200
      ],
      "size": {
        "0": 319.4461669921875,
        "1": 334
      },
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 77,
          "label": "model"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 68,
          "label": "positive"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 69,
          "label": "negative"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 53,
          "label": "latent_image",
          "slot_index": 3
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            55
          ],
          "shape": 3,
          "label": "LATENT",
          "slot_index": 0
        }
      ],
      "title": "KSampler (Advanced)stage2",
      "properties": {
        "Node name for S&R": "KSamplerAdvanced"
      },
      "widgets_values": [
        "enable",
        32,
        "fixed",
        14,
        1.8,
        "dpmpp_2m_sde",
        "normal",
        9,
        14,
        "enable"
      ]
    },
    {
      "id": 30,
      "type": "LoraLoader",
      "pos": [
        30,
        400
      ],
      "size": {
        "0": 294.3116455078125,
        "1": 126
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 49,
          "label": "model"
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 50,
          "label": "clip",
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            76,
            77,
            78
          ],
          "shape": 3,
          "label": "MODEL",
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            46,
            47
          ],
          "shape": 3,
          "label": "CLIP",
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoader"
      },
      "widgets_values": [
        "Abandoned_SDXL.safetensors",
        1,
        0.5
      ]
    },
    {
      "id": 43,
      "type": "KSamplerAdvanced",
      "pos": [
        2311,
        214
      ],
      "size": {
        "0": 319.4461669921875,
        "1": 334
      },
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 78,
          "label": "model"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 70,
          "label": "positive"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 71,
          "label": "negative"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 59,
          "label": "latent_image",
          "slot_index": 3
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            61
          ],
          "shape": 3,
          "label": "LATENT",
          "slot_index": 0
        }
      ],
      "title": "KSampler (Advanced)stage3",
      "properties": {
        "Node name for S&R": "KSamplerAdvanced"
      },
      "widgets_values": [
        "enable",
        32,
        "fixed",
        20,
        1.8,
        "dpmpp_2m_sde",
        "normal",
        15,
        20,
        "disable"
      ]
    },
    {
      "id": 38,
      "type": "VAEEncode",
      "pos": [
        1350,
        200
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 80,
          "label": "pixels"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 83,
          "label": "vae"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            53
          ],
          "shape": 3,
          "label": "LATENT",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode"
      }
    },
    {
      "id": 41,
      "type": "ImageUpscaleWithModel",
      "pos": [
        2030,
        520
      ],
      "size": {
        "0": 241.79998779296875,
        "1": 46
      },
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 82,
          "label": "upscale_model",
          "slot_index": 0
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 63,
          "label": "image"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            62
          ],
          "shape": 3,
          "label": "IMAGE",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel"
      }
    },
    {
      "id": 39,
      "type": "VAEDecode",
      "pos": [
        1600,
        580
      ],
      "size": {
        "0": 310.2900390625,
        "1": 46
      },
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 55,
          "label": "samples"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 84,
          "label": "vae",
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            63,
            66
          ],
          "shape": 3,
          "label": "IMAGE",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        34,
        427
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            49
          ],
          "slot_index": 0,
          "label": "MODEL"
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            50
          ],
          "slot_index": 1,
          "label": "CLIP"
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            40,
            83,
            84,
            85,
            86
          ],
          "slot_index": 2,
          "label": "VAE"
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "juggernautXL.safetensors"
      ]
    },
    {
      "id": 44,
      "type": "VAEEncode",
      "pos": [
        2070,
        210
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 81,
          "label": "pixels"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 85,
          "label": "vae",
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            59
          ],
          "shape": 3,
          "label": "LATENT",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode"
      }
    },
    {
      "id": 45,
      "type": "VAEDecode",
      "pos": [
        2320,
        590
      ],
      "size": {
        "0": 310.2900390625,
        "1": 46
      },
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 61,
          "label": "samples"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 86,
          "label": "vae",
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            67
          ],
          "shape": 3,
          "label": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    }
  ],
  "links": [
    [
      9,
      8,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      38,
      5,
      0,
      28,
      3,
      "LATENT"
    ],
    [
      39,
      28,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      40,
      4,
      2,
      8,
      1,
      "VAE"
    ],
    [
      43,
      7,
      0,
      28,
      2,
      "CONDITIONING"
    ],
    [
      44,
      6,
      0,
      28,
      1,
      "CONDITIONING"
    ],
    [
      46,
      30,
      1,
      6,
      0,
      "CLIP"
    ],
    [
      47,
      30,
      1,
      7,
      0,
      "CLIP"
    ],
    [
      49,
      4,
      0,
      30,
      0,
      "MODEL"
    ],
    [
      50,
      4,
      1,
      30,
      1,
      "CLIP"
    ],
    [
      51,
      33,
      0,
      32,
      0,
      "UPSCALE_MODEL"
    ],
    [
      53,
      38,
      0,
      36,
      3,
      "LATENT"
    ],
    [
      54,
      8,
      0,
      32,
      1,
      "IMAGE"
    ],
    [
      55,
      36,
      0,
      39,
      0,
      "LATENT"
    ],
    [
      56,
      32,
      0,
      40,
      0,
      "IMAGE"
    ],
    [
      59,
      44,
      0,
      43,
      3,
      "LATENT"
    ],
    [
      61,
      43,
      0,
      45,
      0,
      "LATENT"
    ],
    [
      62,
      41,
      0,
      46,
      0,
      "IMAGE"
    ],
    [
      63,
      39,
      0,
      41,
      1,
      "IMAGE"
    ],
    [
      66,
      39,
      0,
      47,
      0,
      "IMAGE"
    ],
    [
      67,
      45,
      0,
      48,
      0,
      "IMAGE"
    ],
    [
      68,
      6,
      0,
      36,
      1,
      "CONDITIONING"
    ],
    [
      69,
      7,
      0,
      36,
      2,
      "CONDITIONING"
    ],
    [
      70,
      6,
      0,
      43,
      1,
      "CONDITIONING"
    ],
    [
      71,
      7,
      0,
      43,
      2,
      "CONDITIONING"
    ],
    [
      76,
      30,
      0,
      28,
      0,
      "MODEL"
    ],
    [
      77,
      30,
      0,
      36,
      0,
      "MODEL"
    ],
    [
      78,
      30,
      0,
      43,
      0,
      "MODEL"
    ],
    [
      80,
      40,
      0,
      38,
      0,
      "IMAGE"
    ],
    [
      81,
      46,
      0,
      44,
      0,
      "IMAGE"
    ],
    [
      82,
      42,
      0,
      41,
      0,
      "UPSCALE_MODEL"
    ],
    [
      83,
      4,
      2,
      38,
      1,
      "VAE"
    ],
    [
      84,
      4,
      2,
      39,
      1,
      "VAE"
    ],
    [
      85,
      4,
      2,
      44,
      1,
      "VAE"
    ],
    [
      86,
      4,
      2,
      45,
      1,
      "VAE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "workspace_info": {
      "id": "xUfRbM4Itvd1Cqlne-VQG"
    },
    "ds": {
      "scale": 0.6115909044841465,
      "offset": [
        -43.06590402095989,
        -23.740885640946903
      ]
    }
  },
  "version": 0.4
}