{
  "last_node_id": 251,
  "last_link_id": 495,
  "nodes": [
    {
      "id": 198,
      "type": "CLIPSetLastLayer",
      "pos": [
        -1129.4736546066385,
        -596.378905818503
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 410
        }
      ],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            411
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPSetLastLayer"
      },
      "widgets_values": [
        -1
      ]
    },
    {
      "id": 197,
      "type": "LoraLoader",
      "pos": [
        -1134.4736546066383,
        -474.37890581850326
      ],
      "size": {
        "0": 315,
        "1": 126
      },
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 408
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 411
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            412
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            416,
            417
          ],
          "shape": 3,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoader"
      },
      "widgets_values": [
        "AnimateLCM_sd15_t2v_lora.safetensors",
        1,
        0
      ]
    },
    {
      "id": 161,
      "type": "IPAdapterAdvanced",
      "pos": [
        -775.473654606637,
        -751.3789058185029
      ],
      "size": {
        "0": 315,
        "1": 278
      },
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "link": 366,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 364,
          "name": "ipadapter",
          "type": "IPADAPTER"
        },
        {
          "link": 495,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "image_negative",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "attn_mask",
          "type": "MASK"
        },
        {
          "link": null,
          "name": "clip_vision",
          "type": "CLIP_VISION"
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            367
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "IPAdapterAdvanced"
      },
      "widgets_values": [
        1,
        "linear",
        "concat",
        0,
        1,
        "V only"
      ]
    },
    {
      "id": 159,
      "type": "IPAdapterUnifiedLoader",
      "pos": [
        -1138.4736546066383,
        -293.3789058185035
      ],
      "size": {
        "0": 315,
        "1": 78
      },
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "link": 412,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": null,
          "name": "ipadapter",
          "type": "IPADAPTER"
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            366
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "ipadapter",
          "type": "IPADAPTER",
          "links": [
            364
          ],
          "shape": 3,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "IPAdapterUnifiedLoader"
      },
      "widgets_values": [
        "PLUS (high strength)"
      ]
    },
    {
      "id": 195,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -1141.4736546066383,
        -735.3789058185029
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            408
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            410
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [],
          "shape": 3,
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "juggernaut_reborn.safetensors"
      ]
    },
    {
      "id": 116,
      "type": "ADE_MultivalDynamic",
      "pos": [
        -378.2158010412542,
        -551.845307124992
      ],
      "size": {
        "0": 302.5413513183594,
        "1": 58
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "link": null,
          "name": "mask_optional",
          "type": "MASK"
        }
      ],
      "outputs": [
        {
          "name": "MULTIVAL",
          "type": "MULTIVAL",
          "links": [
            269
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "ADE_MultivalDynamic"
      },
      "widgets_values": [
        1.2
      ]
    },
    {
      "id": 71,
      "type": "ADE_LoadAnimateDiffModel",
      "pos": [
        -378.2158010412542,
        -683.8453071249921
      ],
      "size": {
        "0": 300.081787109375,
        "1": 58
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "link": null,
          "name": "ad_settings",
          "type": "AD_SETTINGS"
        }
      ],
      "outputs": [
        {
          "name": "MOTION_MODEL",
          "type": "MOTION_MODEL_ADE",
          "links": [
            175
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "ADE_LoadAnimateDiffModel"
      },
      "widgets_values": [
        "AnimateLCM_sd15_t2v.ckpt"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 70,
      "type": "ADE_ApplyAnimateDiffModelSimple",
      "pos": [
        -2.2158010412544336,
        -710.8453071249921
      ],
      "size": {
        "0": 301.5458984375,
        "1": 106
      },
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "link": 175,
          "name": "motion_model",
          "type": "MOTION_MODEL_ADE",
          "slot_index": 0
        },
        {
          "link": null,
          "name": "motion_lora",
          "type": "MOTION_LORA",
          "slot_index": 1
        },
        {
          "link": 269,
          "name": "scale_multival",
          "type": "MULTIVAL",
          "slot_index": 2
        },
        {
          "link": null,
          "name": "effect_multival",
          "type": "MULTIVAL"
        },
        {
          "link": null,
          "name": "ad_keyframes",
          "type": "AD_KEYFRAMES"
        }
      ],
      "outputs": [
        {
          "name": "M_MODELS",
          "type": "M_MODELS",
          "links": [
            177
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ADE_ApplyAnimateDiffModelSimple"
      }
    },
    {
      "id": 73,
      "type": "ADE_LoopedUniformContextOptions",
      "pos": [
        -11.215801041254457,
        -548.845307124992
      ],
      "size": {
        "0": 317.4000244140625,
        "1": 246
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "link": null,
          "name": "prev_context",
          "type": "CONTEXT_OPTIONS"
        },
        {
          "link": null,
          "name": "view_opts",
          "type": "VIEW_OPTS"
        }
      ],
      "outputs": [
        {
          "name": "CONTEXT_OPTS",
          "type": "CONTEXT_OPTIONS",
          "links": [
            178
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "ADE_LoopedUniformContextOptions"
      },
      "widgets_values": [
        16,
        1,
        4,
        false,
        "flat",
        false,
        0,
        1
      ]
    },
    {
      "id": 74,
      "type": "ADE_AnimateDiffSamplingSettings",
      "pos": [
        12.784198958745593,
        -242.84530712499185
      ],
      "size": {
        "0": 303.0100402832031,
        "1": 234
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "link": null,
          "name": "noise_layers",
          "type": "NOISE_LAYERS"
        },
        {
          "link": null,
          "name": "iteration_opts",
          "type": "ITERATION_OPTS"
        },
        {
          "link": null,
          "name": "custom_cfg",
          "type": "CUSTOM_CFG"
        },
        {
          "link": null,
          "name": "sigma_schedule",
          "type": "SIGMA_SCHEDULE"
        },
        {
          "link": null,
          "name": "seed_override",
          "type": "INT",
          "widget": {
            "name": "seed_override"
          }
        }
      ],
      "outputs": [
        {
          "name": "settings",
          "type": "SAMPLE_SETTINGS",
          "links": [
            179
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "ADE_AnimateDiffSamplingSettings"
      },
      "widgets_values": [
        0,
        "FreeNoise",
        "comfy",
        0,
        0,
        false
      ]
    },
    {
      "id": 72,
      "type": "ADE_UseEvolvedSampling",
      "pos": [
        382.78419895874435,
        -715.8453071249921
      ],
      "size": {
        "0": 313.52252197265625,
        "1": 118
      },
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "link": 367,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 177,
          "name": "m_models",
          "type": "M_MODELS"
        },
        {
          "link": 178,
          "name": "context_options",
          "type": "CONTEXT_OPTIONS",
          "slot_index": 2
        },
        {
          "link": 179,
          "name": "sample_settings",
          "type": "SAMPLE_SETTINGS",
          "slot_index": 3
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            418,
            483
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ADE_UseEvolvedSampling"
      },
      "widgets_values": [
        "sqrt_linear (AnimateDiff)"
      ]
    },
    {
      "id": 49,
      "type": "PreviewImage",
      "pos": [
        -1753.2581478355805,
        -446
      ],
      "size": {
        "0": 530,
        "1": 560
      },
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "link": 494,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 118,
      "type": "Color Correct (mtb)",
      "pos": [
        -1460.2581478355805,
        -719
      ],
      "size": {
        "0": 210,
        "1": 226
      },
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "link": 407,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            494,
            495
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "Color Correct (mtb)"
      },
      "widgets_values": [
        true,
        1.1,
        1.1,
        0.15,
        0,
        0,
        1,
        1
      ]
    },
    {
      "id": 191,
      "type": "CLIPTextEncode",
      "pos": [
        -2170.2581478355805,
        -92
      ],
      "size": {
        "0": 400,
        "1": 200
      },
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 434
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            403
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 190,
      "type": "CLIPTextEncode",
      "pos": [
        -2166.2581478355805,
        -333
      ],
      "size": {
        "0": 400,
        "1": 200
      },
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 433
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            402
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "soft pastel colors, cartoon style illustration of a woman as she sees the world while experiencing hallucinations, stoned, splash art, splashed pastel colors, (soft iridiscent glowy smoke) motion effects, best quality, wallpaper art, UHD, centered image, MSchiffer art, ((flat colors)), (cel-shading style) very vibrant neon colors, ((low saturation)) ink lines, iridiscent,"
      ]
    },
    {
      "id": 192,
      "type": "CLIPSetLastLayer",
      "pos": [
        -2524.2581478355805,
        43
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 399
        }
      ],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            400
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPSetLastLayer"
      },
      "widgets_values": [
        -1
      ]
    },
    {
      "id": 193,
      "type": "KSampler",
      "pos": [
        -2530.2581478355805,
        -452
      ],
      "size": {
        "0": 315,
        "1": 262
      },
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 401
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 402
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 403
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 404
        },
        {
          "name": "seed",
          "type": "INT",
          "link": 492,
          "widget": {
            "name": "seed"
          }
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            405
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1,
        "fixed",
        8,
        1,
        "euler",
        "sgm_uniform",
        1
      ]
    },
    {
      "id": 181,
      "type": "EmptyLatentImage",
      "pos": [
        -2521.2581478355805,
        -744
      ],
      "size": {
        "0": 315,
        "1": 106
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            404
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1024,
        1024,
        1
      ]
    },
    {
      "id": 177,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -2528.2581478355805,
        -591
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            383
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            399
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            406
          ],
          "shape": 3,
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "zavychromaxl_v80.safetensors"
      ]
    },
    {
      "id": 194,
      "type": "VAEDecode",
      "pos": [
        -2187.2581478355805,
        -723
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 405
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 406
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            407
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 199,
      "type": "CLIPTextEncode",
      "pos": [
        613,
        -517
      ],
      "size": {
        "0": 210,
        "1": 76
      },
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 416
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            419,
            484
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 200,
      "type": "CLIPTextEncode",
      "pos": [
        616,
        -392
      ],
      "size": {
        "0": 210,
        "1": 76
      },
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 417
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            420,
            485
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 213,
      "type": "EmptyLatentImage",
      "pos": [
        517,
        -260
      ],
      "size": {
        "0": 315,
        "1": 106
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            437
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        288,
        512,
        24
      ]
    },
    {
      "id": 250,
      "type": "Seed",
      "pos": [
        -2180.2581478355805,
        -629
      ],
      "size": {
        "0": 315,
        "1": 142
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "outputs": [
        {
          "name": "seed",
          "type": "SEED",
          "links": null,
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "number",
          "type": "NUMBER",
          "links": null,
          "shape": 3
        },
        {
          "name": "float",
          "type": "FLOAT",
          "links": null,
          "shape": 3
        },
        {
          "name": "int",
          "type": "INT",
          "links": [
            490,
            491,
            492
          ],
          "shape": 3,
          "slot_index": 3
        }
      ],
      "properties": {
        "Node name for S&R": "Seed"
      },
      "widgets_values": [
        27,
        "fixed"
      ]
    },
    {
      "id": 179,
      "type": "LoraLoader",
      "pos": [
        -2674,
        -140
      ],
      "size": [
        458.4308153876191,
        126
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 383
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 400
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            401
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            433,
            434
          ],
          "shape": 3,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoader"
      },
      "widgets_values": [
        "SDXL-Lightning/sdxl_lightning_8step_lora.safetensors",
        1,
        0
      ]
    },
    {
      "id": 201,
      "type": "KSampler",
      "pos": [
        936,
        -733
      ],
      "size": {
        "0": 315,
        "1": 262
      },
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 418
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 419
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 420
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 437
        },
        {
          "name": "seed",
          "type": "INT",
          "link": 490,
          "widget": {
            "name": "seed"
          }
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            427
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1,
        "fixed",
        9,
        1,
        "lcm",
        "sgm_uniform",
        1
      ]
    },
    {
      "id": 196,
      "type": "VAELoader",
      "pos": [
        880,
        -192
      ],
      "size": {
        "0": 423.2407531738281,
        "1": 58
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            431,
            481,
            487
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "vae-ft-mse-840000-ema-pruned.safetensors"
      ]
    },
    {
      "id": 203,
      "type": "VAEDecode",
      "pos": [
        1301,
        -734
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 427
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 431
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            476
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 244,
      "type": "ImageScaleBy",
      "pos": [
        1319,
        -473
      ],
      "size": {
        "0": 315,
        "1": 82
      },
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 476
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            482
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScaleBy"
      },
      "widgets_values": [
        "lanczos",
        2
      ]
    },
    {
      "id": 246,
      "type": "VAEEncode",
      "pos": [
        1556,
        -667
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 482
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 481
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            480
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode"
      }
    },
    {
      "id": 245,
      "type": "KSampler",
      "pos": [
        1829,
        -751
      ],
      "size": {
        "0": 315,
        "1": 262
      },
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 483
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 484
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 485
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 480
        },
        {
          "name": "seed",
          "type": "INT",
          "link": 491,
          "widget": {
            "name": "seed"
          }
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            486
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1,
        "fixed",
        10,
        1,
        "lcm",
        "sgm_uniform",
        0.45
      ]
    },
    {
      "id": 247,
      "type": "VAEDecode",
      "pos": [
        1918,
        -396
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 486
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 487
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            488,
            489
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 228,
      "type": "VHS_VideoCombine",
      "pos": [
        2177,
        -772
      ],
      "size": [
        476.1250915527344,
        1114.8890516493057
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "link": 488,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "type": "VHS_AUDIO"
        },
        {
          "link": null,
          "name": "meta_batch",
          "type": "VHS_BatchManager"
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 8,
        "loop_count": 0,
        "filename_prefix": "upscaled/",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "params": {
            "src": "http://comfy.icu/api/v1/view/workflows/C9Uc7KLNG8Cd4sSNLxXV6/output/m-lZjrfeRmcJoqaoJ5RpB/previews_00001.mp4",
            "type": "temp",
            "format": "video/h264-mp4",
            "filename": "upscaled_00002.mp4",
            "subfolder": ""
          },
          "paused": false
        }
      }
    },
    {
      "id": 217,
      "type": "UpscaleModelLoader",
      "pos": [
        2704,
        -706
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            438
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "RealESRGAN_x4.pth"
      ]
    },
    {
      "id": 219,
      "type": "ImageUpscaleWithModel",
      "pos": [
        2701,
        -582
      ],
      "size": {
        "0": 241.79998779296875,
        "1": 46
      },
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 438
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 489
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            439
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel"
      }
    },
    {
      "id": 220,
      "type": "ImageScale",
      "pos": [
        3062,
        -690
      ],
      "size": {
        "0": 315,
        "1": 130
      },
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 439
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            445,
            447
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScale"
      },
      "widgets_values": [
        "nearest-exact",
        1080,
        1920,
        "disabled"
      ]
    },
    {
      "id": 224,
      "type": "ImageSelector",
      "pos": [
        3427,
        -742
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 445
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            448
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageSelector"
      },
      "widgets_values": [
        "0"
      ]
    },
    {
      "id": 223,
      "type": "VHS_VideoCombine",
      "pos": [
        3763,
        -765
      ],
      "size": [
        476.1250915527344,
        1114.8890516493057
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "link": 450,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "type": "VHS_AUDIO"
        },
        {
          "link": null,
          "name": "meta_batch",
          "type": "VHS_BatchManager"
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 30,
        "loop_count": 0,
        "filename_prefix": "interpolated/",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 15,
        "save_metadata": true,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "params": {
            "src": "http://comfy.icu/api/v1/view/workflows/C9Uc7KLNG8Cd4sSNLxXV6/output/m-lZjrfeRmcJoqaoJ5RpB/previews_00001.mp4",
            "type": "output",
            "format": "video/h264-mp4",
            "filename": "interpolated_00098.mp4",
            "subfolder": ""
          },
          "paused": false
        }
      }
    },
    {
      "id": 225,
      "type": "ImageBatch",
      "pos": [
        3515,
        -607
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 448
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": 447
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            449
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageBatch"
      }
    },
    {
      "id": 226,
      "type": "RIFE VFI",
      "pos": [
        3289,
        -472
      ],
      "size": {
        "0": 443.4000244140625,
        "1": 198
      },
      "flags": {},
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "frames",
          "type": "IMAGE",
          "link": 449
        },
        {
          "name": "optional_interpolation_states",
          "type": "INTERPOLATION_STATES",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            450
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "RIFE VFI"
      },
      "widgets_values": [
        "rife47.pth",
        320,
        4,
        true,
        true,
        1
      ]
    }
  ],
  "links": [
    [
      175,
      71,
      0,
      70,
      0,
      "MOTION_MODEL_ADE"
    ],
    [
      177,
      70,
      0,
      72,
      1,
      "M_MODELS"
    ],
    [
      178,
      73,
      0,
      72,
      2,
      "CONTEXT_OPTIONS"
    ],
    [
      179,
      74,
      0,
      72,
      3,
      "SAMPLE_SETTINGS"
    ],
    [
      269,
      116,
      0,
      70,
      2,
      "MULTIVAL"
    ],
    [
      364,
      159,
      1,
      161,
      1,
      "IPADAPTER"
    ],
    [
      366,
      159,
      0,
      161,
      0,
      "MODEL"
    ],
    [
      367,
      161,
      0,
      72,
      0,
      "MODEL"
    ],
    [
      383,
      177,
      0,
      179,
      0,
      "MODEL"
    ],
    [
      399,
      177,
      1,
      192,
      0,
      "CLIP"
    ],
    [
      400,
      192,
      0,
      179,
      1,
      "CLIP"
    ],
    [
      401,
      179,
      0,
      193,
      0,
      "MODEL"
    ],
    [
      402,
      190,
      0,
      193,
      1,
      "CONDITIONING"
    ],
    [
      403,
      191,
      0,
      193,
      2,
      "CONDITIONING"
    ],
    [
      404,
      181,
      0,
      193,
      3,
      "LATENT"
    ],
    [
      405,
      193,
      0,
      194,
      0,
      "LATENT"
    ],
    [
      406,
      177,
      2,
      194,
      1,
      "VAE"
    ],
    [
      407,
      194,
      0,
      118,
      0,
      "IMAGE"
    ],
    [
      408,
      195,
      0,
      197,
      0,
      "MODEL"
    ],
    [
      410,
      195,
      1,
      198,
      0,
      "CLIP"
    ],
    [
      411,
      198,
      0,
      197,
      1,
      "CLIP"
    ],
    [
      412,
      197,
      0,
      159,
      0,
      "MODEL"
    ],
    [
      416,
      197,
      1,
      199,
      0,
      "CLIP"
    ],
    [
      417,
      197,
      1,
      200,
      0,
      "CLIP"
    ],
    [
      418,
      72,
      0,
      201,
      0,
      "MODEL"
    ],
    [
      419,
      199,
      0,
      201,
      1,
      "CONDITIONING"
    ],
    [
      420,
      200,
      0,
      201,
      2,
      "CONDITIONING"
    ],
    [
      427,
      201,
      0,
      203,
      0,
      "LATENT"
    ],
    [
      431,
      196,
      0,
      203,
      1,
      "VAE"
    ],
    [
      433,
      179,
      1,
      190,
      0,
      "CLIP"
    ],
    [
      434,
      179,
      1,
      191,
      0,
      "CLIP"
    ],
    [
      437,
      213,
      0,
      201,
      3,
      "LATENT"
    ],
    [
      438,
      217,
      0,
      219,
      0,
      "UPSCALE_MODEL"
    ],
    [
      439,
      219,
      0,
      220,
      0,
      "IMAGE"
    ],
    [
      445,
      220,
      0,
      224,
      0,
      "IMAGE"
    ],
    [
      447,
      220,
      0,
      225,
      1,
      "IMAGE"
    ],
    [
      448,
      224,
      0,
      225,
      0,
      "IMAGE"
    ],
    [
      449,
      225,
      0,
      226,
      0,
      "IMAGE"
    ],
    [
      450,
      226,
      0,
      223,
      0,
      "IMAGE"
    ],
    [
      476,
      203,
      0,
      244,
      0,
      "IMAGE"
    ],
    [
      480,
      246,
      0,
      245,
      3,
      "LATENT"
    ],
    [
      481,
      196,
      0,
      246,
      1,
      "VAE"
    ],
    [
      482,
      244,
      0,
      246,
      0,
      "IMAGE"
    ],
    [
      483,
      72,
      0,
      245,
      0,
      "MODEL"
    ],
    [
      484,
      199,
      0,
      245,
      1,
      "CONDITIONING"
    ],
    [
      485,
      200,
      0,
      245,
      2,
      "CONDITIONING"
    ],
    [
      486,
      245,
      0,
      247,
      0,
      "LATENT"
    ],
    [
      487,
      196,
      0,
      247,
      1,
      "VAE"
    ],
    [
      488,
      247,
      0,
      228,
      0,
      "IMAGE"
    ],
    [
      489,
      247,
      0,
      219,
      1,
      "IMAGE"
    ],
    [
      490,
      250,
      3,
      201,
      4,
      "INT"
    ],
    [
      491,
      250,
      3,
      245,
      4,
      "INT"
    ],
    [
      492,
      250,
      3,
      193,
      4,
      "INT"
    ],
    [
      494,
      118,
      0,
      49,
      0,
      "IMAGE"
    ],
    [
      495,
      118,
      0,
      161,
      2,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "groupNodes": {},
    "ds": {
      "scale": 0.8140274938684826,
      "offset": [
        2912.449477422244,
        907.6108446749012
      ]
    }
  },
  "version": 0.4
} make this COMFYUI into python code equivalent, give me robust, quick python code with additional possibility to use it through cli args interface, code shall be very well and precise written, divided into small simple segments and functions, each segment's functionality shall be described with comments, make sure to use PEP8 formating, default values and description for cli interface shall be used whenever possible, apply high informational quality printing and logging stategies that will inform me about the processing, make sure I can set the debug mode with very detailed printing and logging, implement status progress information about execution of the code - tqdm and progress bars and information about total vs already processed items when applicable - this progress bar shall be stable, always visible and not distorted by print statements, prioritize showing of progress bar and unless I choose verbose mode inform me about statistics of the processing only at the end of the code after the execution is finished, add robust try and error statements and make sure that the is code quick and stable, include docstrings follow conventions outlined in the PEP 257 style guide, include detailed module-level docstring which serves as documentation for the entire script or module, give me detailed functions with PEP 257 for docstrings and Google Style formating, make sure to give me module-level docstring with detailed example of usage of the code and cli, implement argcomplete for all command line options and arguments, at the end of the script check the above requirements and make sure each of them is implemented in the code