{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        827.0055244008744,
        533.4359512624814
      ],
      "scale": 0.7647939465671223
    },
    "frontendVersion": "1.29.2"
  },
  "groups": [
    {
      "bounding": [
        -120,
        -470,
        460,
        490
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 1,
      "title": "Prompt"
    },
    {
      "bounding": [
        -490,
        -470,
        360,
        300
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Load models"
    },
    {
      "bounding": [
        -490,
        40,
        830,
        690
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Reference images"
    },
    {
      "bounding": [
        -490,
        -160,
        360,
        180
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 5,
      "title": "Image size"
    }
  ],
  "id": "22fbfe6b-e7d7-4193-8409-8599b5dce771",
  "last_link_id": 106,
  "last_node_id": 41,
  "links": [
    [
      2,
      5,
      0,
      3,
      3,
      "LATENT"
    ],
    [
      6,
      7,
      0,
      3,
      2,
      "CONDITIONING"
    ],
    [
      7,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      9,
      8,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      23,
      6,
      0,
      19,
      0,
      "CONDITIONING"
    ],
    [
      24,
      13,
      0,
      19,
      1,
      "CLIP_VISION_OUTPUT"
    ],
    [
      95,
      34,
      0,
      13,
      1,
      "IMAGE"
    ],
    [
      96,
      19,
      0,
      37,
      0,
      "CONDITIONING"
    ],
    [
      97,
      37,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      98,
      38,
      0,
      36,
      1,
      "IMAGE"
    ],
    [
      100,
      36,
      0,
      37,
      1,
      "CLIP_VISION_OUTPUT"
    ],
    [
      101,
      39,
      0,
      13,
      0,
      "CLIP_VISION"
    ],
    [
      102,
      39,
      0,
      36,
      0,
      "CLIP_VISION"
    ],
    [
      103,
      40,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      104,
      40,
      1,
      6,
      0,
      "CLIP"
    ],
    [
      105,
      40,
      1,
      7,
      0,
      "CLIP"
    ],
    [
      106,
      40,
      2,
      8,
      1,
      "VAE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 39,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            101,
            102
          ],
          "name": "CLIP_VISION",
          "slot_index": 0,
          "type": "CLIP_VISION"
        }
      ],
      "pos": [
        -470,
        -240
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "clip_vision",
            "name": "clip_vision_g.safetensors",
            "url": "https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors?download=true"
          }
        ],
        "ver": "0.3.65"
      },
      "size": [
        315,
        58
      ],
      "type": "CLIPVisionLoader",
      "widgets_values": [
        "clip_vision_g.safetensors"
      ]
    },
    {
      "bgcolor": "#335",
      "color": "#223",
      "flags": {},
      "id": 7,
      "inputs": [
        {
          "link": 105,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            6
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        -100,
        -180
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        425.2799987792969,
        180.61000061035156
      ],
      "type": "CLIPTextEncode",
      "widgets_values": [
        "text, watermark"
      ]
    },
    {
      "flags": {},
      "id": 34,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            95
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -480,
        110
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        330,
        340
      ],
      "type": "LoadImage",
      "widgets_values": [
        "sdxl_revision_text_prompts_ref_image1.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 13,
      "inputs": [
        {
          "link": 101,
          "name": "clip_vision",
          "type": "CLIP_VISION"
        },
        {
          "link": 95,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            24
          ],
          "name": "CLIP_VISION_OUTPUT",
          "slot_index": 0,
          "type": "CLIP_VISION_OUTPUT"
        }
      ],
      "pos": [
        -480,
        490
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        330,
        78
      ],
      "type": "CLIPVisionEncode",
      "widgets_values": [
        "center"
      ]
    },
    {
      "flags": {},
      "id": 19,
      "inputs": [
        {
          "link": 23,
          "name": "conditioning",
          "type": "CONDITIONING"
        },
        {
          "link": 24,
          "name": "clip_vision_output",
          "type": "CLIP_VISION_OUTPUT"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            96
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        -480,
        610
      ],
      "properties": {
        "Node name for S&R": "unCLIPConditioning",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        330,
        102
      ],
      "type": "unCLIPConditioning",
      "widgets_values": [
        0.75,
        0
      ]
    },
    {
      "flags": {},
      "id": 36,
      "inputs": [
        {
          "link": 102,
          "name": "clip_vision",
          "type": "CLIP_VISION"
        },
        {
          "link": 98,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            100
          ],
          "name": "CLIP_VISION_OUTPUT",
          "slot_index": 0,
          "type": "CLIP_VISION_OUTPUT"
        }
      ],
      "pos": [
        -70,
        490
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        340,
        78
      ],
      "type": "CLIPVisionEncode",
      "widgets_values": [
        "center"
      ]
    },
    {
      "flags": {},
      "id": 37,
      "inputs": [
        {
          "link": 96,
          "name": "conditioning",
          "type": "CONDITIONING"
        },
        {
          "link": 100,
          "name": "clip_vision_output",
          "type": "CLIP_VISION_OUTPUT"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            97
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        -70,
        610
      ],
      "properties": {
        "Node name for S&R": "unCLIPConditioning",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        340,
        102
      ],
      "type": "unCLIPConditioning",
      "widgets_values": [
        0.75,
        0
      ]
    },
    {
      "flags": {},
      "id": 40,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            103
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        },
        {
          "links": [
            104,
            105
          ],
          "name": "CLIP",
          "slot_index": 1,
          "type": "CLIP"
        },
        {
          "links": [
            106
          ],
          "name": "VAE",
          "slot_index": 2,
          "type": "VAE"
        }
      ],
      "pos": [
        -470,
        -400
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "checkpoints",
            "name": "sd_xl_base_1.0.safetensors",
            "url": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors?download=true"
          }
        ],
        "ver": "0.3.65"
      },
      "size": [
        315,
        98
      ],
      "type": "CheckpointLoaderSimple",
      "widgets_values": [
        "sd_xl_base_1.0.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 5,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            2
          ],
          "name": "LATENT",
          "slot_index": 0,
          "type": "LATENT"
        }
      ],
      "pos": [
        -480,
        -90
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        340,
        106
      ],
      "type": "EmptyLatentImage",
      "widgets_values": [
        1024,
        1024,
        1
      ]
    },
    {
      "flags": {},
      "id": 38,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            98
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -60,
        110
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        330,
        340
      ],
      "type": "LoadImage",
      "widgets_values": [
        "sdxl_revision_text_prompts_ref_image2.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 103,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 97,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 6,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 2,
          "name": "latent_image",
          "type": "LATENT"
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            7
          ],
          "name": "LATENT",
          "slot_index": 0,
          "type": "LATENT"
        }
      ],
      "pos": [
        370,
        -430
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        310,
        474
      ],
      "type": "KSampler",
      "widgets_values": [
        900749379955168,
        "randomize",
        26,
        8,
        "dpmpp_3m_sde_gpu",
        "exponential",
        1
      ]
    },
    {
      "flags": {},
      "id": 9,
      "inputs": [
        {
          "link": 9,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [],
      "pos": [
        710,
        -420
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        635.1900024414062,
        692.8200073242188
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 41,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        -960,
        -440
      ],
      "properties": {},
      "size": [
        460,
        310
      ],
      "type": "MarkdownNote",
      "widgets_values": [
        "🛈 [Learn more about this workflow](https://comfyanonymous.github.io/ComfyUI_examples/sdxl/#revision)\n\n\n## Model links\n\n**checkpoints**\n\n- [sd_xl_base_1.0.safetensors](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors)\n\n**clip_vision**\n\n- [clip_vision_g.safetensors](https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 checkpoints/\n│   │      └── sd_xl_base_1.0.safetensors\n│   └── 📂 clip_vision/\n│          └── clip_vision_g.safetensors\n```\n"
      ]
    },
    {
      "flags": {},
      "id": 8,
      "inputs": [
        {
          "link": 7,
          "name": "samples",
          "type": "LATENT"
        },
        {
          "link": 106,
          "name": "vae",
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            9
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        }
      ],
      "pos": [
        470,
        90
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        210,
        46
      ],
      "type": "VAEDecode",
      "widgets_values": []
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 6,
      "inputs": [
        {
          "link": 104,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            23
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        -110,
        -400
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        422.8500061035156,
        164.30999755859375
      ],
      "type": "CLIPTextEncode",
      "widgets_values": [
        "car, city, anime style"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}