{
  "id": "06c60d94-8897-46c5-935f-022d42d10e3f",
  "revision": 0,
  "last_node_id": 101,
  "last_link_id": 293,
  "nodes": [
    {
      "id": 3,
      "type": "LoadVideo",
      "pos": [
        540,
        720
      ],
      "size": [
        290,
        310
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            290,
            292
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.0",
        "Node name for S&R": "LoadVideo"
      },
      "widgets_values": [
        "chill_capybara_dance_pose.mp4",
        "image"
      ],
      "widgets_values_named": {
        "file": "chill_capybara_dance_pose.mp4",
        "upload": "image"
      }
    },
    {
      "id": 4,
      "type": "SaveVideo",
      "pos": [
        1248.421875,
        720
      ],
      "size": [
        680,
        357.90625
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 293
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": [
            289
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.0"
      },
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/ComfyUI",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 98,
      "type": "7e8f7b8b-a2c3-4ebb-a31b-7d3c829a1b76",
      "pos": [
        1980,
        720
      ],
      "size": [
        290,
        160
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "label": "Before Video",
          "name": "video",
          "type": "VIDEO",
          "link": 290
        },
        {
          "label": "After Video",
          "name": "video_1",
          "type": "VIDEO",
          "link": 289
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            291
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.13.0",
        "previewExposures": []
      },
      "widgets_values": [
        "right",
        true,
        0,
        "white"
      ],
      "widgets_values_named": {
        "direction": "right",
        "match_image_size": true,
        "spacing_width": 0,
        "spacing_color": "white"
      }
    },
    {
      "id": 100,
      "type": "SaveVideo",
      "pos": [
        2314.421875,
        720
      ],
      "size": [
        680,
        125.90625
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 291
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.0"
      },
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/ComfyUI",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 101,
      "type": "ByteDanceVideoEnhanceNode",
      "pos": [
        878,
        720
      ],
      "size": [
        322.421875,
        197.890625
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 292
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            293
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.0",
        "Node name for S&R": "ByteDanceVideoEnhanceNode"
      },
      "widgets_values": [
        "standard",
        "aigc",
        "hd",
        "1080p",
        "source",
        "medium"
      ],
      "widgets_values_named": {
        "tool_version": "standard",
        "tool_version.scene": "aigc",
        "tool_version.enhance_style": "hd",
        "resolution": "1080p",
        "fps": "source",
        "bitrate_level": "medium"
      },
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      289,
      4,
      0,
      98,
      1,
      "VIDEO"
    ],
    [
      290,
      3,
      0,
      98,
      0,
      "VIDEO"
    ],
    [
      291,
      98,
      0,
      100,
      0,
      "VIDEO"
    ],
    [
      292,
      3,
      0,
      101,
      0,
      "VIDEO"
    ],
    [
      293,
      101,
      0,
      4,
      0,
      "VIDEO"
    ]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "7e8f7b8b-a2c3-4ebb-a31b-7d3c829a1b76",
        "version": 1,
        "state": {
          "lastGroupId": 1,
          "lastNodeId": 101,
          "lastLinkId": 293,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Video Stitch",
        "description": "Stitches multiple video clips into a single sequential video file.",
        "inputNode": {
          "id": -10,
          "bounding": [
            -6810,
            2580,
            151.55859375,
            168
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            -4770,
            2600,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "85555afe-c7a1-4f6e-b073-7c37f7bace7f",
            "name": "video",
            "type": "VIDEO",
            "linkIds": [
              253
            ],
            "localized_name": "video",
            "label": "Before Video",
            "pos": [
              -6682.44140625,
              2604
            ]
          },
          {
            "id": "022773ee-6b4f-4e3d-bead-68b3e75e2d20",
            "name": "video_1",
            "type": "VIDEO",
            "linkIds": [
              254
            ],
            "localized_name": "video_1",
            "label": "After Video",
            "pos": [
              -6682.44140625,
              2624
            ]
          },
          {
            "id": "7bcd7cbc-e918-472a-a0cf-2e0900545372",
            "name": "direction",
            "type": "COMBO",
            "linkIds": [
              259
            ],
            "pos": [
              -6682.44140625,
              2644
            ]
          },
          {
            "id": "9a00389d-c1c8-40d5-87fe-f41019b61fbc",
            "name": "match_image_size",
            "type": "BOOLEAN",
            "linkIds": [
              260
            ],
            "pos": [
              -6682.44140625,
              2664
            ]
          },
          {
            "id": "b95e0440-3ea8-4ae0-887e-12e75701042a",
            "name": "spacing_width",
            "type": "INT",
            "linkIds": [
              261
            ],
            "pos": [
              -6682.44140625,
              2684
            ]
          },
          {
            "id": "83ab9382-0a70-4169-b26a-66ab026b43c4",
            "name": "spacing_color",
            "type": "COMBO",
            "linkIds": [
              262
            ],
            "pos": [
              -6682.44140625,
              2704
            ]
          }
        ],
        "outputs": [
          {
            "id": "09707f43-7552-4a6e-bd23-d962d31801c2",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              255
            ],
            "localized_name": "VIDEO",
            "pos": [
              -4746,
              2624
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 78,
            "type": "GetVideoComponents",
            "pos": [
              -6390,
              2600
            ],
            "size": [
              230,
              120
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "video",
                "name": "video",
                "type": "VIDEO",
                "link": 254
              }
            ],
            "outputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "links": [
                  249
                ]
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "type": "AUDIO",
                "links": null
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "links": null
              },
              {
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "type": "COMBO",
                "links": null
              },
              {
                "localized_name": "color_space",
                "name": "color_space",
                "type": "COMBO",
                "links": null
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.13.0",
              "Node name for S&R": "GetVideoComponents"
            }
          },
          {
            "id": 77,
            "type": "GetVideoComponents",
            "pos": [
              -6390,
              2420
            ],
            "size": [
              230,
              120
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "video",
                "name": "video",
                "type": "VIDEO",
                "link": 253
              }
            ],
            "outputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "links": [
                  248
                ]
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "type": "AUDIO",
                "links": [
                  251
                ]
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "links": [
                  252
                ]
              },
              {
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "type": "COMBO",
                "links": null
              },
              {
                "localized_name": "color_space",
                "name": "color_space",
                "type": "COMBO",
                "links": null
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.13.0",
              "Node name for S&R": "GetVideoComponents"
            }
          },
          {
            "id": 90,
            "type": "GetImageSize",
            "pos": [
              -6390,
              3030
            ],
            "size": [
              230,
              120
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 266
              }
            ],
            "outputs": [
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "links": [
                  274
                ]
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "links": [
                  276
                ]
              },
              {
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "links": null
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.0",
              "Node name for S&R": "GetImageSize"
            }
          },
          {
            "id": 80,
            "type": "CreateVideo",
            "pos": [
              -5190,
              2420
            ],
            "size": [
              270,
              140
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 282
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 251
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "widget": {
                  "name": "fps"
                },
                "link": 252
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  255
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.13.0",
              "Node name for S&R": "CreateVideo"
            },
            "widgets_values": [
              30,
              "auto",
              "sRGB"
            ],
            "widgets_values_named": {
              "fps": 30,
              "bit_depth": "auto",
              "color_space": "sRGB"
            }
          },
          {
            "id": 95,
            "type": "ComfyMathExpression",
            "pos": [
              -6040,
              3020
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "label": "a",
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN",
                "link": 274
              },
              {
                "label": "b",
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT",
                "links": null
              },
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  279
                ]
              },
              {
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN",
                "links": null
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.0",
              "Node name for S&R": "ComfyMathExpression"
            },
            "widgets_values": [
              "a & ~1"
            ],
            "widgets_values_named": {
              "expression": "a & ~1"
            }
          },
          {
            "id": 96,
            "type": "ComfyMathExpression",
            "pos": [
              -6040,
              3290
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "label": "a",
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN",
                "link": 276
              },
              {
                "label": "b",
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT",
                "links": null
              },
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  280
                ]
              },
              {
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN",
                "links": null
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.0",
              "Node name for S&R": "ComfyMathExpression"
            },
            "widgets_values": [
              "a & ~1"
            ],
            "widgets_values_named": {
              "expression": "a & ~1"
            }
          },
          {
            "id": 79,
            "type": "ImageStitch",
            "pos": [
              -6390,
              2780
            ],
            "size": [
              270,
              190
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE",
                "link": 248
              },
              {
                "localized_name": "image2",
                "name": "image2",
                "shape": 7,
                "type": "IMAGE",
                "link": 249
              },
              {
                "localized_name": "direction",
                "name": "direction",
                "type": "COMBO",
                "widget": {
                  "name": "direction"
                },
                "link": 259
              },
              {
                "localized_name": "match_image_size",
                "name": "match_image_size",
                "type": "BOOLEAN",
                "widget": {
                  "name": "match_image_size"
                },
                "link": 260
              },
              {
                "localized_name": "spacing_width",
                "name": "spacing_width",
                "type": "INT",
                "widget": {
                  "name": "spacing_width"
                },
                "link": 261
              },
              {
                "localized_name": "spacing_color",
                "name": "spacing_color",
                "type": "COMBO",
                "widget": {
                  "name": "spacing_color"
                },
                "link": 262
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  266,
                  281
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.13.0",
              "Node name for S&R": "ImageStitch"
            },
            "widgets_values": [
              "right",
              true,
              0,
              "white"
            ],
            "widgets_values_named": {
              "direction": "right",
              "match_image_size": true,
              "spacing_width": 0,
              "spacing_color": "white"
            }
          },
          {
            "id": 97,
            "type": "ResizeImageMaskNode",
            "pos": [
              -5560,
              2790
            ],
            "size": [
              270,
              173.90625
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK",
                "link": 281
              },
              {
                "localized_name": "width",
                "name": "resize_type.width",
                "type": "INT",
                "widget": {
                  "name": "resize_type.width"
                },
                "link": 279
              },
              {
                "localized_name": "height",
                "name": "resize_type.height",
                "type": "INT",
                "widget": {
                  "name": "resize_type.height"
                },
                "link": 280
              }
            ],
            "outputs": [
              {
                "localized_name": "resized",
                "name": "resized",
                "type": "IMAGE",
                "links": [
                  282
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.33.0",
              "Node name for S&R": "ResizeImageMaskNode"
            },
            "widgets_values": [
              "scale dimensions",
              512,
              512,
              "center",
              "area"
            ],
            "widgets_values_named": {
              "resize_type": "scale dimensions",
              "resize_type.width": 512,
              "resize_type.height": 512,
              "resize_type.crop": "center",
              "scale_method": "area"
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 248,
            "origin_id": 77,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 249,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 251,
            "origin_id": 77,
            "origin_slot": 1,
            "target_id": 80,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 252,
            "origin_id": 77,
            "origin_slot": 2,
            "target_id": 80,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 253,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 77,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 254,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 78,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 255,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 259,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 79,
            "target_slot": 2,
            "type": "COMBO"
          },
          {
            "id": 260,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 79,
            "target_slot": 3,
            "type": "BOOLEAN"
          },
          {
            "id": 261,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 79,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 262,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 79,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 266,
            "origin_id": 79,
            "origin_slot": 0,
            "target_id": 90,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 274,
            "origin_id": 90,
            "origin_slot": 0,
            "target_id": 95,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 276,
            "origin_id": 90,
            "origin_slot": 1,
            "target_id": 96,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 279,
            "origin_id": 95,
            "origin_slot": 1,
            "target_id": 97,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 280,
            "origin_id": 96,
            "origin_slot": 1,
            "target_id": 97,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 281,
            "origin_id": 79,
            "origin_slot": 0,
            "target_id": 97,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 282,
            "origin_id": 97,
            "origin_slot": 0,
            "target_id": 80,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6936803836876466,
      "offset": [
        -676.5199506227286,
        -191.7419079235703
      ]
    },
    "frontendVersion": "1.49.6",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}