{
  "id": "d743594a-9b1f-4a56-8178-cf07b38791ca",
  "revision": 0,
  "last_node_id": 17,
  "last_link_id": 25,
  "nodes": [
    {
      "id": 1,
      "type": "UNETLoader",
      "pos": [
        -0.21739130434783838,
        -0.43478260869562857
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "unet_name",
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          }
        },
        {
          "localized_name": "weight_dtype",
          "name": "weight_dtype",
          "type": "COMBO",
          "widget": {
            "name": "weight_dtype"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "MODEL",
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            3
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "models": [
          {
            "name": "qwen_image_2.1_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_int8_convrot.safetensors",
        "default"
      ]
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        -0.21739130434781373,
        155.2173913043478
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "clip_name",
          "name": "clip_name",
          "type": "COMBO",
          "widget": {
            "name": "clip_name"
          }
        },
        {
          "localized_name": "type",
          "name": "type",
          "type": "COMBO",
          "widget": {
            "name": "type"
          }
        },
        {
          "localized_name": "device",
          "name": "device",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "device"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "CLIP",
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            17
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "qwen3vl_8b_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_8b_int8_convrot.safetensors",
        "qwen_image",
        "default"
      ]
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        -0.21739130434781373,
        330
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "vae_name",
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "VAE",
          "name": "VAE",
          "type": "VAE",
          "links": [
            12,
            19
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "qwen_image_2.1_vae_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_vae_bf16.safetensors"
      ]
    },
    {
      "id": 8,
      "type": "KSampler",
      "pos": [
        1179.9913043478261,
        39.98260869565215
      ],
      "size": [
        270,
        262
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "link": 3
        },
        {
          "localized_name": "positive",
          "name": "positive",
          "type": "CONDITIONING",
          "link": 20
        },
        {
          "localized_name": "negative",
          "name": "negative",
          "type": "CONDITIONING",
          "link": 21
        },
        {
          "localized_name": "latent_image",
          "name": "latent_image",
          "type": "LATENT",
          "link": 22
        },
        {
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "localized_name": "steps",
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          }
        },
        {
          "localized_name": "cfg",
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          }
        },
        {
          "localized_name": "sampler_name",
          "name": "sampler_name",
          "type": "COMBO",
          "widget": {
            "name": "sampler_name"
          }
        },
        {
          "localized_name": "scheduler",
          "name": "scheduler",
          "type": "COMBO",
          "widget": {
            "name": "scheduler"
          }
        },
        {
          "localized_name": "denoise",
          "name": "denoise",
          "type": "FLOAT",
          "widget": {
            "name": "denoise"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "LATENT",
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            11
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        632152419474798,
        "fixed",
        40,
        1,
        "euler",
        "simple",
        1
      ]
    },
    {
      "id": 10,
      "type": "VAEDecode",
      "pos": [
        1530.130434782609,
        39.982608695652004
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "samples",
          "name": "samples",
          "type": "LATENT",
          "link": 11
        },
        {
          "localized_name": "vae",
          "name": "vae",
          "type": "VAE",
          "link": 12
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            13,
            23
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 11,
      "type": "PreviewImage",
      "pos": [
        1530.130434782609,
        150.46086956521725
      ],
      "size": [
        432.5043478260868,
        693.1739130434783
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 13
        }
      ],
      "outputs": [
        {
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 12,
      "type": "LoadImage",
      "pos": [
        440.01318804553705,
        519.8951471234082
      ],
      "size": [
        282.798828125,
        314
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            18
          ]
        },
        {
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "her.png",
        "image"
      ]
    },
    {
      "id": 14,
      "type": "TextEncodeQwenImage21",
      "pos": [
        439.7433303389629,
        -19.95002395496445
      ],
      "size": [
        400,
        246
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "clip",
          "name": "clip",
          "type": "CLIP",
          "link": 17
        },
        {
          "localized_name": "image_1",
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 18
        },
        {
          "localized_name": "image_2",
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "localized_name": "image_3",
          "name": "images.image_3",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "localized_name": "vae",
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 19
        },
        {
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "localized_name": "negative_prompt",
          "name": "negative_prompt",
          "type": "STRING",
          "widget": {
            "name": "negative_prompt"
          }
        },
        {
          "localized_name": "resolution",
          "name": "resolution",
          "type": "INT",
          "widget": {
            "name": "resolution"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "positive",
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            20
          ]
        },
        {
          "localized_name": "negative",
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            21
          ]
        },
        {
          "localized_name": "latent",
          "name": "latent",
          "type": "LATENT",
          "links": [
            22
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "TextEncodeQwenImage21"
      },
      "widgets_values": [
        "Turn this photo into a character reference sheet showing front, three-quarter, side and back views on a simple background, waist up. Keep the same character, hair and outfit. No text or labels.",
        "",
        1056
      ]
    },
    {
      "id": 15,
      "type": "ImageUpscaleWithModel",
      "pos": [
        2330.0676930721806,
        39.524444045195175
      ],
      "size": [
        233.5689453125,
        46
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "upscale_model",
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 25
        },
        {
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 23
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            24
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel"
      }
    },
    {
      "id": 16,
      "type": "SaveImage",
      "pos": [
        2610.368245498462,
        39.524444045195125
      ],
      "size": [
        270,
        270
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 24
        },
        {
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 17,
      "type": "UpscaleModelLoader",
      "pos": [
        1990.4612905737213,
        249.97256158422175
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model_name",
          "name": "model_name",
          "type": "COMBO",
          "widget": {
            "name": "model_name"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "UPSCALE_MODEL",
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            25
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader",
        "models": [
          {
            "name": "4x-UltraSharp.pth",
            "url": "https://huggingface.co/Kim2091/UltraSharp/resolve/main/4x-UltraSharp.pth",
            "directory": "upscale_models"
          }
        ]
      },
      "widgets_values": [
        "4x-UltraSharp.pth"
      ]
    }
  ],
  "links": [
    [
      3,
      1,
      0,
      8,
      0,
      "MODEL"
    ],
    [
      11,
      8,
      0,
      10,
      0,
      "LATENT"
    ],
    [
      12,
      3,
      0,
      10,
      1,
      "VAE"
    ],
    [
      13,
      10,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      20,
      14,
      0,
      8,
      1,
      "CONDITIONING"
    ],
    [
      21,
      14,
      1,
      8,
      2,
      "CONDITIONING"
    ],
    [
      22,
      14,
      2,
      8,
      3,
      "LATENT"
    ],
    [
      23,
      10,
      0,
      15,
      1,
      "IMAGE"
    ],
    [
      24,
      15,
      0,
      16,
      0,
      "IMAGE"
    ],
    [
      25,
      17,
      0,
      15,
      0,
      "UPSCALE_MODEL"
    ],
    [
      17,
      2,
      0,
      14,
      0,
      "CLIP"
    ],
    [
      18,
      12,
      0,
      14,
      1,
      "IMAGE"
    ],
    [
      19,
      3,
      0,
      14,
      4,
      "VAE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Step 1: Load Models",
      "bounding": [
        -10.217391304347839,
        -70.43478260869563,
        290,
        468.4347826086956
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.65,
      "offset": [
        157.90969899665552,
        324.1692307692308
      ]
    }
  },
  "version": 0.4
}