workflows

图生图生成动漫效果ComfyUI工作流

图生图生成动漫效果ComfyUI工作流

{
  "last_node_id": 12,
  "last_link_id": 11,
  "nodes": [
    {
      "id": 9,
      "type": "VAEEncodeTiled_TiledDiffusion",
      "pos": [
        1232,
        212
      ],
      "size": {
        "0": 301.6171875,
        "1": 126
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 8,
          "label": "图像"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "label": "VAE"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            7
          ],
          "shape": 3,
          "label": "Latent",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncodeTiled_TiledDiffusion"
      },
      "widgets_values": [
        512,
        true,
        true
      ]
    },
    {
      "id": 11,
      "type": "SaveImage",
      "pos": [
        1620.0625,
        348.59375
      ],
      "size": {
        "0": 311.62109375,
        "1": 301.66015625
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 10,
          "label": "图像"
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 10,
      "type": "VAEDecodeTiled",
      "pos": [
        1614.0625,
        214.59375
      ],
      "size": {
        "0": 315,
        "1": 78
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 9,
          "label": "Latent"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "label": "VAE"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            10
          ],
          "shape": 3,
          "label": "图像",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecodeTiled"
      },
      "widgets_values": [
        512
      ]
    },
    {
      "id": 4,
      "type": "CLIPTextEncode",
      "pos": [
        791,
        478
      ],
      "size": [
        354.6171875,
        171.4609375
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": null,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            6
          ],
          "shape": 3,
          "label": "条件",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 5,
      "type": "LoadImage",
      "pos": [
        394,
        382
      ],
      "size": [
        327.1484375,
        295.34765625
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            8
          ],
          "shape": 3,
          "label": "图像",
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3,
          "label": "遮罩"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "liu.jpg",
        "image"
      ]
    },
    {
      "id": 1,
      "type": "CheckpointLoaderSimple",
      "pos": [
        395,
        158
      ],
      "size": [
        318.734375,
        98
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1
          ],
          "shape": 3,
          "label": "模型",
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2
          ],
          "shape": 3,
          "label": "CLIP",
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            3
          ],
          "shape": 3,
          "label": "VAE",
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "juggernautXL.safetensors"
      ]
    },
    {
      "id": 2,
      "type": "Anything Everywhere3",
      "pos": [
        406,
        317
      ],
      "size": [
        229.9375,
        66
      ],
      "flags": {
        "collapsed": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "MODEL",
          "type": "*",
          "link": 1,
          "label": "MODEL",
          "color_on": "#B39DDB"
        },
        {
          "name": "CLIP",
          "type": "*",
          "link": 2,
          "label": "CLIP",
          "color_on": "#FFD500"
        },
        {
          "name": "VAE",
          "type": "*",
          "link": 3,
          "label": "VAE",
          "color_on": "#FF6E6E"
        }
      ],
      "properties": {
        "Node name for S&R": "Anything Everywhere3",
        "group_restricted": 0,
        "color_restricted": 0
      },
      "widgets_values": []
    },
    {
      "id": 3,
      "type": "CLIPTextEncode",
      "pos": [
        787,
        215
      ],
      "size": [
        365.9140625,
        200.421875
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": null,
          "label": "CLIP"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            5
          ],
          "shape": 3,
          "label": "条件",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 12,
      "type": "TiledDiffusion",
      "pos": [
        764,
        -96
      ],
      "size": [
        413.9765625,
        187.67578125
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": null,
          "label": "模型"
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            11
          ],
          "shape": 3,
          "label": "模型",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "TiledDiffusion"
      },
      "widgets_values": [
        "Mixture of Diffusers",
        768,
        768,
        64,
        4
      ]
    },
    {
      "id": 8,
      "type": "KSampler",
      "pos": [
        1238,
        392
      ],
      "size": {
        "0": 293.5078125,
        "1": 262
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 11,
          "label": "模型"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 5,
          "label": "正面条件"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 6,
          "label": "负面条件"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 7,
          "label": "Latent"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            9
          ],
          "shape": 3,
          "label": "Latent",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1039969908763152,
        "randomize",
        32,
        7,
        "dpmpp_2m",
        "normal",
        0.61
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "MODEL"
    ],
    [
      2,
      1,
      1,
      2,
      1,
      "CLIP"
    ],
    [
      3,
      1,
      2,
      2,
      2,
      "VAE"
    ],
    [
      5,
      3,
      0,
      8,
      1,
      "CONDITIONING"
    ],
    [
      6,
      4,
      0,
      8,
      2,
      "CONDITIONING"
    ],
    [
      7,
      9,
      0,
      8,
      3,
      "LATENT"
    ],
    [
      8,
      5,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      9,
      8,
      0,
      10,
      0,
      "LATENT"
    ],
    [
      10,
      10,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      11,
      12,
      0,
      8,
      0,
      "MODEL"
    ]
  ],
  "groups": [
    {
      "title": "Group3",
      "bounding": [
        1592,
        124,
        363,
        557
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "Group2",
      "bounding": [
        1211,
        123,
        344,
        555
      ],
      "color": "#A88",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "Group1",
      "bounding": [
        761,
        122,
        422,
        557
      ],
      "color": "#b58b2a",
      "font_size": 24,
      "locked": false
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.683013455365071,
      "offset": [
        -227.97982109375,
        213.9902539062495
      ]
    }
  },
  "version": 0.4
}