{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {},
        "groups": [
          {
            "bounding": [
              -410,
              -370,
              510,
              1230
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 4,
            "title": "Models (MOSS-Image + color/depth control LoRA)"
          },
          {
            "bounding": [
              220,
              -370,
              350,
              1060
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 5,
            "title": "Prompt + Depth Control"
          },
          {
            "bounding": [
              660,
              -370,
              650,
              700
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 6,
            "title": "Sampling"
          }
        ],
        "id": "3d58c0bd-7a87-40a7-bdb5-a209a27f10d7",
        "inputNode": {
          "bounding": [
            -760,
            -320,
            167.23828125,
            388
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "6a031269-1977-432e-9141-ea6c804fa5b9",
            "label": "positive_prompt",
            "linkIds": [
              200
            ],
            "name": "text",
            "pos": [
              -616.76171875,
              -296
            ],
            "type": "STRING"
          },
          {
            "id": "74e8a1a7-a994-4f1c-9fe5-d4dcc3448865",
            "label": "negative_prompt",
            "linkIds": [
              201
            ],
            "name": "text_1",
            "pos": [
              -616.76171875,
              -276
            ],
            "type": "STRING"
          },
          {
            "id": "b8c16644-c338-4620-9fa4-71c74df3e9e6",
            "label": "width",
            "linkIds": [
              204
            ],
            "name": "width",
            "pos": [
              -616.76171875,
              -256
            ],
            "type": "INT"
          },
          {
            "id": "b64345dd-2311-4869-bb7b-d9b7bc2cbe72",
            "label": "height",
            "linkIds": [
              205
            ],
            "name": "height",
            "pos": [
              -616.76171875,
              -236
            ],
            "type": "INT"
          },
          {
            "id": "3139a9ad-cb52-4290-8167-6829b6e76593",
            "label": "seed",
            "linkIds": [
              206
            ],
            "name": "noise_seed",
            "pos": [
              -616.76171875,
              -216
            ],
            "type": "INT"
          },
          {
            "id": "c0dd95a3-05ce-4883-a766-2765cd5e5e87",
            "label": "steps",
            "linkIds": [
              207
            ],
            "name": "steps",
            "pos": [
              -616.76171875,
              -196
            ],
            "type": "INT"
          },
          {
            "id": "e7e60b9b-8c23-4431-8233-f49f9dfeb3f2",
            "label": "cfg",
            "linkIds": [
              208
            ],
            "name": "cfg",
            "pos": [
              -616.76171875,
              -176
            ],
            "type": "FLOAT"
          },
          {
            "id": "f758383e-917d-429e-9e7a-ed08b857db4c",
            "label": "control_strength",
            "linkIds": [
              209
            ],
            "name": "strength",
            "pos": [
              -616.76171875,
              -156
            ],
            "type": "FLOAT"
          },
          {
            "id": "7f96665b-d1d6-463f-9d66-364091bc514b",
            "label": "control_start",
            "linkIds": [
              210
            ],
            "name": "start_percent",
            "pos": [
              -616.76171875,
              -136
            ],
            "type": "FLOAT"
          },
          {
            "id": "174c9e64-de13-4a81-bbc7-462eb72485ea",
            "label": "control_end",
            "linkIds": [
              211
            ],
            "name": "end_percent",
            "pos": [
              -616.76171875,
              -116
            ],
            "type": "FLOAT"
          },
          {
            "id": "feb0e2a5-fe60-4287-a9f8-a2ad8aae75e0",
            "label": "control_lora_strength",
            "linkIds": [
              212
            ],
            "name": "strength_model",
            "pos": [
              -616.76171875,
              -96
            ],
            "type": "FLOAT"
          },
          {
            "id": "1b979373-4abb-4006-9fa0-14be65681dd2",
            "label": "unet_model",
            "linkIds": [
              213
            ],
            "name": "unet_name",
            "pos": [
              -616.76171875,
              -76
            ],
            "type": "COMBO"
          },
          {
            "id": "4ee570f0-c586-4a5b-812c-dffbad57a6fe",
            "linkIds": [
              358
            ],
            "name": "lora_name",
            "pos": [
              -616.76171875,
              -56
            ],
            "type": "COMBO"
          },
          {
            "id": "81c6e7e7-8472-4fcb-a559-fc690558e805",
            "label": "clip_model",
            "linkIds": [
              214
            ],
            "name": "clip_name",
            "pos": [
              -616.76171875,
              -36
            ],
            "type": "COMBO"
          },
          {
            "id": "04337a23-aded-481d-8fd4-866af7d52290",
            "label": "vae_model",
            "linkIds": [
              215
            ],
            "name": "vae_name",
            "pos": [
              -616.76171875,
              -16
            ],
            "type": "COMBO"
          },
          {
            "id": "b5605b9b-c979-4b5d-9f2f-c2c7ff5dcf20",
            "label": "depth_map",
            "linkIds": [
              202
            ],
            "name": "depth_map",
            "pos": [
              -616.76171875,
              4
            ],
            "type": "IMAGE"
          },
          {
            "id": "2cbc7c5f-b244-4c24-b54d-4be7c67de510",
            "label": "color_map (optional)",
            "linkIds": [
              203
            ],
            "name": "color_map",
            "pos": [
              -616.76171875,
              24
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "id": 3,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 4,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 9,
            "origin_id": 4,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 25,
            "origin_id": 20,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 27,
            "origin_id": 22,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 4,
            "type": "SIGMAS"
          },
          {
            "id": 35,
            "origin_id": 2,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 36,
            "origin_id": 2,
            "origin_slot": 0,
            "target_id": 22,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 59,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 36,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 69,
            "origin_id": 36,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 91,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 49,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 94,
            "origin_id": 21,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 3,
            "type": "SAMPLER"
          },
          {
            "id": 99,
            "origin_id": 5,
            "origin_slot": 0,
            "target_id": 53,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 100,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 53,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 101,
            "origin_id": 53,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 102,
            "origin_id": 53,
            "origin_slot": 1,
            "target_id": 20,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 105,
            "origin_id": 4,
            "origin_slot": 0,
            "target_id": 53,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 106,
            "origin_id": 54,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 5,
            "type": "LATENT"
          },
          {
            "id": 117,
            "origin_id": 49,
            "origin_slot": 0,
            "target_id": 16,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 216,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 200,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 201,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 6,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 204,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 54,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 205,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 54,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 209,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 53,
            "target_slot": 5,
            "type": "FLOAT"
          },
          {
            "id": 210,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 53,
            "target_slot": 6,
            "type": "FLOAT"
          },
          {
            "id": 211,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 53,
            "target_slot": 7,
            "type": "FLOAT"
          },
          {
            "id": 212,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 49,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 213,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 1,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 358,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 49,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 214,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 3,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 215,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 4,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 202,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 53,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 203,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 53,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 206,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 20,
            "target_slot": 7,
            "type": "INT"
          },
          {
            "id": 208,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 20,
            "target_slot": 8,
            "type": "FLOAT"
          },
          {
            "id": 207,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 22,
            "target_slot": 2,
            "type": "INT"
          }
        ],
        "name": "MOSS-Image Depth Control",
        "nodes": [
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 1,
            "inputs": [
              {
                "link": 213,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              },
              {
                "link": null,
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  91
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              -400,
              -300
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              490,
              90
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "moss_image_sft_int8_convrot.safetensors",
              "default"
            ],
            "widgets_values_named": {
              "unet_name": "moss_image_sft_int8_convrot.safetensors",
              "weight_dtype": "default"
            }
          },
          {
            "flags": {},
            "id": 2,
            "inputs": [
              {
                "link": 69,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "double_layers",
                "name": "double_layers",
                "type": "STRING",
                "widget": {
                  "name": "double_layers"
                }
              },
              {
                "link": null,
                "localized_name": "single_layers",
                "name": "single_layers",
                "type": "STRING",
                "widget": {
                  "name": "single_layers"
                }
              },
              {
                "link": null,
                "localized_name": "start_percent",
                "name": "start_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "start_percent"
                }
              },
              {
                "link": null,
                "localized_name": "end_percent",
                "name": "end_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "end_percent"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  35,
                  36
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              -400,
              360
            ],
            "properties": {
              "Node name for S&R": "SkipLayerGuidanceDiTSimple",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "showAdvanced": true,
            "size": [
              400,
              130
            ],
            "title": "SkipLayerGuidanceDiTSimple (uncond skips block 22)",
            "type": "SkipLayerGuidanceDiTSimple",
            "widgets_values": [
              "",
              "24",
              0,
              1
            ],
            "widgets_values_named": {
              "double_layers": "",
              "end_percent": 1,
              "single_layers": "24",
              "start_percent": 0
            }
          },
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 214,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  3,
                  4
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "slot_index": 0,
                "type": "CLIP"
              }
            ],
            "pos": [
              -400,
              620
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              490,
              120
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen3.5_9b_int8_convrot.safetensors",
              "moss_image",
              "default"
            ],
            "widgets_values_named": {
              "clip_name": "qwen3.5_9b_int8_convrot.safetensors",
              "device": "default",
              "type": "moss_image"
            }
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {},
            "id": 4,
            "inputs": [
              {
                "link": 215,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  9,
                  105
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "slot_index": 0,
                "type": "VAE"
              }
            ],
            "pos": [
              -400,
              790
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              490,
              60
            ],
            "type": "VAELoader",
            "widgets_values": [
              "flux2-vae.safetensors"
            ],
            "widgets_values_named": {
              "vae_name": "flux2-vae.safetensors"
            }
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 5,
            "inputs": [
              {
                "link": 3,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 200,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  99
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              230,
              -300
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              330,
              260
            ],
            "title": "Positive Prompt",
            "type": "CLIPTextEncode",
            "widgets_values": [
              "realism, a dlsr photograph, A red and white mech with golden glowing eye sockets, buried insisde a lushes green mound summer meadow, soft lens flare, trees blowing in the wind, little butterflies stand on the armor, the mech has exposed wiring and heavily damaged and aged armor"
            ],
            "widgets_values_named": {
              "text": "realism, a dlsr photograph, A red and white mech with golden glowing eye sockets, buried insisde a lushes green mound summer meadow, soft lens flare, trees blowing in the wind, little butterflies stand on the armor, the mech has exposed wiring and heavily damaged and aged armor"
            }
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {},
            "id": 6,
            "inputs": [
              {
                "link": 4,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 201,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  100
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              230,
              40
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              330,
              180
            ],
            "title": "Negative Prompt",
            "type": "CLIPTextEncode",
            "widgets_values": [
              "nsfw, worst quality, bad anatomy, watermark, jpeg artifact"
            ],
            "widgets_values_named": {
              "text": "nsfw, worst quality, bad anatomy, watermark, jpeg artifact"
            }
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 25,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 9,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  216
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              1030,
              70
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              210,
              50
            ],
            "type": "VAEDecode"
          },
          {
            "flags": {},
            "id": 16,
            "inputs": [
              {
                "link": 117,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "tsr_k",
                "name": "tsr_k",
                "type": "FLOAT",
                "widget": {
                  "name": "tsr_k"
                }
              },
              {
                "link": null,
                "localized_name": "tsr_sigma",
                "name": "tsr_sigma",
                "type": "FLOAT",
                "widget": {
                  "name": "tsr_sigma"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  59
                ],
                "localized_name": "patched_model",
                "name": "patched_model",
                "type": "MODEL"
              }
            ],
            "pos": [
              -400,
              30
            ],
            "properties": {
              "Node name for S&R": "TemporalScoreRescaling",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "showAdvanced": true,
            "size": [
              320,
              90
            ],
            "type": "TemporalScoreRescaling",
            "widgets_values": [
              0.95,
              1
            ],
            "widgets_values_named": {
              "tsr_k": 0.95,
              "tsr_sigma": 1
            }
          },
          {
            "flags": {},
            "id": 20,
            "inputs": [
              {
                "link": 35,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 101,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 102,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 94,
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER"
              },
              {
                "link": 27,
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS"
              },
              {
                "link": 106,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "add_noise",
                "name": "add_noise",
                "type": "BOOLEAN",
                "widget": {
                  "name": "add_noise"
                }
              },
              {
                "link": 206,
                "localized_name": "noise_seed",
                "name": "noise_seed",
                "type": "INT",
                "widget": {
                  "name": "noise_seed"
                }
              },
              {
                "link": 208,
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  25
                ],
                "localized_name": "output",
                "name": "output",
                "type": "LATENT"
              },
              {
                "links": null,
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT"
              }
            ],
            "pos": [
              680,
              110
            ],
            "properties": {
              "Node name for S&R": "SamplerCustom",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              280,
              230
            ],
            "type": "SamplerCustom",
            "widgets_values": [
              true,
              11,
              "randomize",
              3
            ],
            "widgets_values_named": {
              "add_noise": true,
              "cfg": 3,
              "control_after_generate": "randomize",
              "noise_seed": 11
            }
          },
          {
            "flags": {},
            "id": 21,
            "inputs": [
              {
                "link": null,
                "localized_name": "solver_type",
                "name": "solver_type",
                "type": "COMBO",
                "widget": {
                  "name": "solver_type"
                }
              },
              {
                "link": null,
                "localized_name": "max_stage",
                "name": "max_stage",
                "type": "INT",
                "widget": {
                  "name": "max_stage"
                }
              },
              {
                "link": null,
                "localized_name": "eta",
                "name": "eta",
                "type": "FLOAT",
                "widget": {
                  "name": "eta"
                }
              },
              {
                "link": null,
                "localized_name": "s_noise",
                "name": "s_noise",
                "type": "FLOAT",
                "widget": {
                  "name": "s_noise"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  94
                ],
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER"
              }
            ],
            "pos": [
              680,
              -290
            ],
            "properties": {
              "Node name for S&R": "SamplerER_SDE",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "showAdvanced": true,
            "size": [
              270,
              130
            ],
            "type": "SamplerER_SDE",
            "widgets_values": [
              "ER-SDE",
              3,
              1,
              1.05
            ],
            "widgets_values_named": {
              "eta": 1,
              "max_stage": 3,
              "s_noise": 1.05,
              "solver_type": "ER-SDE"
            }
          },
          {
            "flags": {},
            "id": 22,
            "inputs": [
              {
                "link": 36,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                }
              },
              {
                "link": 207,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": null,
                "localized_name": "denoise",
                "name": "denoise",
                "type": "FLOAT",
                "widget": {
                  "name": "denoise"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  27
                ],
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS"
              }
            ],
            "pos": [
              680,
              -60
            ],
            "properties": {
              "Node name for S&R": "BasicScheduler",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              270,
              110
            ],
            "type": "BasicScheduler",
            "widgets_values": [
              "simple",
              25,
              1
            ],
            "widgets_values_named": {
              "denoise": 1,
              "scheduler": "simple",
              "steps": 25
            }
          },
          {
            "flags": {},
            "id": 36,
            "inputs": [
              {
                "link": 59,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "shift",
                "name": "shift",
                "type": "FLOAT",
                "widget": {
                  "name": "shift"
                }
              },
              {
                "link": null,
                "localized_name": "sampling",
                "name": "sampling",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "sampling"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  69
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -400,
              210
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingAuraFlow",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              270,
              90
            ],
            "type": "ModelSamplingAuraFlow",
            "widgets_values": [
              5,
              "flow"
            ],
            "widgets_values_named": {
              "sampling": "flow",
              "shift": 5
            }
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 49,
            "inputs": [
              {
                "link": 91,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 358,
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                }
              },
              {
                "link": 212,
                "localized_name": "strength_model",
                "name": "strength_model",
                "type": "FLOAT",
                "widget": {
                  "name": "strength_model"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  117
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -400,
              -130
            ],
            "properties": {
              "Node name for S&R": "LoraLoaderModelOnly",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              490,
              90
            ],
            "type": "LoraLoaderModelOnly",
            "widgets_values": [
              "moss_image/moss_image_color_depth_control.safetensors",
              1
            ],
            "widgets_values_named": {
              "lora_name": "moss_image/moss_image_color_depth_control.safetensors",
              "strength_model": 1
            }
          },
          {
            "flags": {},
            "id": 53,
            "inputs": [
              {
                "link": 99,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 100,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 105,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              },
              {
                "link": 203,
                "localized_name": "color_map",
                "name": "color_map",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 202,
                "localized_name": "depth_map",
                "name": "depth_map",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 209,
                "localized_name": "strength",
                "name": "strength",
                "type": "FLOAT",
                "widget": {
                  "name": "strength"
                }
              },
              {
                "link": 210,
                "localized_name": "start_percent",
                "name": "start_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "start_percent"
                }
              },
              {
                "link": 211,
                "localized_name": "end_percent",
                "name": "end_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "end_percent"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  101
                ],
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "links": [
                  102
                ],
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              230,
              300
            ],
            "properties": {
              "Node name for S&R": "MOSSImageControl",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              270,
              190
            ],
            "type": "MOSSImageControl",
            "widgets_values": [
              1,
              0,
              0.6
            ],
            "widgets_values_named": {
              "end_percent": 0.6,
              "start_percent": 0,
              "strength": 1
            }
          },
          {
            "flags": {},
            "id": 54,
            "inputs": [
              {
                "link": 204,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 205,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  106
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              230,
              560
            ],
            "properties": {
              "Node name for S&R": "EmptyLatentImage",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              270,
              110
            ],
            "type": "EmptyLatentImage",
            "widgets_values": [
              1024,
              1024,
              1
            ],
            "widgets_values_named": {
              "batch_size": 1,
              "height": 1024,
              "width": 1024
            }
          }
        ],
        "outputNode": {
          "bounding": [
            1400,
            60,
            128,
            68
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "0e58537a-a20e-4138-8c0f-2e1005215a4f",
            "linkIds": [
              216
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              1424,
              84
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 6,
          "lastLinkId": 359,
          "lastNodeId": 95,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {},
        "groups": [
          {
            "bounding": [
              -1510,
              -250,
              1760,
              800
            ],
            "color": "#8A8",
            "flags": {},
            "id": 2,
            "title": "2 · Output resolution (auto-match input aspect)"
          },
          {
            "bounding": [
              -1180,
              -760,
              1850,
              460
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 1,
            "title": "1 · Control image (photo or depth map)"
          }
        ],
        "id": "882218ff-0ea7-4047-9b12-b79cdc4e9faa",
        "inputNode": {
          "bounding": [
            -2000,
            -350,
            160.921875,
            148
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "481fdc0e-e6e5-4158-91d9-196dc182b9cc",
            "label": "convert_to_depth",
            "linkIds": [
              349
            ],
            "name": "switch",
            "pos": [
              -1863.078125,
              -326
            ],
            "type": "BOOLEAN"
          },
          {
            "id": "ac52fc18-1540-4255-a294-75971bd3b466",
            "label": "match_input_aspect",
            "linkIds": [
              352
            ],
            "name": "value_1",
            "pos": [
              -1863.078125,
              -306
            ],
            "type": "BOOLEAN"
          },
          {
            "id": "415dfa52-b66b-47a6-88a7-86673ca67201",
            "label": "megapixels",
            "linkIds": [
              350
            ],
            "name": "value",
            "pos": [
              -1863.078125,
              -286
            ],
            "type": "FLOAT"
          },
          {
            "id": "6b108b42-4770-46d4-9da2-21b769ef94ee",
            "linkIds": [
              351
            ],
            "name": "aspect_ratio",
            "pos": [
              -1863.078125,
              -266
            ],
            "type": "COMBO"
          },
          {
            "id": "432d1cb1-047b-45f4-893b-59c2b2520b80",
            "linkIds": [
              300,
              305,
              301
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -1863.078125,
              -246
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "id": 302,
            "origin_id": 60,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 310,
            "origin_id": 76,
            "origin_slot": 1,
            "target_id": 84,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 321,
            "origin_id": 74,
            "origin_slot": 0,
            "target_id": 62,
            "target_slot": 1,
            "type": "FLOAT"
          },
          {
            "id": 322,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 62,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 312,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": 86,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 304,
            "origin_id": 64,
            "origin_slot": 0,
            "target_id": 61,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 323,
            "origin_id": 62,
            "origin_slot": 0,
            "target_id": 81,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 324,
            "origin_id": 78,
            "origin_slot": 1,
            "target_id": 81,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 327,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": 81,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 325,
            "origin_id": 62,
            "origin_slot": 1,
            "target_id": 82,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 326,
            "origin_id": 79,
            "origin_slot": 1,
            "target_id": 82,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 328,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": 82,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 336,
            "origin_id": 64,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 337,
            "origin_id": 61,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 332,
            "origin_id": 81,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 333,
            "origin_id": 82,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 349,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 352,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 80,
            "target_slot": 0,
            "type": "BOOLEAN"
          },
          {
            "id": 350,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 74,
            "target_slot": 0,
            "type": "FLOAT"
          },
          {
            "id": 351,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 62,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 300,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 60,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 305,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 73,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 301,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 70,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 306,
            "origin_id": 73,
            "origin_slot": 0,
            "target_id": 76,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 307,
            "origin_id": 73,
            "origin_slot": 1,
            "target_id": 76,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 308,
            "origin_id": 76,
            "origin_slot": 1,
            "target_id": 77,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 309,
            "origin_id": 76,
            "origin_slot": 1,
            "target_id": 87,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 303,
            "origin_id": 70,
            "origin_slot": 0,
            "target_id": 64,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 357,
            "origin_id": 81,
            "origin_slot": 0,
            "target_id": 64,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 356,
            "origin_id": 82,
            "origin_slot": 0,
            "target_id": 64,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 311,
            "origin_id": 84,
            "origin_slot": 0,
            "target_id": 85,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 313,
            "origin_id": 77,
            "origin_slot": 1,
            "target_id": 78,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 314,
            "origin_id": 87,
            "origin_slot": 1,
            "target_id": 78,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 315,
            "origin_id": 74,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 316,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 317,
            "origin_id": 77,
            "origin_slot": 1,
            "target_id": 79,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 318,
            "origin_id": 87,
            "origin_slot": 1,
            "target_id": 79,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 319,
            "origin_id": 74,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 320,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 3,
            "type": "INT"
          }
        ],
        "name": "Preprocess Image",
        "nodes": [
          {
            "flags": {},
            "id": 60,
            "inputs": [
              {
                "link": 300,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "ckpt_name",
                "name": "ckpt_name",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "ckpt_name"
                }
              },
              {
                "link": null,
                "localized_name": "resolution",
                "name": "resolution",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "resolution"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  302
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -1100,
              -670
            ],
            "properties": {
              "Node name for S&R": "DepthAnythingV2Preprocessor",
              "aux_id": "Fannovel16/comfyui_controlnet_aux",
              "cnr_id": "comfyui_controlnet_aux",
              "ver": "e8b689a513c3e6b63edc44066560ca5919c0576e"
            },
            "size": [
              410,
              110
            ],
            "title": "Photo -> Depth (only runs when convert_to_depth is on)",
            "type": "DepthAnythingV2Preprocessor",
            "widgets_values": [
              "depth_anything_v2_vitl.pth",
              768
            ],
            "widgets_values_named": {
              "ckpt_name": "depth_anything_v2_vitl.pth",
              "resolution": 768
            }
          },
          {
            "flags": {},
            "id": 73,
            "inputs": [
              {
                "link": 305,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  306
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  307
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              -1500,
              -180
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              240,
              90
            ],
            "title": "Input image size",
            "type": "GetImageSize"
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 76,
            "inputs": [
              {
                "label": "a",
                "link": 306,
                "localized_name": "a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": 307,
                "localized_name": "b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "c",
                "link": null,
                "localized_name": "c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  308,
                  309,
                  310
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -1200,
              -180
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              350,
              180
            ],
            "title": "Nearest preset (0-7, Resolution Selector order)",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "7 if a / b >= 2.0367 else 6 if a / b >= 1.633 else 2 if a / b >= 1.4142 else 4 if a / b >= 1.1547 else 0 if a / b >= 0.866 else 3 if a / b >= 0.7071 else 1 if a / b >= 0.6124 else 5"
            ],
            "widgets_values_named": {
              "expression": "7 if a / b >= 2.0367 else 6 if a / b >= 1.633 else 2 if a / b >= 1.4142 else 4 if a / b >= 1.1547 else 0 if a / b >= 0.866 else 3 if a / b >= 0.7071 else 1 if a / b >= 0.6124 else 5"
            }
          },
          {
            "flags": {},
            "id": 70,
            "inputs": [
              {
                "label": "on_false (use upload as-is)",
                "link": 301,
                "localized_name": "on_false",
                "name": "on_false",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "label": "on_true (photo -> depth)",
                "link": 302,
                "localized_name": "on_true",
                "name": "on_true",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "label": "convert_to_depth",
                "link": 349,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  303
                ],
                "localized_name": "output",
                "name": "output",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -500,
              -670
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              300,
              110
            ],
            "title": "If/Else: Convert to depth map?",
            "type": "ComfySwitchNode",
            "widgets_values": [
              true
            ],
            "widgets_values_named": {
              "switch": true
            }
          },
          {
            "flags": {},
            "id": 77,
            "inputs": [
              {
                "label": "a",
                "link": 308,
                "localized_name": "a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": null,
                "localized_name": "b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  313,
                  317
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -820,
              -180
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              340,
              160
            ],
            "title": "Preset ratio W",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "1 if a == 0 else 2 if a == 1 else 3 if a == 2 else 3 if a == 3 else 4 if a == 4 else 9 if a == 5 else 16 if a == 6 else 21"
            ],
            "widgets_values_named": {
              "expression": "1 if a == 0 else 2 if a == 1 else 3 if a == 2 else 3 if a == 3 else 4 if a == 4 else 9 if a == 5 else 16 if a == 6 else 21"
            }
          },
          {
            "flags": {},
            "id": 74,
            "inputs": [
              {
                "label": "megapixels",
                "link": 350,
                "localized_name": "value",
                "name": "value",
                "type": "FLOAT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  315,
                  319,
                  321
                ],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              -1500,
              -30
            ],
            "properties": {
              "Node name for S&R": "PrimitiveFloat",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              240,
              60
            ],
            "title": "Megapixels (target)",
            "type": "PrimitiveFloat",
            "widgets_values": [
              1
            ],
            "widgets_values_named": {
              "value": 1
            }
          },
          {
            "flags": {},
            "id": 75,
            "inputs": [
              {
                "label": "multiple",
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  316,
                  320,
                  322
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -1500,
              80
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              240,
              90
            ],
            "title": "Round to multiple of",
            "type": "PrimitiveInt",
            "widgets_values": [
              16,
              "fixed"
            ],
            "widgets_values_named": {
              "control_after_generate": "fixed",
              "value": 16
            }
          },
          {
            "flags": {},
            "id": 87,
            "inputs": [
              {
                "label": "a",
                "link": 309,
                "localized_name": "a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": null,
                "localized_name": "b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  314,
                  318
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -820,
              20
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              340,
              160
            ],
            "title": "Preset ratio H",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "1 if a == 0 else 3 if a == 1 else 2 if a == 2 else 4 if a == 3 else 3 if a == 4 else 16 if a == 5 else 9 if a == 6 else 9"
            ],
            "widgets_values_named": {
              "expression": "1 if a == 0 else 3 if a == 1 else 2 if a == 2 else 4 if a == 3 else 3 if a == 4 else 16 if a == 5 else 9 if a == 6 else 9"
            }
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 84,
            "inputs": [
              {
                "link": 310,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  311
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -1200,
              60
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              240,
              90
            ],
            "title": "index as text",
            "type": "PreviewAny",
            "widgets_values": [],
            "widgets_values_named": {}
          },
          {
            "flags": {},
            "id": 80,
            "inputs": [
              {
                "label": "match_input_aspect",
                "link": 352,
                "localized_name": "value",
                "name": "value",
                "type": "BOOLEAN",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  327,
                  328
                ],
                "localized_name": "BOOLEAN",
                "name": "BOOLEAN",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -1500,
              210
            ],
            "properties": {
              "Node name for S&R": "PrimitiveBoolean",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              240,
              60
            ],
            "title": "Match input aspect ratio?",
            "type": "PrimitiveBoolean",
            "widgets_values": [
              true
            ],
            "widgets_values_named": {
              "value": true
            }
          },
          {
            "flags": {},
            "id": 85,
            "inputs": [
              {
                "link": null,
                "localized_name": "json_string",
                "name": "json_string",
                "type": "STRING",
                "widget": {
                  "name": "json_string"
                }
              },
              {
                "link": 311,
                "localized_name": "key",
                "name": "key",
                "type": "STRING",
                "widget": {
                  "name": "key"
                }
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  312
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -1200,
              220
            ],
            "properties": {
              "Node name for S&R": "JsonExtractString",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              340,
              120
            ],
            "title": "Index -> preset label",
            "type": "JsonExtractString",
            "widgets_values": [
              "{\"0\": \"1:1 (Square)\", \"1\": \"2:3 (Portrait Photo)\", \"2\": \"3:2 (Photo)\", \"3\": \"3:4 (Portrait Standard)\", \"4\": \"4:3 (Standard)\", \"5\": \"9:16 (Portrait Widescreen)\", \"6\": \"16:9 (Widescreen)\", \"7\": \"21:9 (Ultrawide)\"}",
              "0"
            ],
            "widgets_values_named": {
              "json_string": "{\"0\": \"1:1 (Square)\", \"1\": \"2:3 (Portrait Photo)\", \"2\": \"3:2 (Photo)\", \"3\": \"3:4 (Portrait Standard)\", \"4\": \"4:3 (Standard)\", \"5\": \"9:16 (Portrait Widescreen)\", \"6\": \"16:9 (Widescreen)\", \"7\": \"21:9 (Ultrawide)\"}",
              "key": "0"
            }
          },
          {
            "flags": {},
            "id": 62,
            "inputs": [
              {
                "link": 351,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": 321,
                "localized_name": "megapixels",
                "name": "megapixels",
                "type": "FLOAT",
                "widget": {
                  "name": "megapixels"
                }
              },
              {
                "link": 322,
                "localized_name": "multiple",
                "name": "multiple",
                "type": "INT",
                "widget": {
                  "name": "multiple"
                }
              },
              {
                "link": null,
                "localized_name": "preview",
                "name": "preview",
                "shape": 7,
                "type": "RESOLUTION_PREVIEW",
                "widget": {
                  "name": "preview"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  323
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  325
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              }
            ],
            "pos": [
              -810,
              250
            ],
            "properties": {
              "Node name for S&R": "ResolutionSelector",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "showAdvanced": true,
            "size": [
              320,
              200
            ],
            "title": "Manual aspect (used when match = false)",
            "type": "ResolutionSelector",
            "widgets_values": [
              "16:9 (Widescreen)",
              1,
              16
            ],
            "widgets_values_named": {
              "aspect_ratio": "16:9 (Widescreen)",
              "megapixels": 1,
              "multiple": 16
            }
          },
          {
            "flags": {},
            "id": 64,
            "inputs": [
              {
                "link": 303,
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK"
              },
              {
                "link": null,
                "localized_name": "resize_type",
                "name": "resize_type",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "resize_type"
                }
              },
              {
                "link": 357,
                "localized_name": "width",
                "name": "resize_type.width",
                "type": "INT",
                "widget": {
                  "name": "resize_type.width"
                }
              },
              {
                "link": 356,
                "localized_name": "height",
                "name": "resize_type.height",
                "type": "INT",
                "widget": {
                  "name": "resize_type.height"
                }
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "resize_type.crop",
                "type": "COMBO",
                "widget": {
                  "name": "resize_type.crop"
                }
              },
              {
                "link": null,
                "localized_name": "scale_method",
                "name": "scale_method",
                "type": "COMBO",
                "widget": {
                  "name": "scale_method"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  304,
                  336
                ],
                "localized_name": "resized",
                "name": "resized",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -90,
              -670
            ],
            "properties": {
              "Node name for S&R": "ResizeImageMaskNode",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              320,
              160
            ],
            "title": "Fit depth map to output size (center crop)",
            "type": "ResizeImageMaskNode",
            "widgets_values": [
              "scale dimensions",
              1024,
              1024,
              "center",
              "lanczos"
            ],
            "widgets_values_named": {
              "resize_type": "scale dimensions",
              "resize_type.crop": "center",
              "resize_type.height": 1024,
              "resize_type.width": 1024,
              "scale_method": "lanczos"
            }
          },
          {
            "flags": {},
            "id": 78,
            "inputs": [
              {
                "label": "a",
                "link": 313,
                "localized_name": "a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": 314,
                "localized_name": "b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "c",
                "link": 315,
                "localized_name": "c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "d",
                "link": 316,
                "localized_name": "d",
                "name": "values.d",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              },
              {
                "label": "e",
                "link": null,
                "localized_name": "e",
                "name": "values.e",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  324
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -440,
              -180
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              340,
              230
            ],
            "title": "Auto width (Resolution Selector formula)",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "round(a * sqrt(c * 1048576 / (a * b)) / d) * d"
            ],
            "widgets_values_named": {
              "expression": "round(a * sqrt(c * 1048576 / (a * b)) / d) * d"
            }
          },
          {
            "flags": {},
            "id": 79,
            "inputs": [
              {
                "label": "a",
                "link": 317,
                "localized_name": "a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": 318,
                "localized_name": "b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "c",
                "link": 319,
                "localized_name": "c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "d",
                "link": 320,
                "localized_name": "d",
                "name": "values.d",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              },
              {
                "label": "e",
                "link": null,
                "localized_name": "e",
                "name": "values.e",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  326
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -440,
              130
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              340,
              230
            ],
            "title": "Auto height (Resolution Selector formula)",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "round(b * sqrt(c * 1048576 / (a * b)) / d) * d"
            ],
            "widgets_values_named": {
              "expression": "round(b * sqrt(c * 1048576 / (a * b)) / d) * d"
            }
          },
          {
            "flags": {},
            "id": 86,
            "inputs": [
              {
                "link": 312,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -1200,
              400
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              340,
              130
            ],
            "title": "Detected aspect ratio",
            "type": "PreviewAny",
            "widgets_values": [],
            "widgets_values_named": {}
          },
          {
            "flags": {},
            "id": 61,
            "inputs": [
              {
                "link": 304,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  337
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "pos": [
              310,
              -680
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              320,
              360
            ],
            "title": "Depth map sent to MOSS",
            "type": "PreviewImage"
          },
          {
            "flags": {},
            "id": 81,
            "inputs": [
              {
                "label": "on_false (manual)",
                "link": 323,
                "localized_name": "on_false",
                "name": "on_false",
                "shape": 7,
                "type": "INT"
              },
              {
                "label": "on_true (auto)",
                "link": 324,
                "localized_name": "on_true",
                "name": "on_true",
                "shape": 7,
                "type": "INT"
              },
              {
                "link": 327,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  332,
                  357
                ],
                "localized_name": "output",
                "name": "output",
                "type": "INT"
              }
            ],
            "pos": [
              -40,
              -180
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              280,
              110
            ],
            "title": "Width",
            "type": "ComfySwitchNode",
            "widgets_values": [
              true
            ],
            "widgets_values_named": {
              "switch": true
            }
          },
          {
            "flags": {},
            "id": 82,
            "inputs": [
              {
                "label": "on_false (manual)",
                "link": 325,
                "localized_name": "on_false",
                "name": "on_false",
                "shape": 7,
                "type": "INT"
              },
              {
                "label": "on_true (auto)",
                "link": 326,
                "localized_name": "on_true",
                "name": "on_true",
                "shape": 7,
                "type": "INT"
              },
              {
                "link": 328,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  333,
                  356
                ],
                "localized_name": "output",
                "name": "output",
                "type": "INT"
              }
            ],
            "pos": [
              -40,
              -20
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode",
              "cnr_id": "comfy-core",
              "ver": "0.42.0"
            },
            "size": [
              280,
              110
            ],
            "title": "Height",
            "type": "ComfySwitchNode",
            "widgets_values": [
              true
            ],
            "widgets_values_named": {
              "switch": true
            }
          }
        ],
        "outputNode": {
          "bounding": [
            790,
            -250,
            128,
            128
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "f883911b-96d8-48cf-b63a-2964529a31fd",
            "linkIds": [
              336
            ],
            "localized_name": "resized",
            "name": "resized",
            "pos": [
              814,
              -226
            ],
            "type": "IMAGE"
          },
          {
            "id": "41c3aeae-4c80-4f3e-aa2d-7fc6b4f24ba0",
            "label": "image",
            "linkIds": [
              337
            ],
            "localized_name": "images",
            "name": "images",
            "pos": [
              814,
              -206
            ],
            "type": "IMAGE"
          },
          {
            "id": "7396b05f-3e8e-4906-9fd2-ec9d62ad16b4",
            "label": "width",
            "linkIds": [
              332
            ],
            "localized_name": "output",
            "name": "output",
            "pos": [
              814,
              -186
            ],
            "type": "INT"
          },
          {
            "id": "c305cdf4-1357-4580-96e4-35e379fc80bd",
            "label": "height",
            "linkIds": [
              333
            ],
            "localized_name": "output_1",
            "name": "output_1",
            "pos": [
              814,
              -166
            ],
            "type": "INT"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 6,
          "lastLinkId": 359,
          "lastNodeId": 95,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        2642.7064043209875,
        1371.1586130401236
      ],
      "scale": 0.49846153846153846
    },
    "frontendVersion": "1.57.1"
  },
  "groups": [],
  "id": "5140b129-e927-49a6-816e-668c69d43008",
  "last_link_id": 359,
  "last_node_id": 95,
  "links": [
    [
      343,
      89,
      0,
      63,
      0,
      "IMAGE"
    ],
    [
      345,
      90,
      0,
      63,
      1,
      "IMAGE"
    ],
    [
      355,
      90,
      1,
      93,
      0,
      "IMAGE"
    ],
    [
      347,
      90,
      2,
      83,
      2,
      "INT"
    ],
    [
      348,
      90,
      3,
      83,
      3,
      "INT"
    ],
    [
      342,
      83,
      0,
      89,
      0,
      "IMAGE"
    ],
    [
      359,
      93,
      0,
      83,
      15,
      "IMAGE"
    ],
    [
      344,
      55,
      0,
      90,
      4,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 55,
      "inputs": [
        {
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            344
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -2200,
        -670
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.42.0"
      },
      "size": [
        330,
        360
      ],
      "title": "Load Image (or depth map)",
      "type": "LoadImage",
      "widgets_values": [
        "09abb26e58d81bbf2f85845cfe5dba3ed8370f14a4b98812e2acdd894517f4dd.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "09abb26e58d81bbf2f85845cfe5dba3ed8370f14a4b98812e2acdd894517f4dd.png",
        "upload": "image"
      }
    },
    {
      "flags": {},
      "id": 83,
      "inputs": [
        {
          "label": "positive_prompt",
          "link": null,
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        },
        {
          "label": "negative_prompt",
          "link": null,
          "name": "text_1",
          "type": "STRING",
          "widget": {
            "name": "text_1"
          }
        },
        {
          "label": "width",
          "link": 347,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "label": "height",
          "link": 348,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "label": "seed",
          "link": null,
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          }
        },
        {
          "label": "steps",
          "link": null,
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          }
        },
        {
          "label": "cfg",
          "link": null,
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          }
        },
        {
          "label": "control_strength",
          "link": null,
          "name": "strength",
          "type": "FLOAT",
          "widget": {
            "name": "strength"
          }
        },
        {
          "label": "control_start",
          "link": null,
          "name": "start_percent",
          "type": "FLOAT",
          "widget": {
            "name": "start_percent"
          }
        },
        {
          "label": "control_end",
          "link": null,
          "name": "end_percent",
          "type": "FLOAT",
          "widget": {
            "name": "end_percent"
          }
        },
        {
          "label": "lora_strength",
          "link": null,
          "name": "strength_model",
          "type": "FLOAT",
          "widget": {
            "name": "strength_model"
          }
        },
        {
          "label": "unet_model",
          "link": null,
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          }
        },
        {
          "link": null,
          "name": "lora_name",
          "type": "COMBO",
          "widget": {
            "name": "lora_name"
          }
        },
        {
          "label": "clip_model",
          "link": null,
          "name": "clip_name",
          "type": "COMBO",
          "widget": {
            "name": "clip_name"
          }
        },
        {
          "label": "vae_model",
          "link": null,
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          }
        },
        {
          "label": "depth_map",
          "link": 359,
          "name": "depth_map",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "color_map (optional)",
          "link": null,
          "name": "color_map",
          "shape": 7,
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            342
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -1440,
        -670
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "previewExposures": [],
        "ver": "0.42.0"
      },
      "size": [
        460,
        630
      ],
      "type": "3d58c0bd-7a87-40a7-bdb5-a209a27f10d7",
      "widgets_values": [
        "a photograph of a blue and gold mech with golden glowing eyes, buried inside a lush green mound in the middle of a meadow, trees blowing in the wind and flowers in the immediate foreground, butterflies stand on the armor, the mech has exposed wiring and heavily damaged armor, lens flare",
        "worst quality, bad anatomy, watermark, jpeg artifact",
        1024,
        1024,
        703191773559836,
        25,
        3,
        0.75,
        0,
        0.75,
        1,
        "moss_image_sft_int8_convrot.safetensors",
        "moss-control.safetensors",
        "qwen3.5_9b_int8_convrot.safetensors",
        "flux2-vae.safetensors"
      ],
      "widgets_values_named": {
        "cfg": 3,
        "clip_name": "qwen3.5_9b_int8_convrot.safetensors",
        "end_percent": 0.75,
        "height": 1024,
        "lora_name": "moss-control.safetensors",
        "noise_seed": 703191773559836,
        "start_percent": 0,
        "steps": 25,
        "strength": 0.75,
        "strength_model": 1,
        "text": "a photograph of a blue and gold mech with golden glowing eyes, buried inside a lush green mound in the middle of a meadow, trees blowing in the wind and flowers in the immediate foreground, butterflies stand on the armor, the mech has exposed wiring and heavily damaged armor, lens flare",
        "text_1": "worst quality, bad anatomy, watermark, jpeg artifact",
        "unet_name": "moss_image_sft_int8_convrot.safetensors",
        "vae_name": "flux2-vae.safetensors",
        "width": 1024
      }
    },
    {
      "flags": {},
      "id": 63,
      "inputs": [
        {
          "link": 343,
          "localized_name": "image_a",
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 345,
          "localized_name": "image_b",
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "compare_view",
          "name": "compare_view",
          "type": "IMAGECOMPARE",
          "widget": {
            "name": "compare_view"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        -290,
        -670
      ],
      "properties": {
        "Node name for S&R": "ImageCompare",
        "cnr_id": "comfy-core",
        "ver": "0.42.0"
      },
      "size": [
        670,
        630
      ],
      "title": "Result vs depth",
      "type": "ImageCompare",
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "flags": {},
      "id": 89,
      "inputs": [
        {
          "link": 342,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format"
          }
        },
        {
          "link": null,
          "localized_name": "bit_depth",
          "name": "format.bit_depth",
          "type": "COMBO",
          "widget": {
            "name": "format.bit_depth"
          }
        },
        {
          "link": null,
          "localized_name": "input_color_space",
          "name": "format.input_color_space",
          "type": "COMBO",
          "widget": {
            "name": "format.input_color_space"
          }
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            343
          ],
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -930,
        -670
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.42.0"
      },
      "size": [
        590,
        630
      ],
      "type": "SaveImageAdvanced",
      "widgets_values": [
        "MOSS_Image",
        "png",
        "8-bit",
        "sRGB"
      ],
      "widgets_values_named": {
        "filename_prefix": "MOSS_Image",
        "format": "png",
        "format.bit_depth": "8-bit",
        "format.input_color_space": "sRGB"
      }
    },
    {
      "flags": {},
      "id": 90,
      "inputs": [
        {
          "label": "convert_to_depth",
          "link": null,
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          }
        },
        {
          "label": "match_input_aspect",
          "link": null,
          "name": "value_1",
          "type": "BOOLEAN",
          "widget": {
            "name": "value_1"
          }
        },
        {
          "label": "megapixels",
          "link": null,
          "name": "value",
          "type": "FLOAT",
          "widget": {
            "name": "value"
          }
        },
        {
          "link": null,
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        },
        {
          "link": 344,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            345
          ],
          "localized_name": "resized",
          "name": "resized",
          "type": "IMAGE"
        },
        {
          "label": "image",
          "links": [
            355
          ],
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "label": "width",
          "links": [
            347
          ],
          "localized_name": "output",
          "name": "output",
          "type": "INT"
        },
        {
          "label": "height",
          "links": [
            348
          ],
          "localized_name": "output_1",
          "name": "output_1",
          "type": "INT"
        }
      ],
      "pos": [
        -1820,
        -670
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "previewExposures": [],
        "ver": "0.42.0"
      },
      "size": [
        340,
        190
      ],
      "type": "882218ff-0ea7-4047-9b12-b79cdc4e9faa",
      "widgets_values": [
        true,
        true,
        1,
        "1:1 (Square)"
      ],
      "widgets_values_named": {
        "aspect_ratio": "1:1 (Square)",
        "switch": true,
        "value": 1,
        "value_1": true
      }
    },
    {
      "flags": {},
      "id": 93,
      "inputs": [
        {
          "link": 355,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            359
          ],
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -1820,
        -390
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ver": "0.42.0"
      },
      "size": [
        340,
        350
      ],
      "type": "PreviewImage"
    }
  ],
  "revision": 1,
  "version": 0.4
}