{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [
          {
            "bounding": [
              2270,
              -20,
              990,
              1040
            ],
            "color": "#444",
            "flags": {},
            "id": 24,
            "title": "Upscale"
          },
          {
            "bounding": [
              1170,
              -20,
              1060,
              1020
            ],
            "color": "#444",
            "flags": {},
            "id": 25,
            "title": "Models"
          },
          {
            "bounding": [
              130,
              -20,
              1000,
              430
            ],
            "color": "#444",
            "flags": {},
            "id": 26,
            "title": "Settings"
          }
        ],
        "id": "8c62a455-6744-43c8-9352-543905ed4db7",
        "inputNode": {
          "bounding": [
            -100,
            60,
            145.3828125,
            168
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "371f8baf-0bc1-4a91-817f-ce0206f77222",
            "linkIds": [
              7817,
              7818
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              21.3828125,
              84
            ],
            "type": "IMAGE"
          },
          {
            "id": "97c6d938-c0e8-4510-bf95-96367da701af",
            "label": "Resize factor",
            "linkIds": [
              7816
            ],
            "name": "value",
            "pos": [
              21.3828125,
              104
            ],
            "type": "INT"
          },
          {
            "id": "662946bd-270a-4c67-8985-cc8e36d4c9ee",
            "linkIds": [
              7854
            ],
            "name": "positive_prompt",
            "pos": [
              21.3828125,
              124
            ],
            "type": "STRING"
          },
          {
            "id": "75b41205-4860-4633-979a-c7076dfe4e59",
            "linkIds": [
              7896
            ],
            "name": "steps",
            "pos": [
              21.3828125,
              144
            ],
            "type": "INT"
          },
          {
            "id": "df66b007-49b2-473e-add0-4395cc90ed9a",
            "linkIds": [
              7897
            ],
            "name": "denoise_strength",
            "pos": [
              21.3828125,
              164
            ],
            "type": "FLOAT"
          },
          {
            "id": "76c92a02-3bea-46f0-bdb1-e56408dd198f",
            "linkIds": [
              7898
            ],
            "name": "seed",
            "pos": [
              21.3828125,
              184
            ],
            "type": "INT"
          }
        ],
        "links": [
          {
            "id": 7633,
            "origin_id": 675,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "FLOAT"
          },
          {
            "id": 7745,
            "origin_id": 696,
            "origin_slot": 1,
            "target_id": 698,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 7746,
            "origin_id": 695,
            "origin_slot": 0,
            "target_id": 696,
            "target_slot": 1,
            "type": "WANVIDIMAGE_EMBEDS"
          },
          {
            "id": 7747,
            "origin_id": 699,
            "origin_slot": 0,
            "target_id": 696,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 7755,
            "origin_id": 697,
            "origin_slot": 2,
            "target_id": 695,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 7756,
            "origin_id": 697,
            "origin_slot": 0,
            "target_id": 695,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 7757,
            "origin_id": 697,
            "origin_slot": 1,
            "target_id": 695,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 7758,
            "origin_id": 700,
            "origin_slot": 0,
            "target_id": 703,
            "target_slot": 0,
            "type": "WANCOMPILEARGS"
          },
          {
            "id": 7759,
            "origin_id": 704,
            "origin_slot": 0,
            "target_id": 696,
            "target_slot": 2,
            "type": "WANVIDEOTEXTEMBEDS"
          },
          {
            "id": 7760,
            "origin_id": 702,
            "origin_slot": 0,
            "target_id": 696,
            "target_slot": 0,
            "type": "WANVIDEOMODEL"
          },
          {
            "id": 7763,
            "origin_id": 701,
            "origin_slot": 0,
            "target_id": 698,
            "target_slot": 0,
            "type": "WANVAE"
          },
          {
            "id": 7764,
            "origin_id": 701,
            "origin_slot": 0,
            "target_id": 699,
            "target_slot": 0,
            "type": "WANVAE"
          },
          {
            "id": 7766,
            "origin_id": 703,
            "origin_slot": 0,
            "target_id": 702,
            "target_slot": 0,
            "type": "WANVIDEOMODEL"
          },
          {
            "id": 7771,
            "origin_id": 706,
            "origin_slot": 0,
            "target_id": 699,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 7772,
            "origin_id": 706,
            "origin_slot": 0,
            "target_id": 697,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7774,
            "origin_id": 708,
            "origin_slot": 0,
            "target_id": 706,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 7775,
            "origin_id": 709,
            "origin_slot": 0,
            "target_id": 706,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 7789,
            "origin_id": 705,
            "origin_slot": 0,
            "target_id": 702,
            "target_slot": 1,
            "type": "WANVIDLORA"
          },
          {
            "id": 7791,
            "origin_id": 698,
            "origin_slot": 0,
            "target_id": 720,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7798,
            "origin_id": 722,
            "origin_slot": 0,
            "target_id": 705,
            "target_slot": 0,
            "type": "WANVIDLORA"
          },
          {
            "id": 7805,
            "origin_id": 724,
            "origin_slot": 0,
            "target_id": 725,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7807,
            "origin_id": 724,
            "origin_slot": 1,
            "target_id": 726,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7808,
            "origin_id": 725,
            "origin_slot": 0,
            "target_id": 708,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7809,
            "origin_id": 726,
            "origin_slot": 0,
            "target_id": 709,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7814,
            "origin_id": 727,
            "origin_slot": 0,
            "target_id": 725,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 7815,
            "origin_id": 727,
            "origin_slot": 0,
            "target_id": 726,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 7816,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 727,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7817,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 706,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7818,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 724,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7854,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 704,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 7896,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 696,
            "target_slot": 17,
            "type": "INT"
          },
          {
            "id": 7897,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 696,
            "target_slot": 19,
            "type": "FLOAT"
          },
          {
            "id": 7898,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 696,
            "target_slot": 18,
            "type": "INT"
          },
          {
            "id": 7903,
            "origin_id": 720,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "Image Controlled Upscale",
        "nodes": [
          {
            "flags": {
              "collapsed": false
            },
            "id": 700,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7758
                ],
                "localized_name": "torch_compile_args",
                "name": "torch_compile_args",
                "slot_index": 0,
                "type": "WANCOMPILEARGS"
              }
            ],
            "pos": [
              1210,
              70
            ],
            "properties": {
              "Node name for S&R": "WanVideoTorchCompileSettings",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              300,
              300
            ],
            "title": "Torch CompSettings",
            "type": "WanVideoTorchCompileSettings",
            "widgets_values": [
              "inductor",
              false,
              "default",
              false,
              64,
              true,
              128,
              false,
              false
            ],
            "widgets_values_named": {
              "allow_unmerged_lora_compile": false,
              "backend": "inductor",
              "compile_transformer_blocks_only": true,
              "dynamic": false,
              "dynamo_cache_size_limit": 64,
              "dynamo_recompile_limit": 128,
              "force_parameter_static_shapes": false,
              "fullgraph": false,
              "mode": "default"
            }
          },
          {
            "flags": {},
            "id": 703,
            "inputs": [
              {
                "link": 7758,
                "localized_name": "compile_args",
                "name": "compile_args",
                "shape": 7,
                "type": "WANCOMPILEARGS"
              },
              {
                "link": null,
                "localized_name": "block_swap_args",
                "name": "block_swap_args",
                "shape": 7,
                "type": "BLOCKSWAPARGS"
              },
              {
                "link": null,
                "localized_name": "lora",
                "name": "lora",
                "shape": 7,
                "type": "WANVIDLORA"
              },
              {
                "link": null,
                "localized_name": "vram_management_args",
                "name": "vram_management_args",
                "shape": 7,
                "type": "VRAM_MANAGEMENTARGS"
              },
              {
                "link": null,
                "localized_name": "extra_model",
                "name": "extra_model",
                "shape": 7,
                "type": "VACEPATH"
              },
              {
                "link": null,
                "localized_name": "fantasytalking_model",
                "name": "fantasytalking_model",
                "shape": 7,
                "type": "FANTASYTALKINGMODEL"
              },
              {
                "link": null,
                "localized_name": "multitalk_model",
                "name": "multitalk_model",
                "shape": 7,
                "type": "MULTITALKMODEL"
              },
              {
                "link": null,
                "localized_name": "fantasyportrait_model",
                "name": "fantasyportrait_model",
                "shape": 7,
                "type": "FANTASYPORTRAITMODEL"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  7766
                ],
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              }
            ],
            "pos": [
              1540,
              70
            ],
            "properties": {
              "Node name for S&R": "WanVideoModelLoader",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {
                  "attention_mode": true,
                  "base_precision": true,
                  "load_device": true,
                  "model": true,
                  "quantization": true
                }
              }
            },
            "size": [
              300,
              380
            ],
            "type": "WanVideoModelLoader",
            "widgets_values": [
              "Wan2_2-T2V-A14B-LOW_fp8_e4m3fn_scaled_KJ.safetensors",
              "fp16_fast",
              "fp8_e4m3fn_scaled",
              "offload_device",
              "sdpa",
              "default"
            ],
            "widgets_values_named": {
              "attention_mode": "sdpa",
              "base_precision": "fp16_fast",
              "load_device": "offload_device",
              "model": "Wan2_2-T2V-A14B-LOW_fp8_e4m3fn_scaled_KJ.safetensors",
              "quantization": "fp8_e4m3fn_scaled",
              "rms_norm_function": "default"
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 701,
            "inputs": [
              {
                "link": null,
                "localized_name": "compile_args",
                "name": "compile_args",
                "shape": 7,
                "type": "WANCOMPILEARGS"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  7763,
                  7764
                ],
                "localized_name": "vae",
                "name": "vae",
                "slot_index": 0,
                "type": "WANVAE"
              }
            ],
            "pos": [
              1870,
              180
            ],
            "properties": {
              "Node name for S&R": "WanVideoVAELoader",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              300,
              170
            ],
            "type": "WanVideoVAELoader",
            "widgets_values": [
              "wan_2.1_vae.safetensors",
              "bf16",
              false,
              false
            ],
            "widgets_values_named": {
              "model_name": "wan_2.1_vae.safetensors",
              "precision": "bf16",
              "use_cpu_cache": false,
              "verbose": false
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 702,
            "inputs": [
              {
                "link": 7766,
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              },
              {
                "link": 7789,
                "localized_name": "lora",
                "name": "lora",
                "shape": 7,
                "type": "WANVIDLORA"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  7760
                ],
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              }
            ],
            "pos": [
              1870,
              70
            ],
            "properties": {
              "Node name for S&R": "WanVideoSetLoRAs",
              "cnr_id": "ComfyUI-WanVideoWrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "998a69cc0acbec503001b8b0ce0a5d5404420e1e"
            },
            "size": [
              300,
              90
            ],
            "type": "WanVideoSetLoRAs"
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 698,
            "inputs": [
              {
                "link": 7763,
                "localized_name": "vae",
                "name": "vae",
                "type": "WANVAE"
              },
              {
                "link": 7745,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  7791
                ],
                "localized_name": "images",
                "name": "images",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              3010,
              60
            ],
            "properties": {
              "Node name for S&R": "WanVideoDecode",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              240,
              250
            ],
            "type": "WanVideoDecode",
            "widgets_values": [
              true,
              512,
              512,
              256,
              256,
              "default"
            ],
            "widgets_values_named": {
              "enable_vae_tiling": true,
              "normalization": "default",
              "tile_stride_x": 256,
              "tile_stride_y": 256,
              "tile_x": 512,
              "tile_y": 512
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 720,
            "inputs": [
              {
                "link": 7791,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  7903
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3010,
              360
            ],
            "properties": {
              "Node name for S&R": "VHS_SelectImages"
            },
            "size": [
              230,
              150
            ],
            "type": "VHS_SelectImages",
            "widgets_values": {
              "err_if_empty": true,
              "err_if_missing": true,
              "indexes": "0"
            },
            "widgets_values_named": {
              "err_if_empty": true,
              "err_if_missing": true,
              "indexes": "0"
            }
          },
          {
            "flags": {},
            "id": 726,
            "inputs": [
              {
                "link": 7807,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 7815,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  7809
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              420,
              200
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+"
            },
            "size": [
              220,
              120
            ],
            "type": "SimpleMath+",
            "widgets_values": [
              "a*b"
            ],
            "widgets_values_named": {
              "value": "a*b"
            }
          },
          {
            "flags": {},
            "id": 709,
            "inputs": [
              {
                "link": 7809,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  7775
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              660,
              200
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              220,
              100
            ],
            "title": "Heigth",
            "type": "PrimitiveInt",
            "widgets_values": [
              8640,
              "fixed"
            ],
            "widgets_values_named": {
              "fixed": "fixed",
              "value": 8640
            }
          },
          {
            "flags": {},
            "id": 708,
            "inputs": [
              {
                "link": 7808,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  7774
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              660,
              70
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              220,
              100
            ],
            "title": "Width",
            "type": "PrimitiveInt",
            "widgets_values": [
              15360,
              "fixed"
            ],
            "widgets_values_named": {
              "fixed": "fixed",
              "value": 15360
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 706,
            "inputs": [
              {
                "link": 7817,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 7774,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 7775,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  7771,
                  7772
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": [],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              }
            ],
            "pos": [
              890,
              70
            ],
            "properties": {
              "Node name for S&R": "ImageResize+"
            },
            "size": [
              220,
              270
            ],
            "type": "ImageResize+",
            "widgets_values": [
              1088,
              1920,
              "lanczos",
              "fill / crop",
              "always",
              8
            ],
            "widgets_values_named": {
              "condition": "always",
              "height": 1920,
              "interpolation": "lanczos",
              "method": "fill / crop",
              "multiple_of": 8,
              "width": 1088
            }
          },
          {
            "flags": {},
            "id": 725,
            "inputs": [
              {
                "link": 7805,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 7814,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  7808
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              420,
              70
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+"
            },
            "size": [
              220,
              120
            ],
            "type": "SimpleMath+",
            "widgets_values": [
              "a*b"
            ],
            "widgets_values_named": {
              "value": "a*b"
            }
          },
          {
            "flags": {},
            "id": 727,
            "inputs": [
              {
                "link": 7816,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 19,
            "outputs": [
              {
                "links": [
                  7814,
                  7815
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              170,
              180
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              220,
              100
            ],
            "title": "Resize by",
            "type": "PrimitiveInt",
            "widgets_values": [
              2,
              "fixed"
            ],
            "widgets_values_named": {
              "fixed": "fixed",
              "value": 2
            }
          },
          {
            "flags": {},
            "id": 724,
            "inputs": [
              {
                "link": 7818,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  7805
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  7807
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              170,
              70
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              200,
              100
            ],
            "type": "GetImageSize",
            "widgets_values": [],
            "widgets_values_named": {}
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 696,
            "inputs": [
              {
                "link": 7760,
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              },
              {
                "link": 7746,
                "localized_name": "image_embeds",
                "name": "image_embeds",
                "type": "WANVIDIMAGE_EMBEDS"
              },
              {
                "link": 7759,
                "localized_name": "text_embeds",
                "name": "text_embeds",
                "shape": 7,
                "type": "WANVIDEOTEXTEMBEDS"
              },
              {
                "link": 7747,
                "localized_name": "samples",
                "name": "samples",
                "shape": 7,
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "feta_args",
                "name": "feta_args",
                "shape": 7,
                "type": "FETAARGS"
              },
              {
                "link": null,
                "localized_name": "context_options",
                "name": "context_options",
                "shape": 7,
                "type": "WANVIDCONTEXT"
              },
              {
                "link": null,
                "localized_name": "cache_args",
                "name": "cache_args",
                "shape": 7,
                "type": "CACHEARGS"
              },
              {
                "link": null,
                "localized_name": "flowedit_args",
                "name": "flowedit_args",
                "shape": 7,
                "type": "FLOWEDITARGS"
              },
              {
                "link": null,
                "localized_name": "slg_args",
                "name": "slg_args",
                "shape": 7,
                "type": "SLGARGS"
              },
              {
                "link": null,
                "localized_name": "loop_args",
                "name": "loop_args",
                "shape": 7,
                "type": "LOOPARGS"
              },
              {
                "link": null,
                "localized_name": "experimental_args",
                "name": "experimental_args",
                "shape": 7,
                "type": "EXPERIMENTALARGS"
              },
              {
                "link": null,
                "localized_name": "sigmas",
                "name": "sigmas",
                "shape": 7,
                "type": "SIGMAS"
              },
              {
                "link": null,
                "localized_name": "unianimate_poses",
                "name": "unianimate_poses",
                "shape": 7,
                "type": "UNIANIMATE_POSE"
              },
              {
                "link": null,
                "localized_name": "fantasytalking_embeds",
                "name": "fantasytalking_embeds",
                "shape": 7,
                "type": "FANTASYTALKING_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "uni3c_embeds",
                "name": "uni3c_embeds",
                "shape": 7,
                "type": "UNI3C_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "multitalk_embeds",
                "name": "multitalk_embeds",
                "shape": 7,
                "type": "MULTITALK_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "freeinit_args",
                "name": "freeinit_args",
                "shape": 7,
                "type": "FREEINITARGS"
              },
              {
                "link": 7896,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": 7898,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 7897,
                "localized_name": "denoise_strength",
                "name": "denoise_strength",
                "shape": 7,
                "type": "FLOAT",
                "widget": {
                  "name": "denoise_strength"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [],
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "links": [
                  7745
                ],
                "localized_name": "denoised_samples",
                "name": "denoised_samples",
                "type": "LATENT"
              }
            ],
            "pos": [
              2700,
              60
            ],
            "properties": {
              "Node name for S&R": "WanVideoSampler",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              300,
              950
            ],
            "type": "WanVideoSampler",
            "widgets_values": [
              25,
              1.0000000000000002,
              5,
              818384571656808,
              "randomize",
              false,
              "euler",
              0,
              0.35,
              false,
              "comfy",
              0,
              -1,
              true
            ],
            "widgets_values_named": {
              "add_noise_to_samples": true,
              "batched_cfg": false,
              "cfg": 1.0000000000000002,
              "control_after_generate": "randomize",
              "denoise_strength": 0.35,
              "end_step": -1,
              "force_offload": false,
              "riflex_freq_index": 0,
              "rope_function": "comfy",
              "scheduler": "euler",
              "seed": 818384571656808,
              "shift": 5,
              "start_step": 0,
              "steps": 25
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 699,
            "inputs": [
              {
                "link": 7764,
                "localized_name": "vae",
                "name": "vae",
                "type": "WANVAE"
              },
              {
                "link": 7771,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "mask",
                "name": "mask",
                "shape": 7,
                "type": "MASK"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  7747
                ],
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              }
            ],
            "pos": [
              2390,
              80
            ],
            "properties": {
              "Node name for S&R": "WanVideoEncode",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.3",
                "widget_ue_connectable": {}
              }
            },
            "size": [
              220,
              290
            ],
            "type": "WanVideoEncode",
            "widgets_values": [
              true,
              512,
              512,
              256,
              256,
              0.01,
              1
            ],
            "widgets_values_named": {
              "enable_vae_tiling": true,
              "latent_strength": 1,
              "noise_aug_strength": 0.01,
              "tile_stride_x": 256,
              "tile_stride_y": 256,
              "tile_x": 512,
              "tile_y": 512
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 704,
            "inputs": [
              {
                "link": null,
                "localized_name": "extender_args",
                "name": "extender_args",
                "shape": 7,
                "type": "WANVIDEOPROMPTEXTENDER_ARGS"
              },
              {
                "link": 7854,
                "localized_name": "positive_prompt",
                "name": "positive_prompt",
                "type": "STRING",
                "widget": {
                  "name": "positive_prompt"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  7759
                ],
                "localized_name": "text_embeds",
                "name": "text_embeds",
                "type": "WANVIDEOTEXTEMBEDS"
              },
              {
                "links": [],
                "localized_name": "negative_text_embeds",
                "name": "negative_text_embeds",
                "type": "WANVIDEOTEXTEMBEDS"
              },
              {
                "links": [],
                "localized_name": "positive_prompt",
                "name": "positive_prompt",
                "type": "STRING"
              }
            ],
            "pos": [
              1880,
              480
            ],
            "properties": {
              "Node name for S&R": "WanVideoTextEncodeCached",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "widget_ue_connectable": {}
              }
            },
            "size": [
              300,
              360
            ],
            "type": "WanVideoTextEncodeCached",
            "widgets_values": [
              "umt5_xxl_fp16.safetensors",
              "bf16",
              "high resolution, sharp, detailed",
              "",
              "disabled",
              true,
              "gpu"
            ],
            "widgets_values_named": {
              "device": "gpu",
              "model_name": "umt5_xxl_fp16.safetensors",
              "negative_prompt": "",
              "positive_prompt": "high resolution, sharp, detailed",
              "precision": "bf16",
              "quantization": "disabled",
              "use_disk_cache": true
            }
          },
          {
            "flags": {},
            "id": 722,
            "inputs": [
              {
                "link": null,
                "localized_name": "prev_lora",
                "name": "prev_lora",
                "shape": 7,
                "type": "WANVIDLORA"
              },
              {
                "link": null,
                "localized_name": "blocks",
                "name": "blocks",
                "shape": 7,
                "type": "SELECTEDBLOCKS"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  7798
                ],
                "localized_name": "lora",
                "name": "lora",
                "type": "WANVIDLORA"
              }
            ],
            "pos": [
              1220,
              690
            ],
            "properties": {
              "Node name for S&R": "WanVideoLoraSelect",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "widget_ue_connectable": {}
              }
            },
            "size": [
              300,
              190
            ],
            "title": "Lightning Lora",
            "type": "WanVideoLoraSelect",
            "widgets_values": [
              "WAN2.2-LowNoise_SmartphoneSnapshotPhotoReality_v3_by-AI_Characters.safetensors",
              0.7,
              false,
              false
            ],
            "widgets_values_named": {
              "lora": "WAN2.2-LowNoise_SmartphoneSnapshotPhotoReality_v3_by-AI_Characters.safetensors",
              "low_mem_load": false,
              "merge_loras": false,
              "strength": 0.7
            }
          },
          {
            "flags": {},
            "id": 705,
            "inputs": [
              {
                "link": 7798,
                "localized_name": "prev_lora",
                "name": "prev_lora",
                "shape": 7,
                "type": "WANVIDLORA"
              },
              {
                "link": null,
                "localized_name": "blocks",
                "name": "blocks",
                "shape": 7,
                "type": "SELECTEDBLOCKS"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  7789
                ],
                "localized_name": "lora",
                "name": "lora",
                "type": "WANVIDLORA"
              }
            ],
            "pos": [
              1220,
              430
            ],
            "properties": {
              "Node name for S&R": "WanVideoLoraSelect",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "widget_ue_connectable": {}
              }
            },
            "size": [
              300,
              190
            ],
            "title": "Lightning Lora",
            "type": "WanVideoLoraSelect",
            "widgets_values": [
              "lightx2v_14B_T2V_cfg_step_distill_lora_adaptive_rank_quantile_0.15_bf16.safetensors",
              0.7,
              false,
              false
            ],
            "widgets_values_named": {
              "lora": "lightx2v_14B_T2V_cfg_step_distill_lora_adaptive_rank_quantile_0.15_bf16.safetensors",
              "low_mem_load": false,
              "merge_loras": false,
              "strength": 0.7
            }
          },
          {
            "flags": {},
            "id": 697,
            "inputs": [
              {
                "link": 7772,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  7756
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  7757
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": [
                  7755
                ],
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              2410,
              700
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              200,
              100
            ],
            "type": "GetImageSize",
            "widgets_values": [],
            "widgets_values_named": {}
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 695,
            "inputs": [
              {
                "link": null,
                "localized_name": "control_embeds",
                "name": "control_embeds",
                "shape": 7,
                "type": "WANVIDIMAGE_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "extra_latents",
                "name": "extra_latents",
                "shape": 7,
                "type": "LATENT"
              },
              {
                "link": 7756,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 7757,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 7755,
                "localized_name": "num_frames",
                "name": "num_frames",
                "type": "INT",
                "widget": {
                  "name": "num_frames"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  7746
                ],
                "localized_name": "image_embeds",
                "name": "image_embeds",
                "type": "WANVIDIMAGE_EMBEDS"
              }
            ],
            "pos": [
              2390,
              450
            ],
            "properties": {
              "Node name for S&R": "WanVideoEmptyEmbeds",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              230,
              170
            ],
            "title": "Image Embeds",
            "type": "WanVideoEmptyEmbeds",
            "widgets_values": [
              1088,
              1920,
              81
            ],
            "widgets_values_named": {
              "height": 1920,
              "num_frames": 81,
              "width": 1088
            }
          }
        ],
        "outputNode": {
          "bounding": [
            3310,
            -20,
            128,
            68
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "c3d1d6b4-d4da-4506-9c15-8122aa73586b",
            "linkIds": [
              7903
            ],
            "localized_name": "images",
            "name": "images",
            "pos": [
              3334,
              4
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 29,
          "lastLinkId": 7907,
          "lastNodeId": 826,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [
          {
            "bounding": [
              2240,
              -30,
              990,
              1040
            ],
            "color": "#444",
            "flags": {},
            "id": 27,
            "title": "Upscale"
          },
          {
            "bounding": [
              1140,
              -30,
              1060,
              1020
            ],
            "color": "#444",
            "flags": {},
            "id": 28,
            "title": "Models"
          },
          {
            "bounding": [
              100,
              -30,
              1000,
              430
            ],
            "color": "#444",
            "flags": {},
            "id": 29,
            "title": "Settings"
          }
        ],
        "id": "058e194e-5740-4f04-a9ca-7c741daecfcc",
        "inputNode": {
          "bounding": [
            -130,
            50,
            145.3828125,
            168
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "371f8baf-0bc1-4a91-817f-ce0206f77222",
            "linkIds": [
              7891,
              7892
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -8.6171875,
              74
            ],
            "type": "IMAGE"
          },
          {
            "id": "97c6d938-c0e8-4510-bf95-96367da701af",
            "label": "Resize factor",
            "linkIds": [
              7890
            ],
            "name": "value",
            "pos": [
              -8.6171875,
              94
            ],
            "type": "INT"
          },
          {
            "id": "0e970a53-3816-4fff-a568-4b536c286a8f",
            "linkIds": [
              7848
            ],
            "name": "positive_prompt",
            "pos": [
              -8.6171875,
              114
            ],
            "type": "STRING"
          },
          {
            "id": "54248257-ace0-444a-b897-d01c3b254f9f",
            "linkIds": [
              7893
            ],
            "name": "steps",
            "pos": [
              -8.6171875,
              134
            ],
            "type": "INT"
          },
          {
            "id": "dc4d176a-c13f-44c8-9162-b48afb1eea7f",
            "linkIds": [
              7894
            ],
            "name": "denoise_strength",
            "pos": [
              -8.6171875,
              154
            ],
            "type": "FLOAT"
          },
          {
            "id": "07be5ea4-5700-43cb-b64d-da842a7d8537",
            "linkIds": [
              7895
            ],
            "name": "seed",
            "pos": [
              -8.6171875,
              174
            ],
            "type": "INT"
          }
        ],
        "links": [
          {
            "id": 7864,
            "origin_id": 675,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "FLOAT"
          },
          {
            "id": 7865,
            "origin_id": 817,
            "origin_slot": 1,
            "target_id": 805,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 7866,
            "origin_id": 819,
            "origin_slot": 0,
            "target_id": 817,
            "target_slot": 1,
            "type": "WANVIDIMAGE_EMBEDS"
          },
          {
            "id": 7867,
            "origin_id": 820,
            "origin_slot": 0,
            "target_id": 817,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 7868,
            "origin_id": 818,
            "origin_slot": 2,
            "target_id": 819,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 7869,
            "origin_id": 818,
            "origin_slot": 0,
            "target_id": 819,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 7870,
            "origin_id": 818,
            "origin_slot": 1,
            "target_id": 819,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 7871,
            "origin_id": 801,
            "origin_slot": 0,
            "target_id": 802,
            "target_slot": 0,
            "type": "WANCOMPILEARGS"
          },
          {
            "id": 7872,
            "origin_id": 816,
            "origin_slot": 0,
            "target_id": 817,
            "target_slot": 2,
            "type": "WANVIDEOTEXTEMBEDS"
          },
          {
            "id": 7873,
            "origin_id": 804,
            "origin_slot": 0,
            "target_id": 817,
            "target_slot": 0,
            "type": "WANVIDEOMODEL"
          },
          {
            "id": 7874,
            "origin_id": 803,
            "origin_slot": 0,
            "target_id": 805,
            "target_slot": 0,
            "type": "WANVAE"
          },
          {
            "id": 7875,
            "origin_id": 803,
            "origin_slot": 0,
            "target_id": 820,
            "target_slot": 0,
            "type": "WANVAE"
          },
          {
            "id": 7876,
            "origin_id": 802,
            "origin_slot": 0,
            "target_id": 804,
            "target_slot": 0,
            "type": "WANVIDEOMODEL"
          },
          {
            "id": 7877,
            "origin_id": 812,
            "origin_slot": 0,
            "target_id": 820,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 7878,
            "origin_id": 812,
            "origin_slot": 0,
            "target_id": 818,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7879,
            "origin_id": 811,
            "origin_slot": 0,
            "target_id": 812,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 7880,
            "origin_id": 810,
            "origin_slot": 0,
            "target_id": 812,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 7881,
            "origin_id": 807,
            "origin_slot": 0,
            "target_id": 804,
            "target_slot": 1,
            "type": "WANVIDLORA"
          },
          {
            "id": 7882,
            "origin_id": 805,
            "origin_slot": 0,
            "target_id": 806,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7883,
            "origin_id": 808,
            "origin_slot": 0,
            "target_id": 807,
            "target_slot": 0,
            "type": "WANVIDLORA"
          },
          {
            "id": 7884,
            "origin_id": 815,
            "origin_slot": 0,
            "target_id": 813,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7885,
            "origin_id": 815,
            "origin_slot": 1,
            "target_id": 809,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7886,
            "origin_id": 813,
            "origin_slot": 0,
            "target_id": 811,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7887,
            "origin_id": 809,
            "origin_slot": 0,
            "target_id": 810,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7888,
            "origin_id": 814,
            "origin_slot": 0,
            "target_id": 813,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 7889,
            "origin_id": 814,
            "origin_slot": 0,
            "target_id": 809,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 7890,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 814,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 7891,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 812,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7892,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 815,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7848,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 816,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 7893,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 817,
            "target_slot": 17,
            "type": "INT"
          },
          {
            "id": 7894,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 817,
            "target_slot": 19,
            "type": "FLOAT"
          },
          {
            "id": 7895,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 817,
            "target_slot": 18,
            "type": "INT"
          },
          {
            "id": 7904,
            "origin_id": 806,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "Image Controlled Upscale",
        "nodes": [
          {
            "flags": {
              "collapsed": false
            },
            "id": 801,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7871
                ],
                "localized_name": "torch_compile_args",
                "name": "torch_compile_args",
                "slot_index": 0,
                "type": "WANCOMPILEARGS"
              }
            ],
            "pos": [
              1180,
              60
            ],
            "properties": {
              "Node name for S&R": "WanVideoTorchCompileSettings",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              300,
              300
            ],
            "title": "Torch CompSettings",
            "type": "WanVideoTorchCompileSettings",
            "widgets_values": [
              "inductor",
              false,
              "default",
              false,
              64,
              true,
              128,
              false,
              false
            ],
            "widgets_values_named": {
              "allow_unmerged_lora_compile": false,
              "backend": "inductor",
              "compile_transformer_blocks_only": true,
              "dynamic": false,
              "dynamo_cache_size_limit": 64,
              "dynamo_recompile_limit": 128,
              "force_parameter_static_shapes": false,
              "fullgraph": false,
              "mode": "default"
            }
          },
          {
            "flags": {},
            "id": 802,
            "inputs": [
              {
                "link": 7871,
                "localized_name": "compile_args",
                "name": "compile_args",
                "shape": 7,
                "type": "WANCOMPILEARGS"
              },
              {
                "link": null,
                "localized_name": "block_swap_args",
                "name": "block_swap_args",
                "shape": 7,
                "type": "BLOCKSWAPARGS"
              },
              {
                "link": null,
                "localized_name": "lora",
                "name": "lora",
                "shape": 7,
                "type": "WANVIDLORA"
              },
              {
                "link": null,
                "localized_name": "vram_management_args",
                "name": "vram_management_args",
                "shape": 7,
                "type": "VRAM_MANAGEMENTARGS"
              },
              {
                "link": null,
                "localized_name": "extra_model",
                "name": "extra_model",
                "shape": 7,
                "type": "VACEPATH"
              },
              {
                "link": null,
                "localized_name": "fantasytalking_model",
                "name": "fantasytalking_model",
                "shape": 7,
                "type": "FANTASYTALKINGMODEL"
              },
              {
                "link": null,
                "localized_name": "multitalk_model",
                "name": "multitalk_model",
                "shape": 7,
                "type": "MULTITALKMODEL"
              },
              {
                "link": null,
                "localized_name": "fantasyportrait_model",
                "name": "fantasyportrait_model",
                "shape": 7,
                "type": "FANTASYPORTRAITMODEL"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  7876
                ],
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              }
            ],
            "pos": [
              1510,
              60
            ],
            "properties": {
              "Node name for S&R": "WanVideoModelLoader",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {
                  "attention_mode": true,
                  "base_precision": true,
                  "load_device": true,
                  "model": true,
                  "quantization": true
                }
              }
            },
            "size": [
              300,
              380
            ],
            "type": "WanVideoModelLoader",
            "widgets_values": [
              "Wan2_2-T2V-A14B-LOW_fp8_e4m3fn_scaled_KJ.safetensors",
              "fp16_fast",
              "fp8_e4m3fn_scaled",
              "offload_device",
              "sdpa",
              "default"
            ],
            "widgets_values_named": {
              "attention_mode": "sdpa",
              "base_precision": "fp16_fast",
              "load_device": "offload_device",
              "model": "Wan2_2-T2V-A14B-LOW_fp8_e4m3fn_scaled_KJ.safetensors",
              "quantization": "fp8_e4m3fn_scaled",
              "rms_norm_function": "default"
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 803,
            "inputs": [
              {
                "link": null,
                "localized_name": "compile_args",
                "name": "compile_args",
                "shape": 7,
                "type": "WANCOMPILEARGS"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  7874,
                  7875
                ],
                "localized_name": "vae",
                "name": "vae",
                "slot_index": 0,
                "type": "WANVAE"
              }
            ],
            "pos": [
              1840,
              180
            ],
            "properties": {
              "Node name for S&R": "WanVideoVAELoader",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              300,
              170
            ],
            "type": "WanVideoVAELoader",
            "widgets_values": [
              "wan_2.1_vae.safetensors",
              "bf16",
              false,
              false
            ],
            "widgets_values_named": {
              "model_name": "wan_2.1_vae.safetensors",
              "precision": "bf16",
              "use_cpu_cache": false,
              "verbose": false
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 804,
            "inputs": [
              {
                "link": 7876,
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              },
              {
                "link": 7881,
                "localized_name": "lora",
                "name": "lora",
                "shape": 7,
                "type": "WANVIDLORA"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  7873
                ],
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              }
            ],
            "pos": [
              1840,
              60
            ],
            "properties": {
              "Node name for S&R": "WanVideoSetLoRAs",
              "cnr_id": "ComfyUI-WanVideoWrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "998a69cc0acbec503001b8b0ce0a5d5404420e1e"
            },
            "size": [
              300,
              90
            ],
            "type": "WanVideoSetLoRAs"
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 805,
            "inputs": [
              {
                "link": 7874,
                "localized_name": "vae",
                "name": "vae",
                "type": "WANVAE"
              },
              {
                "link": 7865,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  7882
                ],
                "localized_name": "images",
                "name": "images",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2980,
              50
            ],
            "properties": {
              "Node name for S&R": "WanVideoDecode",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              240,
              250
            ],
            "type": "WanVideoDecode",
            "widgets_values": [
              true,
              512,
              512,
              256,
              256,
              "default"
            ],
            "widgets_values_named": {
              "enable_vae_tiling": true,
              "normalization": "default",
              "tile_stride_x": 256,
              "tile_stride_y": 256,
              "tile_x": 512,
              "tile_y": 512
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 806,
            "inputs": [
              {
                "link": 7882,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  7904
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2980,
              300
            ],
            "properties": {
              "Node name for S&R": "VHS_SelectImages"
            },
            "size": [
              230,
              150
            ],
            "type": "VHS_SelectImages",
            "widgets_values": {
              "err_if_empty": true,
              "err_if_missing": true,
              "indexes": "0"
            },
            "widgets_values_named": {
              "err_if_empty": true,
              "err_if_missing": true,
              "indexes": "0"
            }
          },
          {
            "flags": {},
            "id": 807,
            "inputs": [
              {
                "link": 7883,
                "localized_name": "prev_lora",
                "name": "prev_lora",
                "shape": 7,
                "type": "WANVIDLORA"
              },
              {
                "link": null,
                "localized_name": "blocks",
                "name": "blocks",
                "shape": 7,
                "type": "SELECTEDBLOCKS"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  7881
                ],
                "localized_name": "lora",
                "name": "lora",
                "type": "WANVIDLORA"
              }
            ],
            "pos": [
              1180,
              370
            ],
            "properties": {
              "Node name for S&R": "WanVideoLoraSelect",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "widget_ue_connectable": {}
              }
            },
            "size": [
              300,
              190
            ],
            "title": "Lightning Lora",
            "type": "WanVideoLoraSelect",
            "widgets_values": [
              "lightx2v_14B_T2V_cfg_step_distill_lora_adaptive_rank_quantile_0.15_bf16.safetensors",
              0.7,
              false,
              false
            ],
            "widgets_values_named": {
              "lora": "lightx2v_14B_T2V_cfg_step_distill_lora_adaptive_rank_quantile_0.15_bf16.safetensors",
              "low_mem_load": false,
              "merge_loras": false,
              "strength": 0.7
            }
          },
          {
            "flags": {},
            "id": 808,
            "inputs": [
              {
                "link": null,
                "localized_name": "prev_lora",
                "name": "prev_lora",
                "shape": 7,
                "type": "WANVIDLORA"
              },
              {
                "link": null,
                "localized_name": "blocks",
                "name": "blocks",
                "shape": 7,
                "type": "SELECTEDBLOCKS"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  7883
                ],
                "localized_name": "lora",
                "name": "lora",
                "type": "WANVIDLORA"
              }
            ],
            "pos": [
              1180,
              570
            ],
            "properties": {
              "Node name for S&R": "WanVideoLoraSelect",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "widget_ue_connectable": {}
              }
            },
            "size": [
              300,
              190
            ],
            "title": "Lightning Lora",
            "type": "WanVideoLoraSelect",
            "widgets_values": [
              "WAN2.2-LowNoise_SmartphoneSnapshotPhotoReality_v3_by-AI_Characters.safetensors",
              0.7,
              false,
              false
            ],
            "widgets_values_named": {
              "lora": "WAN2.2-LowNoise_SmartphoneSnapshotPhotoReality_v3_by-AI_Characters.safetensors",
              "low_mem_load": false,
              "merge_loras": false,
              "strength": 0.7
            }
          },
          {
            "flags": {},
            "id": 809,
            "inputs": [
              {
                "link": 7885,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 7889,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  7887
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              390,
              190
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+"
            },
            "size": [
              220,
              120
            ],
            "type": "SimpleMath+",
            "widgets_values": [
              "a*b"
            ],
            "widgets_values_named": {
              "value": "a*b"
            }
          },
          {
            "flags": {},
            "id": 810,
            "inputs": [
              {
                "link": 7887,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  7880
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              630,
              190
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              220,
              100
            ],
            "title": "Heigth",
            "type": "PrimitiveInt",
            "widgets_values": [
              8640,
              "fixed"
            ],
            "widgets_values_named": {
              "fixed": "fixed",
              "value": 8640
            }
          },
          {
            "flags": {},
            "id": 811,
            "inputs": [
              {
                "link": 7886,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  7879
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              630,
              60
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              220,
              100
            ],
            "title": "Width",
            "type": "PrimitiveInt",
            "widgets_values": [
              15360,
              "fixed"
            ],
            "widgets_values_named": {
              "fixed": "fixed",
              "value": 15360
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 812,
            "inputs": [
              {
                "link": 7891,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 7879,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 7880,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  7877,
                  7878
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": [],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              }
            ],
            "pos": [
              860,
              60
            ],
            "properties": {
              "Node name for S&R": "ImageResize+"
            },
            "size": [
              220,
              270
            ],
            "type": "ImageResize+",
            "widgets_values": [
              1088,
              1920,
              "lanczos",
              "fill / crop",
              "always",
              8
            ],
            "widgets_values_named": {
              "condition": "always",
              "height": 1920,
              "interpolation": "lanczos",
              "method": "fill / crop",
              "multiple_of": 8,
              "width": 1088
            }
          },
          {
            "flags": {},
            "id": 813,
            "inputs": [
              {
                "link": 7884,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 7888,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  7886
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              390,
              60
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+"
            },
            "size": [
              220,
              120
            ],
            "type": "SimpleMath+",
            "widgets_values": [
              "a*b"
            ],
            "widgets_values_named": {
              "value": "a*b"
            }
          },
          {
            "flags": {},
            "id": 814,
            "inputs": [
              {
                "link": 7890,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  7888,
                  7889
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              140,
              180
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              220,
              100
            ],
            "title": "Resize by",
            "type": "PrimitiveInt",
            "widgets_values": [
              2,
              "fixed"
            ],
            "widgets_values_named": {
              "fixed": "fixed",
              "value": 2
            }
          },
          {
            "flags": {},
            "id": 815,
            "inputs": [
              {
                "link": 7892,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  7884
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  7885
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              140,
              60
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              200,
              100
            ],
            "type": "GetImageSize"
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 816,
            "inputs": [
              {
                "link": null,
                "localized_name": "extender_args",
                "name": "extender_args",
                "shape": 7,
                "type": "WANVIDEOPROMPTEXTENDER_ARGS"
              },
              {
                "link": 7848,
                "localized_name": "positive_prompt",
                "name": "positive_prompt",
                "type": "STRING",
                "widget": {
                  "name": "positive_prompt"
                }
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  7872
                ],
                "localized_name": "text_embeds",
                "name": "text_embeds",
                "type": "WANVIDEOTEXTEMBEDS"
              },
              {
                "links": [],
                "localized_name": "negative_text_embeds",
                "name": "negative_text_embeds",
                "type": "WANVIDEOTEXTEMBEDS"
              },
              {
                "links": [],
                "localized_name": "positive_prompt",
                "name": "positive_prompt",
                "type": "STRING"
              }
            ],
            "pos": [
              1840,
              370
            ],
            "properties": {
              "Node name for S&R": "WanVideoTextEncodeCached",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "widget_ue_connectable": {}
              }
            },
            "size": [
              300,
              360
            ],
            "type": "WanVideoTextEncodeCached",
            "widgets_values": [
              "umt5_xxl_fp16.safetensors",
              "bf16",
              "high resolution, sharp, detailed",
              "",
              "disabled",
              true,
              "gpu"
            ],
            "widgets_values_named": {
              "device": "gpu",
              "model_name": "umt5_xxl_fp16.safetensors",
              "negative_prompt": "",
              "positive_prompt": "high resolution, sharp, detailed",
              "precision": "bf16",
              "quantization": "disabled",
              "use_disk_cache": true
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 817,
            "inputs": [
              {
                "link": 7873,
                "localized_name": "model",
                "name": "model",
                "type": "WANVIDEOMODEL"
              },
              {
                "link": 7866,
                "localized_name": "image_embeds",
                "name": "image_embeds",
                "type": "WANVIDIMAGE_EMBEDS"
              },
              {
                "link": 7872,
                "localized_name": "text_embeds",
                "name": "text_embeds",
                "shape": 7,
                "type": "WANVIDEOTEXTEMBEDS"
              },
              {
                "link": 7867,
                "localized_name": "samples",
                "name": "samples",
                "shape": 7,
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "feta_args",
                "name": "feta_args",
                "shape": 7,
                "type": "FETAARGS"
              },
              {
                "link": null,
                "localized_name": "context_options",
                "name": "context_options",
                "shape": 7,
                "type": "WANVIDCONTEXT"
              },
              {
                "link": null,
                "localized_name": "cache_args",
                "name": "cache_args",
                "shape": 7,
                "type": "CACHEARGS"
              },
              {
                "link": null,
                "localized_name": "flowedit_args",
                "name": "flowedit_args",
                "shape": 7,
                "type": "FLOWEDITARGS"
              },
              {
                "link": null,
                "localized_name": "slg_args",
                "name": "slg_args",
                "shape": 7,
                "type": "SLGARGS"
              },
              {
                "link": null,
                "localized_name": "loop_args",
                "name": "loop_args",
                "shape": 7,
                "type": "LOOPARGS"
              },
              {
                "link": null,
                "localized_name": "experimental_args",
                "name": "experimental_args",
                "shape": 7,
                "type": "EXPERIMENTALARGS"
              },
              {
                "link": null,
                "localized_name": "sigmas",
                "name": "sigmas",
                "shape": 7,
                "type": "SIGMAS"
              },
              {
                "link": null,
                "localized_name": "unianimate_poses",
                "name": "unianimate_poses",
                "shape": 7,
                "type": "UNIANIMATE_POSE"
              },
              {
                "link": null,
                "localized_name": "fantasytalking_embeds",
                "name": "fantasytalking_embeds",
                "shape": 7,
                "type": "FANTASYTALKING_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "uni3c_embeds",
                "name": "uni3c_embeds",
                "shape": 7,
                "type": "UNI3C_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "multitalk_embeds",
                "name": "multitalk_embeds",
                "shape": 7,
                "type": "MULTITALK_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "freeinit_args",
                "name": "freeinit_args",
                "shape": 7,
                "type": "FREEINITARGS"
              },
              {
                "link": 7893,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": 7895,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 7894,
                "localized_name": "denoise_strength",
                "name": "denoise_strength",
                "shape": 7,
                "type": "FLOAT",
                "widget": {
                  "name": "denoise_strength"
                }
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [],
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "links": [
                  7865
                ],
                "localized_name": "denoised_samples",
                "name": "denoised_samples",
                "type": "LATENT"
              }
            ],
            "pos": [
              2670,
              50
            ],
            "properties": {
              "Node name for S&R": "WanVideoSampler",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              300,
              950
            ],
            "type": "WanVideoSampler",
            "widgets_values": [
              35,
              1.0000000000000002,
              5,
              445683960138346,
              "randomize",
              false,
              "euler",
              0,
              0.24,
              false,
              "comfy",
              0,
              -1,
              true
            ],
            "widgets_values_named": {
              "add_noise_to_samples": true,
              "batched_cfg": false,
              "cfg": 1.0000000000000002,
              "control_after_generate": "randomize",
              "denoise_strength": 0.24,
              "end_step": -1,
              "force_offload": false,
              "riflex_freq_index": 0,
              "rope_function": "comfy",
              "scheduler": "euler",
              "seed": 445683960138346,
              "shift": 5,
              "start_step": 0,
              "steps": 35
            }
          },
          {
            "flags": {},
            "id": 818,
            "inputs": [
              {
                "link": 7878,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  7869
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  7870
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": [
                  7868
                ],
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              2260,
              410
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              200,
              100
            ],
            "type": "GetImageSize"
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 819,
            "inputs": [
              {
                "link": null,
                "localized_name": "control_embeds",
                "name": "control_embeds",
                "shape": 7,
                "type": "WANVIDIMAGE_EMBEDS"
              },
              {
                "link": null,
                "localized_name": "extra_latents",
                "name": "extra_latents",
                "shape": 7,
                "type": "LATENT"
              },
              {
                "link": 7869,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 7870,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 7868,
                "localized_name": "num_frames",
                "name": "num_frames",
                "type": "INT",
                "widget": {
                  "name": "num_frames"
                }
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  7866
                ],
                "localized_name": "image_embeds",
                "name": "image_embeds",
                "type": "WANVIDIMAGE_EMBEDS"
              }
            ],
            "pos": [
              2420,
              360
            ],
            "properties": {
              "Node name for S&R": "WanVideoEmptyEmbeds",
              "cnr_id": "comfyui-wanvideowrapper",
              "ue_properties": {
                "version": "7.0.1",
                "widget_ue_connectable": {}
              },
              "ver": "1.2.3"
            },
            "size": [
              230,
              170
            ],
            "title": "Image Embeds",
            "type": "WanVideoEmptyEmbeds",
            "widgets_values": [
              1088,
              1920,
              81
            ],
            "widgets_values_named": {
              "height": 1920,
              "num_frames": 81,
              "width": 1088
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 820,
            "inputs": [
              {
                "link": 7875,
                "localized_name": "vae",
                "name": "vae",
                "type": "WANVAE"
              },
              {
                "link": 7877,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "mask",
                "name": "mask",
                "shape": 7,
                "type": "MASK"
              }
            ],
            "mode": 0,
            "order": 19,
            "outputs": [
              {
                "links": [
                  7867
                ],
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              }
            ],
            "pos": [
              2420,
              50
            ],
            "properties": {
              "Node name for S&R": "WanVideoEncode",
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.3",
                "widget_ue_connectable": {}
              }
            },
            "size": [
              220,
              290
            ],
            "type": "WanVideoEncode",
            "widgets_values": [
              true,
              512,
              512,
              256,
              256,
              0.01,
              1
            ],
            "widgets_values_named": {
              "enable_vae_tiling": true,
              "latent_strength": 1,
              "noise_aug_strength": 0.01,
              "tile_stride_x": 256,
              "tile_stride_y": 256,
              "tile_x": 512,
              "tile_y": 512
            }
          }
        ],
        "outputNode": {
          "bounding": [
            3280,
            -30,
            149.87109375,
            88
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "c3d1d6b4-d4da-4506-9c15-8122aa73586b",
            "linkIds": [
              7904
            ],
            "localized_name": "images",
            "name": "images",
            "pos": [
              3304,
              -6
            ],
            "type": "IMAGE"
          },
          {
            "id": "3afa7e3c-5d23-40ea-a8df-81eea54c5368",
            "label": "generated prompt",
            "linkIds": [],
            "name": "STRING",
            "pos": [
              3304,
              14
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 29,
          "lastLinkId": 7907,
          "lastNodeId": 826,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        325.28219604514743,
        1241.9115225390108
      ],
      "scale": 0.34288285628033444
    },
    "frontendVersion": "1.53.6",
    "linearMode": false,
    "links_added_by_ue": [],
    "node_versions": {
      "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8",
      "ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd",
      "comfy-core": "0.3.26"
    },
    "ue_links": [],
    "workflowRendererVersion": "Vue-corrected"
  },
  "groups": [
    {
      "bounding": [
        2720,
        -470,
        1030,
        1220
      ],
      "color": "#3f789e",
      "flags": {},
      "id": 1,
      "title": "Image Compare"
    },
    {
      "bounding": [
        830,
        -470,
        1860,
        1220
      ],
      "color": "#3f789e",
      "flags": {},
      "id": 2,
      "title": "Image Controlled Upscale"
    }
  ],
  "id": "47f6fda0-abb3-42b0-8c02-4241283fbc06",
  "last_link_id": 7907,
  "last_node_id": 826,
  "links": [
    [
      7592,
      664,
      0,
      632,
      0,
      "IMAGE"
    ],
    [
      7828,
      632,
      0,
      733,
      0,
      "IMAGE"
    ],
    [
      7851,
      800,
      0,
      670,
      0,
      "IMAGE"
    ],
    [
      7899,
      826,
      0,
      822,
      0,
      "STRING"
    ],
    [
      7900,
      826,
      0,
      632,
      2,
      "STRING"
    ],
    [
      7901,
      826,
      0,
      800,
      2,
      "STRING"
    ],
    [
      7902,
      664,
      0,
      826,
      0,
      "IMAGE"
    ],
    [
      7905,
      733,
      0,
      800,
      0,
      "IMAGE"
    ],
    [
      7906,
      670,
      0,
      824,
      1,
      "IMAGE"
    ],
    [
      7907,
      733,
      0,
      824,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {
        "collapsed": false
      },
      "id": 657,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [],
      "pos": [
        870,
        370
      ],
      "properties": {},
      "size": [
        300,
        200
      ],
      "title": "Steps",
      "type": "MarkdownNote",
      "widgets_values": [
        "## Quick Upscaling:\n- 25 Steps\n\n## Detailed Upscaling:\n- 50+ Steps"
      ],
      "widgets_values_named": {
        "text": "## Quick Upscaling:\n- 25 Steps\n\n## Detailed Upscaling:\n- 50+ Steps"
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 756,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        280,
        -450
      ],
      "properties": {},
      "size": [
        490,
        570
      ],
      "title": "Image Controlled Upscale",
      "type": "MarkdownNote",
      "widgets_values": [
        "This is a two-stage iterative image upscaler. It can help to increase fidelity especially in AI generated images.\n\n## How It Works\n\n1. **Upload an image**\n2. Set your resize factor\n\n3. The system:\n   - Analyzes your image and generates a prompt\n   - Upscales it in a first pass e.g. 4x with a higher denoise\n   - Upscales it in a second pass e.g. 2x Refining with a finer denoise\n\n\n## Tips\n\n- When you need higher resemblance, lower the denoise\n- When you need better textures, increase the denoise\n- Try it for different image styles\n- Experiment with steps and denoise\n- This workflow is really useful when you need control over your upscale\n\n\nThat’s it.  \nImage -> Controlled Upscale"
      ],
      "widgets_values_named": {
        "text": "This is a two-stage iterative image upscaler. It can help to increase fidelity especially in AI generated images.\n\n## How It Works\n\n1. **Upload an image**\n2. Set your resize factor\n\n3. The system:\n   - Analyzes your image and generates a prompt\n   - Upscales it in a first pass e.g. 4x with a higher denoise\n   - Upscales it in a second pass e.g. 2x Refining with a finer denoise\n\n\n## Tips\n\n- When you need higher resemblance, lower the denoise\n- When you need better textures, increase the denoise\n- Try it for different image styles\n- Experiment with steps and denoise\n- This workflow is really useful when you need control over your upscale\n\n\nThat’s it.  \nImage -> Controlled Upscale"
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {
        "collapsed": false
      },
      "id": 656,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        870,
        120
      ],
      "properties": {},
      "size": [
        300,
        200
      ],
      "title": "Denoising Strength",
      "type": "MarkdownNote",
      "widgets_values": [
        "## Creative Upscaling:\n- 0.20 - 0.4 (coarse)\n\n## Detail Preserving:\n- 0.10 - 0.20 (fine)"
      ],
      "widgets_values_named": {
        "text": "## Creative Upscaling:\n- 0.20 - 0.4 (coarse)\n\n## Detail Preserving:\n- 0.10 - 0.20 (fine)"
      }
    },
    {
      "flags": {},
      "id": 822,
      "inputs": [
        {
          "link": 7899,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": null,
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1230,
        150
      ],
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "size": [
        400,
        420
      ],
      "type": "PreviewAny",
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 800,
      "inputs": [
        {
          "link": 7905,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "Resize factor",
          "link": null,
          "name": "value",
          "type": "INT",
          "widget": {
            "name": "value"
          }
        },
        {
          "link": 7901,
          "name": "positive_prompt",
          "type": "STRING",
          "widget": {
            "name": "positive_prompt"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            7851
          ],
          "name": "images",
          "type": "IMAGE"
        },
        {
          "label": "generated prompt",
          "links": [],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1650,
        220
      ],
      "properties": {
        "previewExposures": [],
        "proxyWidgetErrorQuarantine": [
          {
            "attemptedAtVersion": 1,
            "originalEntry": [
              "817",
              "control_after_generate"
            ],
            "reason": "missingSubgraphInput"
          }
        ]
      },
      "size": [
        400,
        500
      ],
      "type": "058e194e-5740-4f04-a9ca-7c741daecfcc",
      "widgets_values": [
        2,
        "high resolution, sharp, detailed",
        35,
        0.24,
        517105421393766
      ],
      "widgets_values_named": {
        "denoise_strength": 0.24,
        "positive_prompt": "high resolution, sharp, detailed",
        "seed": 517105421393766,
        "steps": 35,
        "value": 2
      }
    },
    {
      "flags": {},
      "id": 733,
      "inputs": [
        {
          "link": 7828,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            7905,
            7907
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2100,
        -370
      ],
      "properties": {},
      "size": [
        400,
        440
      ],
      "type": "SaveImage",
      "widgets_values": [
        "upscale-1"
      ],
      "widgets_values_named": {
        "filename_prefix": "upscale-1"
      }
    },
    {
      "flags": {},
      "id": 670,
      "inputs": [
        {
          "link": 7851,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            7906
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2100,
        220
      ],
      "properties": {},
      "size": [
        400,
        440
      ],
      "type": "SaveImage",
      "widgets_values": [
        "upscale-2"
      ],
      "widgets_values_named": {
        "filename_prefix": "upscale-2"
      }
    },
    {
      "flags": {},
      "id": 664,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            7592,
            7902
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        870,
        -370
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "size": [
        320,
        330
      ],
      "type": "LoadImage",
      "widgets_values": [
        "playful_portrait.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "playful_portrait.png",
        "upload": "image"
      }
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 632,
      "inputs": [
        {
          "link": 7592,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "Resize factor",
          "link": null,
          "name": "value",
          "type": "INT",
          "widget": {
            "name": "value"
          }
        },
        {
          "link": 7900,
          "name": "positive_prompt",
          "type": "STRING",
          "widget": {
            "name": "positive_prompt"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            7828
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1650,
        -360
      ],
      "properties": {
        "previewExposures": [],
        "proxyWidgetErrorQuarantine": [
          {
            "attemptedAtVersion": 1,
            "originalEntry": [
              "696",
              "control_after_generate"
            ],
            "reason": "missingSubgraphInput"
          }
        ]
      },
      "size": [
        400,
        520
      ],
      "type": "8c62a455-6744-43c8-9352-543905ed4db7",
      "widgets_values": [
        2,
        "high resolution, sharp, detailed",
        25,
        0.35,
        596336293815149
      ],
      "widgets_values_named": {
        "denoise_strength": 0.35,
        "positive_prompt": "high resolution, sharp, detailed",
        "seed": 596336293815149,
        "steps": 25,
        "value": 2
      }
    },
    {
      "flags": {},
      "id": 824,
      "inputs": [
        {
          "link": 7907,
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 7906,
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [],
      "pos": [
        2780,
        -390
      ],
      "properties": {
        "Node name for S&R": "ImageCompare"
      },
      "size": [
        940,
        980
      ],
      "type": "ImageCompare",
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 826,
      "inputs": [
        {
          "link": 7902,
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "model.audio.audio_1",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "name": "model.video.video_1",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "name": "model.files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            7899,
            7900,
            7901
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1230,
        -360
      ],
      "properties": {
        "Node name for S&R": "GeminiNodeV3"
      },
      "showAdvanced": false,
      "size": [
        400,
        366
      ],
      "type": "GeminiNodeV3",
      "widgets_values": [
        "Gemini 3.8 Flash",
        "high resolution, sharp, detailed",
        "static",
        "MEDIUM",
        32768,
        1575831053,
        "randomize",
        "prompt that retains composition, and focuses on increasing detail. 512 characters."
      ],
      "widgets_values_named": {
        "control_after_generate": "randomize",
        "model": "Gemini 3.8 Flash",
        "model.max_output_tokens": 32768,
        "model.prompt": "high resolution, sharp, detailed",
        "model.seed": 1575831053,
        "model.system_prompt": "prompt that retains composition, and focuses on increasing detail. 512 characters.",
        "model.thinking_level": "MEDIUM",
        "model.video_processing": "static"
      }
    }
  ],
  "revision": 0,
  "version": 0.4
}