workflows

图生图工作流:一键转换成高清动漫照片

图生图工作流:一键转换成高清动漫照片ComfyUI工作流效果图

{
  "last_node_id": 88,
  "last_link_id": 194,
  "nodes": [
    {
      "id": 27,
      "type": "Reroute",
      "pos": [
        -469,
        -28
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 188,
          "label": ""
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            153
          ],
          "slot_index": 0,
          "label": ""
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -860,
        -70
      ],
      "size": {
        "0": 500.7637023925781,
        "1": 98
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            194
          ],
          "slot_index": 0,
          "label": "模型"
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            168,
            169
          ],
          "slot_index": 1,
          "label": "CLIP"
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            188
          ],
          "slot_index": 2,
          "label": "VAE"
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "juggernautXL.safetensors"
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        -300,
        85
      ],
      "size": {
        "0": 342.4717712402344,
        "1": 248.5596466064453
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 168,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            151
          ],
          "slot_index": 0,
          "label": "条件"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "(best quality, masterpiece)"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        -300,
        390
      ],
      "size": {
        "0": 346.1968078613281,
        "1": 172.60350036621094
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 169,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            152
          ],
          "slot_index": 0,
          "label": "条件"
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "nsfw,worst quality,low quality,normal quality,lowres, normal quality,tooth,embedding:bad-hands-5, embedding:EasyNegative, "
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 77,
      "type": "PreviewImage",
      "pos": [
        450,
        -70
      ],
      "size": {
        "0": 533.7255249023438,
        "1": 632.37939453125
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 155,
          "label": "图像"
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 78,
      "type": "Upscale Model Loader",
      "pos": [
        -300,
        -70
      ],
      "size": {
        "0": 335.6322326660156,
        "1": 84.0946044921875
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            154
          ],
          "shape": 3,
          "label": "放大模型"
        },
        {
          "name": "MODEL_NAME_TEXT",
          "type": "STRING",
          "links": null,
          "shape": 3,
          "label": "模型名称文本"
        }
      ],
      "properties": {
        "Node name for S&R": "Upscale Model Loader"
      },
      "widgets_values": [
        "ESRGAN_4x.pth"
      ]
    },
    {
      "id": 49,
      "type": "LoadImage",
      "pos": [
        -863,
        78
      ],
      "size": {
        "0": 503.3138427734375,
        "1": 481.0639343261719
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            150
          ],
          "shape": 3,
          "label": "图像",
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3,
          "label": "遮罩"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "700d.jpg",
        "image"
      ]
    },
    {
      "id": 76,
      "type": "UltimateSDUpscale",
      "pos": [
        80,
        -70
      ],
      "size": {
        "0": 327.7586975097656,
        "1": 621.546875
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 150,
          "label": "图像"
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 194,
          "label": "模型",
          "slot_index": 1
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 151,
          "label": "正面条件",
          "slot_index": 2
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 152,
          "label": "负面条件"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 153,
          "label": "VAE"
        },
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 154,
          "label": "放大模型",
          "slot_index": 5
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            155
          ],
          "shape": 3,
          "label": "图像",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UltimateSDUpscale"
      },
      "widgets_values": [
        2,
        297429725335762,
        "fixed",
        30,
        8,
        "euler",
        "normal",
        0.35,
        "Linear",
        512,
        512,
        8,
        32,
        "Half Tile",
        1,
        64,
        8,
        16,
        "enable",
        false
      ]
    }
  ],
  "links": [
    [
      150,
      49,
      0,
      76,
      0,
      "IMAGE"
    ],
    [
      151,
      6,
      0,
      76,
      2,
      "CONDITIONING"
    ],
    [
      152,
      7,
      0,
      76,
      3,
      "CONDITIONING"
    ],
    [
      153,
      27,
      0,
      76,
      4,
      "VAE"
    ],
    [
      154,
      78,
      0,
      76,
      5,
      "UPSCALE_MODEL"
    ],
    [
      155,
      76,
      0,
      77,
      0,
      "IMAGE"
    ],
    [
      168,
      4,
      1,
      6,
      0,
      "CLIP"
    ],
    [
      169,
      4,
      1,
      7,
      0,
      "CLIP"
    ],
    [
      188,
      4,
      2,
      27,
      0,
      "*"
    ],
    [
      194,
      4,
      0,
      76,
      1,
      "MODEL"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5054470284992942,
      "offset": {
        "0": 1170.2001229263465,
        "1": 290.47025953529464
      }
    }
  },
  "version": 0.4
}