{
  "id": "d743594a-9b1f-4a56-8178-cf07b38791ca",
  "revision": 0,
  "last_node_id": 16,
  "last_link_id": 20,
  "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": [
            15
          ]
        }
      ],
      "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": [
            1,
            2
          ]
        }
      ],
      "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,
            18
          ]
        }
      ],
      "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": 5,
      "type": "CLIPTextEncode",
      "pos": [
        440,
        -19.565217391304344
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "clip",
          "name": "clip",
          "type": "CLIP",
          "link": 1
        },
        {
          "localized_name": "text",
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "CONDITIONING",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            4
          ]
        }
      ],
      "title": "Positive Prompt",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "A photograph of an astronaut in a white spacesuit leaping across the grey dusty surface of the moon, the blue Earth hanging in the black sky."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        440.00000000000006,
        245.2173913043479
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "clip",
          "name": "clip",
          "type": "CLIP",
          "link": 2
        },
        {
          "localized_name": "text",
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "CONDITIONING",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            10
          ]
        }
      ],
      "title": "Negative Prompt",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "blurry, bad hands, extra fingers, text, watermark"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 7,
      "type": "EmptyLatentImage",
      "pos": [
        439.78260869565224,
        519.5652173913045
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "width",
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "localized_name": "height",
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "localized_name": "batch_size",
          "name": "batch_size",
          "type": "INT",
          "widget": {
            "name": "batch_size"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "LATENT",
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            6
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1248,
        832,
        1
      ]
    },
    {
      "id": 8,
      "type": "KSampler",
      "pos": [
        1179.9913043478261,
        39.98260869565215
      ],
      "size": [
        270,
        262
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "link": 16
        },
        {
          "localized_name": "positive",
          "name": "positive",
          "type": "CONDITIONING",
          "link": 4
        },
        {
          "localized_name": "negative",
          "name": "negative",
          "type": "CONDITIONING",
          "link": 10
        },
        {
          "localized_name": "latent_image",
          "name": "latent_image",
          "type": "LATENT",
          "link": 6
        },
        {
          "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": 12,
      "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
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 11,
      "type": "PreviewImage",
      "pos": [
        1530.130434782609,
        150.46086956521725
      ],
      "size": [
        432.5043478260868,
        693.1739130434783
      ],
      "flags": {},
      "order": 13,
      "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": [
        0.3024337635870893,
        720.4384782608696
      ],
      "size": [
        282.798828125,
        314
      ],
      "flags": {},
      "order": 4,
      "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": [
            14
          ]
        },
        {
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "dancer.png",
        "image"
      ]
    },
    {
      "id": 13,
      "type": "AIO_Preprocessor",
      "pos": [
        399.73658212560395,
        860.2149154589372
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 14
        },
        {
          "localized_name": "preprocessor",
          "name": "preprocessor",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "preprocessor"
          }
        },
        {
          "localized_name": "resolution",
          "name": "resolution",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "resolution"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            19,
            20
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "AIO_Preprocessor"
      },
      "widgets_values": [
        "DWPreprocessor",
        512
      ]
    },
    {
      "id": 14,
      "type": "ZImageFunControlnet",
      "pos": [
        790.0034661835749,
        999.9913526570048
      ],
      "size": [
        270,
        206
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "link": 15
        },
        {
          "localized_name": "model_patch",
          "name": "model_patch",
          "type": "MODEL_PATCH",
          "link": 17
        },
        {
          "localized_name": "vae",
          "name": "vae",
          "type": "VAE",
          "link": 18
        },
        {
          "localized_name": "image",
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 19
        },
        {
          "localized_name": "inpaint_image",
          "name": "inpaint_image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "localized_name": "mask",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "localized_name": "strength",
          "name": "strength",
          "type": "FLOAT",
          "widget": {
            "name": "strength"
          }
        },
        {
          "localized_name": "start_percent",
          "name": "start_percent",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "start_percent"
          }
        },
        {
          "localized_name": "end_percent",
          "name": "end_percent",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "end_percent"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "MODEL",
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ZImageFunControlnet"
      },
      "widgets_values": [
        1,
        0,
        1
      ]
    },
    {
      "id": 15,
      "type": "ModelPatchLoader",
      "pos": [
        330.5403260869566,
        1109.3214371980675
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "name",
          "name": "name",
          "type": "COMBO",
          "widget": {
            "name": "name"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "MODEL_PATCH",
          "name": "MODEL_PATCH",
          "type": "MODEL_PATCH",
          "links": [
            17
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ModelPatchLoader",
        "models": [
          {
            "name": "qwen_image_2.1_fun_controlnet_union_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/model_patches/qwen_image_2.1_fun_controlnet_union_int8_convrot.safetensors",
            "directory": "model_patches"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_fun_controlnet_union_int8_convrot.safetensors"
      ]
    },
    {
      "id": 16,
      "type": "PreviewImage",
      "pos": [
        789.9589855072463,
        720.4384782608695
      ],
      "size": [
        299.7316001715179,
        26
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 20
        }
      ],
      "outputs": [
        {
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    }
  ],
  "links": [
    [
      1,
      2,
      0,
      5,
      0,
      "CLIP"
    ],
    [
      2,
      2,
      0,
      6,
      0,
      "CLIP"
    ],
    [
      4,
      5,
      0,
      8,
      1,
      "CONDITIONING"
    ],
    [
      6,
      7,
      0,
      8,
      3,
      "LATENT"
    ],
    [
      10,
      6,
      0,
      8,
      2,
      "CONDITIONING"
    ],
    [
      11,
      8,
      0,
      10,
      0,
      "LATENT"
    ],
    [
      12,
      3,
      0,
      10,
      1,
      "VAE"
    ],
    [
      13,
      10,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      14,
      12,
      0,
      13,
      0,
      "IMAGE"
    ],
    [
      15,
      1,
      0,
      14,
      0,
      "MODEL"
    ],
    [
      16,
      14,
      0,
      8,
      0,
      "MODEL"
    ],
    [
      17,
      15,
      0,
      14,
      1,
      "MODEL_PATCH"
    ],
    [
      18,
      3,
      0,
      14,
      2,
      "VAE"
    ],
    [
      19,
      13,
      0,
      14,
      3,
      "IMAGE"
    ],
    [
      20,
      13,
      0,
      16,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Step 1: Load Models",
      "bounding": [
        -10.217391304347839,
        -70.43478260869563,
        290,
        468.4347826086956
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "ControlNet",
      "bounding": [
        -9.69756623641291,
        650.4384782608695,
        1109.3881519151773,
        565.5528743961354
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.65,
      "offset": [
        248.40668896321066,
        270.4347826086956
      ]
    }
  },
  "version": 0.4
}