{
  "last_node_id": 84,
  "last_link_id": 190,
  "nodes": [
    {
      "id": 31,
      "type": "CogVideoTextEncode",
      "pos": [
        497,
        520
      ],
      "size": [
        463.01251220703125,
        144
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 149
        }
      ],
      "outputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "links": [
            146
          ],
          "slot_index": 0,
          "shape": 3
        },
        {
          "name": "clip",
          "type": "CLIP",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "CogVideoTextEncode"
      },
      "widgets_values": [
        "The video is not of a high quality, it has a low resolution. Watermark present in each frame. Strange motion trajectory. ",
        1,
        true
      ]
    },
    {
      "id": 20,
      "type": "CLIPLoader",
      "pos": [
        -2,
        304
      ],
      "size": [
        451.30548095703125,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            54
          ],
          "slot_index": 0,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "t5\\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors",
        "sd3",
        "default"
      ]
    },
    {
      "id": 74,
      "type": "ImageConcatMulti",
      "pos": [
        1787.351318359375,
        513.0852661132812
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "image_1",
          "type": "IMAGE",
          "link": 171
        },
        {
          "name": "image_2",
          "type": "IMAGE",
          "link": 184
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            170
          ],
          "slot_index": 0
        }
      ],
      "properties": {},
      "widgets_values": [
        2,
        "right",
        false,
        null
      ]
    },
    {
      "id": 60,
      "type": "CogVideoDecode",
      "pos": [
        1518.4959716796875,
        -16.81044578552246
      ],
      "size": [
        315,
        198
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "VAE",
          "link": 132
        },
        {
          "name": "samples",
          "type": "LATENT",
          "link": 148
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            184
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CogVideoDecode"
      },
      "widgets_values": [
        true,
        240,
        360,
        0.2,
        0.2,
        true
      ]
    },
    {
      "id": 72,
      "type": "CogVideoLoraSelect",
      "pos": [
        149.58236694335938,
        -19.5003604888916
      ],
      "size": [
        429.9602355957031,
        108.1800765991211
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "prev_lora",
          "type": "COGLORA",
          "link": null,
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "lora",
          "type": "COGLORA",
          "links": [
            174
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CogVideoLoraSelect"
      },
      "widgets_values": [
        "I2V5B_final_i30000_lora_weights.safetensors",
        1,
        false
      ]
    },
    {
      "id": 59,
      "type": "DownloadAndLoadCogVideoModel",
      "pos": [
        620.1983032226562,
        -39.41391372680664
      ],
      "size": [
        315,
        218
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "block_edit",
          "type": "TRANSFORMERBLOCKS",
          "link": null,
          "shape": 7
        },
        {
          "name": "lora",
          "type": "COGLORA",
          "link": 174,
          "shape": 7
        },
        {
          "name": "compile_args",
          "type": "COMPILEARGS",
          "link": null,
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "COGVIDEOMODEL",
          "links": [
            144
          ]
        },
        {
          "name": "vae",
          "type": "VAE",
          "links": [
            132,
            141,
            165
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "DownloadAndLoadCogVideoModel"
      },
      "widgets_values": [
        "THUDM/CogVideoX-5b-I2V",
        "bf16",
        "disabled",
        false,
        "sageattn",
        "main_device"
      ]
    },
    {
      "id": 30,
      "type": "CogVideoTextEncode",
      "pos": [
        493,
        303
      ],
      "size": [
        471.90142822265625,
        168.08047485351562
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 54
        }
      ],
      "outputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "links": [
            145
          ],
          "slot_index": 0,
          "shape": 3
        },
        {
          "name": "clip",
          "type": "CLIP",
          "links": [
            149
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "CogVideoTextEncode"
      },
      "widgets_values": [
        "mouse knight walking in a forest",
        1,
        false
      ]
    },
    {
      "id": 63,
      "type": "CogVideoSampler",
      "pos": [
        1144.7025146484375,
        55.98257064819336
      ],
      "size": [
        330,
        594
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "COGVIDEOMODEL",
          "link": 144
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 145
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 146
        },
        {
          "name": "samples",
          "type": "LATENT",
          "link": 164,
          "shape": 7
        },
        {
          "name": "image_cond_latents",
          "type": "LATENT",
          "link": 147,
          "shape": 7
        },
        {
          "name": "context_options",
          "type": "COGCONTEXT",
          "link": null,
          "shape": 7
        },
        {
          "name": "controlnet",
          "type": "COGVIDECONTROLNET",
          "link": null,
          "shape": 7
        },
        {
          "name": "tora_trajectory",
          "type": "TORAFEATURES",
          "link": null,
          "shape": 7
        },
        {
          "name": "fastercache",
          "type": "FASTERCACHEARGS",
          "link": null,
          "shape": 7
        },
        {
          "name": "feta_args",
          "type": "FETAARGS",
          "link": null,
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            148
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CogVideoSampler"
      },
      "widgets_values": [
        49,
        25,
        6,
        0,
        "fixed",
        "CogVideoXDDIM",
        1
      ]
    },
    {
      "id": 79,
      "type": "Note",
      "pos": [
        141.44003295898438,
        -129.33815002441406
      ],
      "size": [
        436.1673889160156,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "https://huggingface.co/VGenAI-Netflix-Eyeline-Research/Go-with-the-Flow/blob/main/I2V5B_final_i38800_nearest_lora_weights.safetensors"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 76,
      "type": "VHS_VideoCombine",
      "pos": [
        1955.22119140625,
        841.7718505859375
      ],
      "size": [
        1141.2095947265625,
        1095.4730224609375
      ],
      "flags": {},
      "order": 16,
      "mode": 2,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 185
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": null,
          "shape": 7
        },
        {
          "name": "meta_batch",
          "type": "VHS_BatchManager",
          "link": null,
          "shape": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "shape": 7
        }
      ],
      "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": "CogVideoX-I2V",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "CogVideoX-I2V_00001.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 8,
            "workflow": "CogVideoX-I2V_00001.png",
            "fullpath": "N:\\AI\\ComfyUI\\temp\\CogVideoX-I2V_00001.mp4"
          },
          "muted": false
        }
      }
    },
    {
      "id": 80,
      "type": "Note",
      "pos": [
        1648.847900390625,
        1100.5545654296875
      ],
      "size": [
        249.00543212890625,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "This is just for testing the noise"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 73,
      "type": "CogVideoDecode",
      "pos": [
        1567.16064453125,
        842.2813110351562
      ],
      "size": [
        315,
        198
      ],
      "flags": {},
      "order": 14,
      "mode": 2,
      "inputs": [
        {
          "name": "vae",
          "type": "VAE",
          "link": 165
        },
        {
          "name": "samples",
          "type": "LATENT",
          "link": 167
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            185
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CogVideoDecode"
      },
      "widgets_values": [
        true,
        240,
        360,
        0.2,
        0.2,
        true
      ]
    },
    {
      "id": 68,
      "type": "GetImageSizeAndCount",
      "pos": [
        -195.5599822998047,
        1273.8702392578125
      ],
      "size": [
        277.20001220703125,
        86
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 181
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            178
          ],
          "slot_index": 0
        },
        {
          "name": "1024 width",
          "type": "INT",
          "links": null
        },
        {
          "name": "768 height",
          "type": "INT",
          "links": null
        },
        {
          "name": "49 count",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageSizeAndCount"
      }
    },
    {
      "id": 62,
      "type": "CogVideoImageEncode",
      "pos": [
        612.8922729492188,
        751.6295776367188
      ],
      "size": [
        315,
        194
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "VAE",
          "link": 141
        },
        {
          "name": "start_image",
          "type": "IMAGE",
          "link": 190
        },
        {
          "name": "end_image",
          "type": "IMAGE",
          "link": null,
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            147
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CogVideoImageEncode"
      },
      "widgets_values": [
        false,
        0,
        1,
        0,
        1
      ]
    },
    {
      "id": 82,
      "type": "Note",
      "pos": [
        -533.0764770507812,
        1158.188232421875
      ],
      "size": [
        364.71002197265625,
        58
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Input video that's used to create the noise"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 64,
      "type": "GetWarpedNoiseFromVideo",
      "pos": [
        674.1111450195312,
        1289.6090087890625
      ],
      "size": [
        315,
        222
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 161
        }
      ],
      "outputs": [
        {
          "name": "noise",
          "type": "LATENT",
          "links": [
            164,
            167
          ],
          "slot_index": 0
        },
        {
          "name": "visualization",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetWarpedNoiseFromVideo"
      },
      "widgets_values": [
        16,
        "nearest",
        13,
        0.5,
        "BCTHW",
        99026504067718,
        "fixed"
      ]
    },
    {
      "id": 83,
      "type": "Note",
      "pos": [
        679.4560546875,
        1179.797607421875
      ],
      "size": [
        293.1480407714844,
        58
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "https://github.com/kijai/ComfyUI-VideoNoiseWarp"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 69,
      "type": "VHS_LoadVideo",
      "pos": [
        -536.2808837890625,
        1265.4254150390625
      ],
      "size": [
        247.455078125,
        446.3408203125
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "meta_batch",
          "type": "VHS_BatchManager",
          "link": null,
          "shape": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            181
          ],
          "slot_index": 0
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "AnimateDiff_00023 (16).mp4",
        "force_rate": 0,
        "force_size": "Disabled",
        "custom_width": 512,
        "custom_height": 512,
        "frame_load_cap": 0,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "choose video to upload": "image",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "force_rate": 0,
            "frame_load_cap": 0,
            "skip_first_frames": 0,
            "select_every_nth": 1,
            "filename": "AnimateDiff_00023 (16).mp4",
            "type": "input",
            "format": "video/mp4"
          },
          "muted": false
        }
      }
    },
    {
      "id": 44,
      "type": "VHS_VideoCombine",
      "pos": [
        2071.7626953125,
        -69.11408233642578
      ],
      "size": [
        1141.2095947265625,
        721.7365112304688
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 170
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": null,
          "shape": 7
        },
        {
          "name": "meta_batch",
          "type": "VHS_BatchManager",
          "link": null,
          "shape": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "shape": 7
        }
      ],
      "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": "CogVideoX_I2V_NoiseWarp",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "CogVideoX-I2V_00002.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 8,
            "workflow": "CogVideoX-I2V_00002.png",
            "fullpath": "N:\\AI\\ComfyUI\\temp\\CogVideoX-I2V_00002.mp4"
          },
          "muted": false
        }
      }
    },
    {
      "id": 71,
      "type": "ImageResizeKJ",
      "pos": [
        204.58009338378906,
        1289.261474609375
      ],
      "size": [
        315,
        266
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 178
        },
        {
          "name": "get_image_size",
          "type": "IMAGE",
          "link": null,
          "shape": 7
        },
        {
          "name": "width_input",
          "type": "INT",
          "link": null,
          "widget": {
            "name": "width_input"
          },
          "shape": 7
        },
        {
          "name": "height_input",
          "type": "INT",
          "link": null,
          "widget": {
            "name": "height_input"
          },
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            161,
            171,
            189
          ],
          "slot_index": 0,
          "shape": 3
        },
        {
          "name": "width",
          "type": "INT",
          "links": null,
          "shape": 3
        },
        {
          "name": "height",
          "type": "INT",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJ"
      },
      "widgets_values": [
        720,
        480,
        "lanczos",
        false,
        16,
        0,
        0,
        "disabled"
      ]
    },
    {
      "id": 84,
      "type": "GetImageRangeFromBatch",
      "pos": [
        197.0398712158203,
        1077.9952392578125
      ],
      "size": [
        340.2047424316406,
        102
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 189,
          "shape": 7
        },
        {
          "name": "masks",
          "type": "MASK",
          "link": null,
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            190
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageRangeFromBatch"
      },
      "widgets_values": [
        0,
        1
      ]
    }
  ],
  "links": [
    [
      54,
      20,
      0,
      30,
      0,
      "CLIP"
    ],
    [
      132,
      59,
      1,
      60,
      0,
      "VAE"
    ],
    [
      141,
      59,
      1,
      62,
      0,
      "VAE"
    ],
    [
      144,
      59,
      0,
      63,
      0,
      "COGVIDEOMODEL"
    ],
    [
      145,
      30,
      0,
      63,
      1,
      "CONDITIONING"
    ],
    [
      146,
      31,
      0,
      63,
      2,
      "CONDITIONING"
    ],
    [
      147,
      62,
      0,
      63,
      4,
      "LATENT"
    ],
    [
      148,
      63,
      0,
      60,
      1,
      "LATENT"
    ],
    [
      149,
      30,
      1,
      31,
      0,
      "CLIP"
    ],
    [
      161,
      71,
      0,
      64,
      0,
      "IMAGE"
    ],
    [
      164,
      64,
      0,
      63,
      3,
      "LATENT"
    ],
    [
      165,
      59,
      1,
      73,
      0,
      "VAE"
    ],
    [
      167,
      64,
      0,
      73,
      1,
      "LATENT"
    ],
    [
      170,
      74,
      0,
      44,
      0,
      "IMAGE"
    ],
    [
      171,
      71,
      0,
      74,
      0,
      "IMAGE"
    ],
    [
      174,
      72,
      0,
      59,
      1,
      "COGLORA"
    ],
    [
      178,
      68,
      0,
      71,
      0,
      "IMAGE"
    ],
    [
      181,
      69,
      0,
      68,
      0,
      "IMAGE"
    ],
    [
      184,
      60,
      0,
      74,
      1,
      "IMAGE"
    ],
    [
      185,
      73,
      0,
      76,
      0,
      "IMAGE"
    ],
    [
      189,
      71,
      0,
      84,
      0,
      "IMAGE"
    ],
    [
      190,
      84,
      0,
      62,
      1,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6115909044841579,
      "offset": [
        1276.2661497783536,
        -1.7440717555266154
      ]
    },
    "node_versions": {
      "ComfyUI-CogVideoXWrapper": "8c5e4f812d869653a6c201af0dcd6249c18b3231",
      "comfy-core": "0.3.12",
      "ComfyUI-KJNodes": "c9c8dcd5e7ed2f7669f130a5ced1e3005264a2de",
      "ComfyUI-VideoHelperSuite": "c47b10ca1798b4925ff5a5f07d80c51ca80a837d",
      "ComfyUI-NoiseWarp": "8c5e4f812d869653a6c201af0dcd6249c18b3231"
    },
    "VHS_latentpreview": true,
    "VHS_latentpreviewrate": 0
  },
  "version": 0.4
}