{
  "id": "minimax-h3-inpainting-gemma4-fresh-v1",
  "revision": 0,
  "last_node_id": 1081,
  "last_link_id": 2085,
  "nodes": [
    {
      "id": 1001,
      "type": "SetNode",
      "pos": [
        -1280,
        260
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 47,
      "mode": 0,
      "inputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "link": 2044
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": []
        }
      ],
      "title": "SET — source_audio",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_audio"
      ],
      "widgets_values_named": {
        "Constant": "source_audio"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1002,
      "type": "SetNode",
      "pos": [
        -1280,
        360
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 48,
      "mode": 0,
      "inputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "link": 2046
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": []
        }
      ],
      "title": "SET — source_fps",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_fps"
      ],
      "widgets_values_named": {
        "Constant": "source_fps"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1003,
      "type": "GetNode",
      "pos": [
        3825.15625,
        1207.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            2057
          ]
        }
      ],
      "title": "GET — crop_height",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_height"
      ],
      "widgets_values_named": {
        "Constant": "crop_height"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1004,
      "type": "GetNode",
      "pos": [
        3575.15625,
        1207.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            2055
          ]
        }
      ],
      "title": "GET — crop_width",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_width"
      ],
      "widgets_values_named": {
        "Constant": "crop_width"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1005,
      "type": "GetNode",
      "pos": [
        3325.15625,
        1207.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2038,
            2039
          ]
        }
      ],
      "title": "GET — audio_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "audio_vae"
      ],
      "widgets_values_named": {
        "Constant": "audio_vae"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1006,
      "type": "GetNode",
      "pos": [
        3075.15625,
        1207.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2034,
            2035
          ]
        }
      ],
      "title": "GET — video_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "video_vae"
      ],
      "widgets_values_named": {
        "Constant": "video_vae"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1007,
      "type": "SetNode",
      "pos": [
        -4560,
        430
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": 2032
        }
      ],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": []
        }
      ],
      "title": "SET — video_vae",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "video_vae"
      ],
      "widgets_values_named": {
        "Constant": "video_vae"
      }
    },
    {
      "id": 1008,
      "type": "SetNode",
      "pos": [
        -4560,
        630
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": 2037
        }
      ],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": []
        }
      ],
      "title": "SET — audio_vae",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "audio_vae"
      ],
      "widgets_values_named": {
        "Constant": "audio_vae"
      }
    },
    {
      "id": 1009,
      "type": "SetNode",
      "pos": [
        1765.859375,
        548.7109375
      ],
      "size": [
        236.109375,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 66,
      "mode": 0,
      "inputs": [
        {
          "name": "BOUNDING_BOX",
          "type": "BOUNDING_BOX",
          "link": 2048
        }
      ],
      "outputs": [
        {
          "name": "BOUNDING_BOX",
          "type": "BOUNDING_BOX",
          "links": []
        }
      ],
      "title": "SET — crop_boxes",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_boxes"
      ],
      "widgets_values_named": {
        "Constant": "crop_boxes"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1010,
      "type": "GetNode",
      "pos": [
        665.859375,
        808.7109375
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2033
          ]
        }
      ],
      "title": "GET — video_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "video_vae"
      ],
      "widgets_values_named": {
        "Constant": "video_vae"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1011,
      "type": "GetNode",
      "pos": [
        665.859375,
        908.7109375
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            2029
          ]
        }
      ],
      "title": "GET — h3_model",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "h3_model"
      ],
      "widgets_values_named": {
        "Constant": "h3_model"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1012,
      "type": "SetNode",
      "pos": [
        1295.859375,
        808.7109375
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 73,
      "mode": 0,
      "inputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "link": 2060
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "title": "SET — latent_mask",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "latent_mask"
      ],
      "widgets_values_named": {
        "Constant": "latent_mask"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1013,
      "type": "SetNode",
      "pos": [
        1975.859375,
        808.7109375
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 75,
      "mode": 0,
      "inputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "link": 2050
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "title": "SET — composite_mask",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "composite_mask"
      ],
      "widgets_values_named": {
        "Constant": "composite_mask"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1014,
      "type": "MiniMaxH3SigmaShift",
      "pos": [
        -3660,
        110
      ],
      "size": [
        272.144140625,
        90
      ],
      "flags": {
        "collapsed": false
      },
      "order": 55,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 2027
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            2028
          ]
        }
      ],
      "title": "H3 Sigma Shift (Video 12 / Audio 3)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "MiniMaxH3SigmaShift",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        12,
        3
      ],
      "widgets_values_named": {
        "shift_video": 12,
        "shift_audio": 3
      }
    },
    {
      "id": 1015,
      "type": "SetNode",
      "pos": [
        1765.859375,
        348.7109375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 70,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 2056
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": []
        }
      ],
      "title": "SET — crop_height",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_height"
      ],
      "widgets_values_named": {
        "Constant": "crop_height"
      }
    },
    {
      "id": 1016,
      "type": "SetNode",
      "pos": [
        1765.859375,
        448.7109375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 71,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 2058
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": []
        }
      ],
      "title": "SET — crop_length",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_length"
      ],
      "widgets_values_named": {
        "Constant": "crop_length"
      }
    },
    {
      "id": 1017,
      "type": "GetNode",
      "pos": [
        4075.15625,
        1207.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            2059
          ]
        }
      ],
      "title": "GET — crop_length",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_length"
      ],
      "widgets_values_named": {
        "Constant": "crop_length"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1018,
      "type": "GetNode",
      "pos": [
        4325.15625,
        1697.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            2061
          ]
        }
      ],
      "title": "GET — latent_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "latent_mask"
      ],
      "widgets_values_named": {
        "Constant": "latent_mask"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1019,
      "type": "GetNode",
      "pos": [
        4585.15625,
        1697.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            2045
          ]
        }
      ],
      "title": "GET — source_audio",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_audio"
      ],
      "widgets_values_named": {
        "Constant": "source_audio"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1020,
      "type": "MiniMaxH3TokenCounter",
      "pos": [
        6010.047674151565,
        50.75067326010119
      ],
      "size": [
        240,
        130
      ],
      "flags": {
        "collapsed": true
      },
      "order": 60,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 2016
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 2017
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            2023
          ]
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "links": [
            2018
          ]
        },
        {
          "name": "tokens",
          "type": "INT",
          "links": []
        },
        {
          "name": "breakdown",
          "type": "STRING",
          "links": []
        }
      ],
      "title": "H3 Token Count",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "MiniMaxH3TokenCounter",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 1021,
      "type": "VAEDecode",
      "pos": [
        7499.692895873382,
        46.153746791595495
      ],
      "size": [
        210,
        80
      ],
      "flags": {
        "collapsed": false
      },
      "order": 77,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 2025
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 2036
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2026
          ]
        }
      ],
      "title": "Decode Edited Crop",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "VAEDecode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 1022,
      "type": "CLIPLoader",
      "pos": [
        -5000,
        850
      ],
      "size": [
        393.88305635757865,
        116.19701389127533
      ],
      "flags": {
        "collapsed": false
      },
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2015
          ]
        }
      ],
      "title": "Qwen3-VL H3 Text Encoder",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "CLIPLoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "mi\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "mi\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "type": "minimax",
        "device": "default"
      }
    },
    {
      "id": 1023,
      "type": "VAELoader",
      "pos": [
        -5000,
        620
      ],
      "size": [
        360,
        72
      ],
      "flags": {
        "collapsed": false
      },
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2037
          ]
        }
      ],
      "title": "MiniMax H3 Audio VAE",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "VAELoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "minimax_h3_audio_vae_fp32.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
      }
    },
    {
      "id": 1024,
      "type": "VAELoader",
      "pos": [
        -5000,
        420
      ],
      "size": [
        360,
        72
      ],
      "flags": {
        "collapsed": false
      },
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2032
          ]
        }
      ],
      "title": "MiniMax H3 Video VAE",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "VAELoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "minimax_h3_video_vae_fp16.safetensors"
      }
    },
    {
      "id": 1025,
      "type": "UNETLoader",
      "pos": [
        -5000,
        100
      ],
      "size": [
        360,
        92
      ],
      "flags": {
        "collapsed": false
      },
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            2001
          ]
        }
      ],
      "title": "MiniMax H3 Ref2VA INT8 Model",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "UNETLoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "mi\\minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "mi\\minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "weight_dtype": "default"
      }
    },
    {
      "id": 1026,
      "type": "ModelAttentionBackend",
      "pos": [
        -4580,
        110
      ],
      "size": [
        210,
        86
      ],
      "flags": {
        "collapsed": true
      },
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 2001
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            2002
          ]
        }
      ],
      "title": "Comfy Kitchen Attention",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "ModelAttentionBackend",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "comfy kitchen attention"
      ],
      "widgets_values_named": {
        "attention": "comfy kitchen attention"
      }
    },
    {
      "id": 1027,
      "type": "MiniMaxLowVRAMAttention",
      "pos": [
        -3980,
        110
      ],
      "size": [
        228.571875,
        90
      ],
      "flags": {
        "collapsed": false
      },
      "order": 50,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 2003
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            2027
          ]
        }
      ],
      "title": "Attention Head Chunking (4)",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "MiniMaxLowVRAMAttention",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        2
      ],
      "widgets_values_named": {
        "head_chunks": 2
      }
    },
    {
      "id": 1028,
      "type": "MiniMaxChunkFeedForward",
      "pos": [
        -4280,
        110
      ],
      "size": [
        223.4859375,
        100
      ],
      "flags": {
        "collapsed": false
      },
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 2002
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            2003
          ]
        }
      ],
      "title": "Feed-Forward Chunking (4)",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "MiniMaxChunkFeedForward",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        2,
        4096
      ],
      "widgets_values_named": {
        "chunks": 2,
        "seq_threshold": 4096
      }
    },
    {
      "id": 1029,
      "type": "SetNode",
      "pos": [
        -3310,
        120
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 58,
      "mode": 0,
      "inputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "link": 2028
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": []
        }
      ],
      "title": "SET — h3_model",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "h3_model"
      ],
      "widgets_values_named": {
        "Constant": "h3_model"
      }
    },
    {
      "id": 1030,
      "type": "INTConstant",
      "pos": [
        665.859375,
        1268.7109375
      ],
      "size": [
        275.520382047883,
        81.48031972896388
      ],
      "flags": {
        "collapsed": false
      },
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "value",
          "type": "INT",
          "links": [
            2062,
            2063
          ]
        }
      ],
      "title": "Preview Frame Index",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "INTConstant",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        30
      ],
      "widgets_values_named": {
        "value": 30
      },
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 1031,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -864.9609375,
        112.1484375
      ],
      "size": [
        260,
        110
      ],
      "flags": {
        "collapsed": false
      },
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            2006
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2005
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": []
        }
      ],
      "title": "SAM3.1 Tracker Model",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "CheckpointLoaderSimple",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "sam3.1_multiplex_fp16.safetensors"
      ],
      "widgets_values_named": {
        "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
      }
    },
    {
      "id": 1032,
      "type": "GetNode",
      "pos": [
        -864.9609375,
        642.1484375
      ],
      "size": [
        270.0044921875,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            2073
          ]
        }
      ],
      "title": "GET — source_fps",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_fps"
      ],
      "widgets_values_named": {
        "Constant": "source_fps"
      }
    },
    {
      "id": 1033,
      "type": "GetNode",
      "pos": [
        -864.9609375,
        352.1484375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 16,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2041,
            2072
          ]
        }
      ],
      "title": "GET — source_frames",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_frames"
      ],
      "widgets_values_named": {
        "Constant": "source_frames"
      }
    },
    {
      "id": 1034,
      "type": "VRAM_Debug",
      "pos": [
        145.0390625,
        352.1484375
      ],
      "size": [
        304.013671875,
        186
      ],
      "flags": {
        "collapsed": false
      },
      "order": 56,
      "mode": 0,
      "inputs": [
        {
          "name": "any_input",
          "shape": 7,
          "type": "*",
          "link": 2009
        },
        {
          "name": "image_pass",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model_pass",
          "shape": 7,
          "type": "MODEL",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "any_output",
          "type": "*",
          "links": [
            2010
          ]
        },
        {
          "name": "image_pass",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "model_pass",
          "type": "MODEL",
          "links": []
        },
        {
          "label": "25,364,381,524   freemem_before",
          "name": "freemem_before",
          "type": "INT",
          "links": []
        },
        {
          "label": "32,114,098,456      freemem_after",
          "name": "freemem_after",
          "type": "INT",
          "links": []
        }
      ],
      "title": "Unload SAM3",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "VRAM_Debug",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        true,
        true,
        true
      ],
      "widgets_values_named": {
        "empty_cache": true,
        "gc_collect": true,
        "unload_all_models": true
      }
    },
    {
      "id": 1035,
      "type": "MVEx_MaskCleanup",
      "pos": [
        965.859375,
        48.7109375
      ],
      "size": [
        292.68251232572004,
        154
      ],
      "flags": {
        "collapsed": false
      },
      "order": 59,
      "mode": 0,
      "inputs": [
        {
          "name": "masks",
          "type": "MASK",
          "link": 2010
        }
      ],
      "outputs": [
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            2011
          ]
        }
      ],
      "title": "CLEAN SAM3 TRACK",
      "properties": {
        "cnr_id": "maskvidexperiments",
        "ver": "d98cc899c1fac718acf81cde1735bf57281097cf",
        "Node name for S&R": "MVEx_MaskCleanup",
        "aux_id": "MaskVidExperiments",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        0.5,
        "shrink_grow",
        8,
        2,
        4
      ],
      "widgets_values_named": {
        "threshold": 0.5,
        "method": "shrink_grow",
        "method.shrink": 8,
        "method.min_frames": 2,
        "edge_grow": 4
      }
    },
    {
      "id": 1036,
      "type": "SAM3_VideoTrack",
      "pos": [
        -534.9609375,
        352.1484375
      ],
      "size": [
        288.2291015625,
        210
      ],
      "flags": {
        "collapsed": false
      },
      "order": 45,
      "mode": 0,
      "inputs": [
        {
          "label": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 2041
        },
        {
          "label": "model",
          "name": "model",
          "type": "MODEL",
          "link": 2006
        },
        {
          "label": "initial_mask",
          "name": "initial_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "label": "conditioning",
          "name": "conditioning",
          "shape": 7,
          "type": "CONDITIONING",
          "link": 2007
        }
      ],
      "outputs": [
        {
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "links": [
            2008,
            2071
          ]
        }
      ],
      "title": "SAM3 VIDEO TRACK — ONE OBJECT",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "SAM3_VideoTrack",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        0.35,
        1,
        1
      ],
      "widgets_values_named": {
        "detection_threshold": 0.35,
        "max_objects": 1,
        "detect_interval": 1
      }
    },
    {
      "id": 1037,
      "type": "SAM3_TrackToMask",
      "pos": [
        -194.9609375,
        352.1484375
      ],
      "size": [
        288.7076171875,
        100
      ],
      "flags": {
        "collapsed": false
      },
      "order": 51,
      "mode": 0,
      "inputs": [
        {
          "label": "track_data",
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "link": 2008
        }
      ],
      "outputs": [
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            2009
          ]
        }
      ],
      "title": "SAM3 TRACK TO MASK — OBJECT 0",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "SAM3_TrackToMask",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "0"
      ],
      "widgets_values_named": {
        "object_indices": "0"
      }
    },
    {
      "id": 1038,
      "type": "GetNode",
      "pos": [
        7219.6928958733815,
        306.1537467915955
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOUNDING_BOX",
          "type": "BOUNDING_BOX",
          "links": [
            2049
          ]
        }
      ],
      "title": "GET — crop_boxes",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_boxes"
      ],
      "widgets_values_named": {
        "Constant": "crop_boxes"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1039,
      "type": "GetNode",
      "pos": [
        7469.692895873382,
        306.1537467915955
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2043
          ]
        }
      ],
      "title": "GET — source_frames",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_frames"
      ],
      "widgets_values_named": {
        "Constant": "source_frames"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1040,
      "type": "GetNode",
      "pos": [
        7719.692895873382,
        306.1537467915955
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            2051
          ]
        }
      ],
      "title": "GET — composite_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "composite_mask"
      ],
      "widgets_values_named": {
        "Constant": "composite_mask"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1041,
      "type": "GetNode",
      "pos": [
        8019.692895873383,
        366.15374679159555
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            2070
          ]
        }
      ],
      "title": "GET — source_audio",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_audio"
      ],
      "widgets_values_named": {
        "Constant": "source_audio"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1042,
      "type": "GetNode",
      "pos": [
        8269.692895873384,
        366.15374679159555
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 21,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            2069
          ]
        }
      ],
      "title": "GET — source_fps",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_fps"
      ],
      "widgets_values_named": {
        "Constant": "source_fps"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1043,
      "type": "GetNode",
      "pos": [
        4845.15625,
        1697.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 22,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            2047
          ]
        }
      ],
      "title": "GET — source_fps",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_fps"
      ],
      "widgets_values_named": {
        "Constant": "source_fps"
      },
      "color": "#07180f",
      "bgcolor": "#07180f"
    },
    {
      "id": 1044,
      "type": "GetNode",
      "pos": [
        5730.047674151565,
        50.75067326010119
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 23,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            2030,
            2031
          ]
        }
      ],
      "title": "GET — h3_model",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "h3_model"
      ],
      "widgets_values_named": {
        "Constant": "h3_model"
      }
    },
    {
      "id": 1045,
      "type": "VRAM_Debug",
      "pos": [
        6730.047674151563,
        300.75067326010117
      ],
      "size": [
        304.423828125,
        186
      ],
      "flags": {
        "collapsed": false
      },
      "order": 74,
      "mode": 0,
      "inputs": [
        {
          "name": "any_input",
          "shape": 7,
          "type": "*",
          "link": 2024
        },
        {
          "name": "image_pass",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model_pass",
          "shape": 7,
          "type": "MODEL",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "any_output",
          "type": "*",
          "links": [
            2025
          ]
        },
        {
          "name": "image_pass",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "model_pass",
          "type": "MODEL",
          "links": []
        },
        {
          "label": "3,757,237,472   freemem_before",
          "name": "freemem_before",
          "type": "INT",
          "links": []
        },
        {
          "label": "32,070,972,692      freemem_after",
          "name": "freemem_after",
          "type": "INT",
          "links": []
        }
      ],
      "title": "Unload H3",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "VRAM_Debug",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        true,
        true,
        true
      ],
      "widgets_values_named": {
        "empty_cache": true,
        "gc_collect": true,
        "unload_all_models": true
      }
    },
    {
      "id": 1046,
      "type": "BasicGuider",
      "pos": [
        6040.047674151565,
        310.75067326010117
      ],
      "size": [
        210,
        80
      ],
      "flags": {
        "collapsed": true
      },
      "order": 62,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 2030
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 2018
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            2020
          ]
        }
      ],
      "title": "H3 Guider",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "BasicGuider",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 1047,
      "type": "KSamplerSelect",
      "pos": [
        5730.047674151565,
        570.7506732601014
      ],
      "size": [
        250,
        80
      ],
      "flags": {
        "collapsed": false
      },
      "order": 24,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            2021
          ]
        }
      ],
      "title": "Sampler (RES Multistep)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "KSamplerSelect",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "res_multistep"
      ],
      "widgets_values_named": {
        "sampler_name": "res_multistep"
      }
    },
    {
      "id": 1048,
      "type": "BasicScheduler",
      "pos": [
        6030.047674151565,
        570.7506732601014
      ],
      "size": [
        250,
        120
      ],
      "flags": {
        "collapsed": false
      },
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 2031
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            2022
          ]
        }
      ],
      "title": "Scheduler (Beta / 20 Steps)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "BasicScheduler",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "simple",
        20,
        1
      ],
      "widgets_values_named": {
        "scheduler": "simple",
        "steps": 20,
        "denoise": 1
      }
    },
    {
      "id": 1049,
      "type": "RandomNoise",
      "pos": [
        5730.047674151565,
        310.75067326010117
      ],
      "size": [
        230,
        90
      ],
      "flags": {
        "collapsed": false
      },
      "order": 25,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            2019
          ]
        }
      ],
      "title": "Test Seed (Fixed)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "RandomNoise",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        2026082023,
        "fixed"
      ],
      "widgets_values_named": {
        "noise_seed": 2026082023,
        "control_after_generate": "fixed"
      }
    },
    {
      "id": 1050,
      "type": "GetNode",
      "pos": [
        7219.6928958733815,
        46.153746791595495
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 26,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2036
          ]
        }
      ],
      "title": "GET — video_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "video_vae"
      ],
      "widgets_values_named": {
        "Constant": "video_vae"
      },
      "color": "#178947",
      "bgcolor": "#07180f"
    },
    {
      "id": 1051,
      "type": "MVEx_SubjectUncrop",
      "pos": [
        8019.692895873383,
        96.15374679159548
      ],
      "size": [
        386.4341796875,
        140
      ],
      "flags": {
        "collapsed": false
      },
      "order": 79,
      "mode": 0,
      "inputs": [
        {
          "name": "cropped_images",
          "type": "IMAGE",
          "link": 2026
        },
        {
          "name": "original_images",
          "type": "IMAGE",
          "link": 2043
        },
        {
          "name": "bboxes",
          "type": "BOUNDING_BOX",
          "link": 2049
        },
        {
          "name": "cropped_masks",
          "shape": 7,
          "type": "MASK",
          "link": 2051
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            2075
          ]
        }
      ],
      "title": "COMPOSITE EDITED SUBJECT BACK INTO SOURCE",
      "properties": {
        "cnr_id": "maskvidexperiments",
        "ver": "d98cc899c1fac718acf81cde1735bf57281097cf",
        "Node name for S&R": "MVEx_SubjectUncrop",
        "aux_id": "MaskVidExperiments",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        16
      ],
      "widgets_values_named": {
        "feather": 16
      }
    },
    {
      "id": 1052,
      "type": "SetNode",
      "pos": [
        -1280,
        160
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 46,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 2040
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "title": "SET — source_frames",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_frames"
      ],
      "widgets_values_named": {
        "Constant": "source_frames"
      },
      "color": "#178947",
      "bgcolor": "#07180f"
    },
    {
      "id": 1053,
      "type": "GetNode",
      "pos": [
        665.859375,
        48.7109375
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 27,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2042
          ]
        }
      ],
      "title": "GET — source_frames",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "source_frames"
      ],
      "widgets_values_named": {
        "Constant": "source_frames"
      },
      "color": "#178947",
      "bgcolor": "#07180f"
    },
    {
      "id": 1054,
      "type": "GetImageSizeAndCount",
      "pos": [
        1765.859375,
        48.7109375
      ],
      "size": [
        221.8111328125,
        110
      ],
      "flags": {
        "collapsed": false
      },
      "order": 63,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 2012
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            2052
          ]
        },
        {
          "label": "576 width",
          "name": "width",
          "type": "INT",
          "links": [
            2054
          ]
        },
        {
          "label": "320 height",
          "name": "height",
          "type": "INT",
          "links": [
            2056
          ]
        },
        {
          "label": "124 count",
          "name": "count",
          "type": "INT",
          "links": [
            2058
          ]
        }
      ],
      "title": "Crop Size and Frame Count",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "GetImageSizeAndCount",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 1055,
      "type": "GetImageRangeFromBatch",
      "pos": [
        1345.859375,
        1228.7109375
      ],
      "size": [
        260,
        110
      ],
      "flags": {
        "collapsed": true
      },
      "order": 76,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": 2066
        },
        {
          "name": "start_index",
          "type": "INT",
          "widget": {
            "name": "start_index"
          },
          "link": 2063
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            2068
          ]
        }
      ],
      "title": "Select Composite Preview Frame",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "GetImageRangeFromBatch",
        "ue_properties": {
          "widget_ue_connectable": {
            "start_index": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        30,
        1
      ],
      "widgets_values_named": {
        "start_index": 30,
        "num_frames": 1
      }
    },
    {
      "id": 1056,
      "type": "SetNode",
      "pos": [
        1765.859375,
        248.7109375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 69,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 2054
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": []
        }
      ],
      "title": "SET — crop_width",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_width"
      ],
      "widgets_values_named": {
        "Constant": "crop_width"
      }
    },
    {
      "id": 1057,
      "type": "GetImageRangeFromBatch",
      "pos": [
        1015.859375,
        1228.7109375
      ],
      "size": [
        260,
        110
      ],
      "flags": {
        "collapsed": true
      },
      "order": 65,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 2064
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": 2065
        },
        {
          "name": "start_index",
          "type": "INT",
          "widget": {
            "name": "start_index"
          },
          "link": 2062
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2067
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "title": "Select Tracking Preview Frame",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "GetImageRangeFromBatch",
        "ue_properties": {
          "widget_ue_connectable": {
            "start_index": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        30,
        1
      ],
      "widgets_values_named": {
        "start_index": 30,
        "num_frames": 1
      }
    },
    {
      "id": 1058,
      "type": "NKDMaskOps",
      "pos": [
        965.859375,
        768.7109375
      ],
      "size": [
        229.241796875,
        386
      ],
      "flags": {
        "collapsed": false
      },
      "order": 64,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 2013
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 2033
        },
        {
          "name": "model",
          "shape": 7,
          "type": "MODEL",
          "link": 2029
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            2014
          ]
        },
        {
          "name": "mask_inverted",
          "type": "MASK",
          "links": []
        },
        {
          "name": "latent_mask",
          "type": "MASK",
          "links": [
            2060
          ]
        }
      ],
      "title": "H3-ALIGNED UPDATE MASK",
      "properties": {
        "cnr_id": "comfyui-nkd-basic-tools",
        "ver": "290b8557b26a05ef14abdb9e11f96a490777fcd7",
        "Node name for S&R": "NKDMaskOps",
        "nkdSchema": 1,
        "aux_id": "NKD-Basic",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        false,
        0.5,
        0.5,
        2,
        true,
        2,
        2,
        2,
        6,
        0,
        0.05,
        0,
        0,
        1
      ],
      "widgets_values_named": {
        "invert": false,
        "black_point": 0.5,
        "white_point": 0.5,
        "despeckle": 2,
        "fill_holes": true,
        "close_gaps": 2,
        "temporal_expand": 2,
        "temporal_smooth": 2,
        "expand": 6,
        "blockify": 0,
        "blockify_threshold": 0.05,
        "feather": 0,
        "edge_low": 0,
        "edge_high": 1
      }
    },
    {
      "id": 1059,
      "type": "NKDMaskOpsLean",
      "pos": [
        1615.859375,
        768.7109375
      ],
      "size": [
        291.175390625,
        338
      ],
      "flags": {
        "collapsed": false
      },
      "order": 72,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 2014
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            2050,
            2066
          ]
        },
        {
          "name": "mask_inverted",
          "type": "MASK",
          "links": []
        }
      ],
      "title": "FEATHERED COMPOSITE MASK",
      "properties": {
        "cnr_id": "comfyui-nkd-basic-tools",
        "ver": "290b8557b26a05ef14abdb9e11f96a490777fcd7",
        "Node name for S&R": "NKDMaskOpsLean",
        "nkdSchema": 1,
        "aux_id": "NKD-Basic",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        true,
        2,
        8
      ],
      "widgets_values_named": {
        "fill_holes": true,
        "expand": 2,
        "feather": 8
      }
    },
    {
      "id": 1060,
      "type": "SetNode",
      "pos": [
        1765.859375,
        648.7109375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 68,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 2052
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "title": "SET — crop_frames",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_frames"
      ],
      "widgets_values_named": {
        "Constant": "crop_frames"
      }
    },
    {
      "id": 1061,
      "type": "MVEx_SubjectCrop",
      "pos": [
        1325.859375,
        48.7109375
      ],
      "size": [
        405.144140625,
        286
      ],
      "flags": {
        "collapsed": false
      },
      "order": 61,
      "mode": 0,
      "inputs": [
        {
          "name": "original_images",
          "type": "IMAGE",
          "link": 2042
        },
        {
          "name": "masks",
          "type": "MASK",
          "link": 2011
        }
      ],
      "outputs": [
        {
          "name": "cropped_images",
          "type": "IMAGE",
          "links": [
            2012,
            2064
          ]
        },
        {
          "name": "cropped_masks",
          "type": "MASK",
          "links": [
            2013,
            2065
          ]
        },
        {
          "name": "bboxes",
          "type": "BOUNDING_BOX",
          "links": [
            2048
          ]
        },
        {
          "name": "debug",
          "type": "STRING",
          "links": []
        }
      ],
      "title": "TRACKED SUBJECT CROP — KEEP MOTION CONTEXT",
      "properties": {
        "cnr_id": "maskvidexperiments",
        "ver": "d98cc899c1fac718acf81cde1735bf57281097cf",
        "Node name for S&R": "MVEx_SubjectCrop",
        "aux_id": "MaskVidExperiments",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "tracked",
        2,
        "firm",
        "stillness",
        0,
        false,
        32,
        -0.18
      ],
      "widgets_values_named": {
        "mode": "tracked",
        "mode.crop_scale": 2,
        "mode.padding": "firm",
        "mode.prefer": "stillness",
        "mode.aspect_ratio": 0,
        "mode.seamless_loop": false,
        "divisible_by": 32,
        "upscale_megapixels": -0.18
      }
    },
    {
      "id": 1062,
      "type": "MarkdownNote",
      "pos": [
        -2850,
        1110
      ],
      "size": [
        369.3423933463781,
        382.74923426776013
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Size Settings Reference",
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n"
      ],
      "widgets_values_named": {
        "text": "| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 1063,
      "type": "NKDTimeline",
      "pos": [
        -2220,
        120
      ],
      "size": [
        838.4774605226854,
        1063
      ],
      "flags": {
        "collapsed": false
      },
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "label": "media_0",
          "name": "media.media_0",
          "shape": 7,
          "type": "VIDEO,IMAGE,MASK,AUDIO",
          "link": 2004
        },
        {
          "label": "media_1",
          "name": "media.media_1",
          "shape": 7,
          "type": "VIDEO,IMAGE,MASK,AUDIO",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            2040
          ]
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": []
        },
        {
          "name": "coverage",
          "type": "MASK",
          "links": []
        },
        {
          "name": "generate",
          "type": "MASK",
          "links": []
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            2044
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "links": [
            2046
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": []
        },
        {
          "name": "duration",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "current_frame",
          "type": "INT",
          "links": []
        },
        {
          "name": "current_image",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "markers",
          "type": "STRING",
          "links": []
        },
        {
          "name": "current_image",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "markers",
          "type": "STRING",
          "links": []
        }
      ],
      "title": "H3 Timeline — AUTO SOURCE + AUTO FULL LENGTH",
      "properties": {
        "cnr_id": "comfyui-nkd-preview-tools",
        "ver": "3.2.0",
        "Node name for S&R": "NKDTimeline",
        "aux_id": "NKD-Preview",
        "nkdSchema": 1,
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "{\"v\":1,\"clips\":[{\"id\":\"c1dzcs\",\"src\":\"media_0\",\"track\":0,\"start\":0,\"trimIn\":0,\"length\":124}],\"masks\":[],\"tracks\":[],\"audio\":[],\"ui\":{\"playhead\":0}}",
        "stack",
        "As Source",
        1376,
        768,
        0.8,
        32,
        "contain",
        24,
        "MiniMax H3 (17n+5)",
        8,
        0,
        0,
        true,
        "{\"v\":1,\"clips\":[{\"id\":\"c1dzcs\",\"src\":\"media_0\",\"track\":0,\"start\":0,\"trimIn\":0,\"length\":124}],\"masks\":[],\"tracks\":[],\"audio\":[],\"ui\":{\"playhead\":0}}"
      ],
      "widgets_values_named": {
        "timeline": "{\"v\":1,\"clips\":[{\"id\":\"c1dzcs\",\"src\":\"media_0\",\"track\":0,\"start\":0,\"trimIn\":0,\"length\":124}],\"masks\":[],\"tracks\":[],\"audio\":[],\"ui\":{\"playhead\":0}}",
        "import_mode": "stack",
        "aspect_ratio": "As Source",
        "width": 1376,
        "height": 768,
        "megapixels": 0.8,
        "size_multiple": 32,
        "fit": "contain",
        "fps": 24,
        "model": "MiniMax H3 (17n+5)",
        "quantize_n": 8,
        "start_frame": 0,
        "frame_count": 0,
        "clip_audio": true,
        "nkd_timeline": "{\"v\":1,\"clips\":[{\"id\":\"c1dzcs\",\"src\":\"media_0\",\"track\":0,\"start\":0,\"trimIn\":0,\"length\":124}],\"masks\":[],\"tracks\":[],\"audio\":[],\"ui\":{\"playhead\":0}}"
      }
    },
    {
      "id": 1064,
      "type": "SAM3_TrackPreview",
      "pos": [
        -494.9609375,
        682.1484375
      ],
      "size": [
        632.5651862831082,
        939.56057235184
      ],
      "flags": {
        "collapsed": false
      },
      "order": 52,
      "mode": 0,
      "inputs": [
        {
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "link": 2071
        },
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 2072
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 2073
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "SAM3_TrackPreview",
        "ue_properties": {
          "widget_ue_connectable": {
            "fps": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        0.6,
        24
      ],
      "widgets_values_named": {
        "opacity": 0.6,
        "fps": 24
      }
    },
    {
      "id": 1065,
      "type": "MarkdownNote",
      "pos": [
        -2850,
        760
      ],
      "size": [
        520,
        280
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "AUTO VIDEO SETTINGS",
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "## Automatic source setup\n\n- **As Source** follows landscape/portrait automatically.\n- **Frame Count = 0** uses the connected clip to the end automatically.\n- **MiniMax H3 (17n+5)** snaps the count to H3's valid frame grid.\n- **24 fps** is now wired from the real Timeline FPS output to SAM3 preview, H3 latent, and final save."
      ],
      "widgets_values_named": {
        "text": "## Automatic source setup\n\n- **As Source** follows landscape/portrait automatically.\n- **Frame Count = 0** uses the connected clip to the end automatically.\n- **MiniMax H3 (17n+5)** snaps the count to H3's valid frame grid.\n- **24 fps** is now wired from the real Timeline FPS output to SAM3 preview, H3 latent, and final save."
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 1066,
      "type": "LoadImage",
      "pos": [
        2825.15625,
        57.5
      ],
      "size": [
        513.800356365241,
        822.4996450714934
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2074,
            2080
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "REFERENCE IMAGE — <Picture 1>",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "1007235_2026-06-18t12-24-36_2.jpg",
        "image"
      ],
      "widgets_values_named": {
        "image": "1007235_2026-06-18t12-24-36_2.jpg",
        "upload": "image"
      }
    },
    {
      "id": 1067,
      "type": "CLIPTextEncode",
      "pos": [
        -534.9609375,
        112.1484375
      ],
      "size": [
        336.5865234375,
        120
      ],
      "flags": {
        "collapsed": false
      },
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2005
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            2007
          ]
        }
      ],
      "title": "SAM3 TRACKING PROMPT — OBJECT",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "CLIPTextEncode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "object"
      ],
      "widgets_values_named": {
        "text": "object"
      }
    },
    {
      "id": 1068,
      "type": "VHS_VideoCombine",
      "pos": [
        8569.692895873384,
        46.153746791595495
      ],
      "size": [
        1204.7343934736666,
        334
      ],
      "flags": {},
      "order": 80,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 2075
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 2070
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 2069
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": []
        }
      ],
      "title": "SAVE EDITED VIDEO — SOURCE AUDIO",
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "0.1.2",
        "Node name for S&R": "VHS_VideoCombine",
        "ue_properties": {
          "widget_ue_connectable": {
            "frame_rate": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "MiniMax_H3_Inpainting/edited_video",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": ""
      },
      "widgets_values_named": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "MiniMax_H3_Inpainting/edited_video",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": ""
      }
    },
    {
      "id": 1069,
      "type": "LoadVideo",
      "pos": [
        -2850,
        120
      ],
      "size": [
        552,
        517.0659539361857
      ],
      "flags": {
        "collapsed": false
      },
      "order": 31,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            2004
          ]
        }
      ],
      "title": "Source Video",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "LoadVideo",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Influencer recording with a camera - Free Stock Video.mp4",
        ""
      ],
      "widgets_values_named": {
        "file": "Influencer recording with a camera - Free Stock Video.mp4",
        "upload": ""
      }
    },
    {
      "id": 1070,
      "type": "ImageAndMaskPreview",
      "pos": [
        1705.859375,
        1128.7109375
      ],
      "size": [
        882.8729100281691,
        717.387624214477
      ],
      "flags": {
        "collapsed": false
      },
      "order": 78,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 2067
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 2068
        }
      ],
      "outputs": [
        {
          "name": "composite",
          "type": "IMAGE",
          "links": []
        }
      ],
      "title": "Final Composite Area (Magenta Overlay)",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "ImageAndMaskPreview",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        0.55,
        "255, 45, 145",
        false
      ],
      "widgets_values_named": {
        "mask_opacity": 0.55,
        "mask_color": "255, 45, 145",
        "pass_through": false
      }
    },
    {
      "id": 1071,
      "type": "TextGenerate",
      "pos": [
        4345.15625,
        477.5
      ],
      "size": [
        460,
        412
      ],
      "flags": {},
      "order": 49,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2079
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 2080
        },
        {
          "name": "video",
          "shape": 7,
          "type": "IMAGE",
          "link": 2081
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 2082
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            2083,
            2084
          ]
        }
      ],
      "title": "AUTO PROMPT — GEMMA 4",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "TextGenerate",
        "ue_properties": {
          "widget_ue_connectable": {
            "prompt": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "",
        768,
        "on",
        0.35,
        64,
        0.9,
        0.05,
        1.05,
        0,
        0,
        false,
        true
      ],
      "widgets_values_named": {
        "prompt": "",
        "max_length": 768,
        "sampling_mode": "on",
        "sampling_mode.temperature": 0.35,
        "sampling_mode.top_k": 64,
        "sampling_mode.top_p": 0.9,
        "sampling_mode.min_p": 0.05,
        "sampling_mode.repetition_penalty": 1.05,
        "sampling_mode.seed": 0,
        "sampling_mode.presence_penalty": 0,
        "thinking": false,
        "use_default_template": true
      }
    },
    {
      "id": 1072,
      "type": "PreviewAny",
      "pos": [
        4865.15625,
        477.5
      ],
      "size": [
        560,
        450
      ],
      "flags": {},
      "order": 53,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 2083
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "AUTO PROMPT — GENERATED H3 PROMPT",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "PreviewAny",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 1073,
      "type": "VRAM_Debug",
      "pos": [
        4865.15625,
        977.5
      ],
      "size": [
        320,
        185
      ],
      "flags": {
        "collapsed": true
      },
      "order": 54,
      "mode": 0,
      "inputs": [
        {
          "name": "any_input",
          "shape": 7,
          "type": "*",
          "link": 2084
        },
        {
          "name": "image_pass",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model_pass",
          "shape": 7,
          "type": "MODEL",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "any_output",
          "type": "*",
          "links": [
            2085
          ]
        },
        {
          "name": "image_pass",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "model_pass",
          "type": "MODEL",
          "links": []
        },
        {
          "label": "18,647,258,524   freemem_before",
          "name": "freemem_before",
          "type": "INT",
          "links": []
        },
        {
          "label": "32,070,972,692      freemem_after",
          "name": "freemem_after",
          "type": "INT",
          "links": []
        }
      ],
      "title": "Unload Gemma 4 Before H3",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "0.1.2",
        "Node name for S&R": "VRAM_Debug",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        true,
        true,
        true
      ],
      "widgets_values_named": {
        "empty_cache": true,
        "gc_collect": true,
        "unload_all_models": true
      }
    },
    {
      "id": 1074,
      "type": "JoinStrings",
      "pos": [
        3985.15625,
        677.5
      ],
      "size": [
        300,
        150
      ],
      "flags": {
        "collapsed": true
      },
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "string1",
          "shape": 7,
          "type": "STRING",
          "link": 2077
        },
        {
          "name": "string2",
          "shape": 7,
          "type": "STRING",
          "link": 2078
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            2082
          ]
        }
      ],
      "title": "Build Gemma Instruction",
      "properties": {
        "cnr_id": "comfyui_fearnworksnodes",
        "ver": "0.1.2",
        "Node name for S&R": "JoinStrings",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "\n\nUSER REQUEST:\n"
      ],
      "widgets_values_named": {
        "delimiter": "\n\nUSER REQUEST:\n"
      }
    },
    {
      "id": 1075,
      "type": "StringConstantMultiline",
      "pos": [
        2825.15625,
        607.5
      ],
      "size": [
        520,
        360
      ],
      "flags": {
        "collapsed": true
      },
      "order": 32,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            2077
          ]
        }
      ],
      "title": "AUTO PROMPT — SYSTEM INSTRUCTIONS (KEEP)",
      "properties": {
        "cnr_id": "comfyui_fearnworksnodes",
        "ver": "0.1.2",
        "Node name for S&R": "StringConstantMultiline",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "You are the automatic prompt writer for a MiniMax H3 Ref2VA tracked-subject inpainting workflow in ComfyUI.\n\nThe user will type a short replacement or edit request. Convert it into one clear, production-ready MiniMax H3 prompt.\n\nREFERENCE CONTRACT\n- <Picture 1> is the replacement appearance reference.\n- <Video 1> is the cropped source video and controls source motion, timing, camera, perspective, lighting, occlusion, and scene behavior.\n- The target video is an edited version of <Video 1>.\n- The workflow regenerates only the tracked subject region. Preserve everything outside the intended edit.\n\nWRITING RULES\n- Protect the user's actual request. Do not invent new actions, camera moves, story events, props, or scene changes.\n- Use <Picture 1> for the requested replacement appearance.\n- Follow <Video 1> for motion, timing, position, orientation, camera movement, framing, perspective, light direction, shadows, and physical occlusions.\n- Preserve the source background, environment, camera, and all regions outside the tracked edit unless the user explicitly asks for a change.\n- Preserve occlusion when foreground objects, dust, hair, clothing, hands, scenery, or other objects pass in front of the tracked subject.\n- Do not force the reference image pose or viewpoint onto the source motion.\n- Keep the requested replacement visually stable across frames.\n- Use natural, precise Global English.\n- Do not mention writing technique, planning, reasoning, or these instructions.\n- Do not add a generic long negative-prompt list. Add only constraints relevant to the requested edit.\n- Do not promise perfect identity, anatomy, physics, text, or continuity.\n\nOUTPUT\nReturn ONLY the finished MiniMax H3 prompt. No preamble, no markdown explanation, no analysis.\n\nUse exactly this structure:\n\nintegrated_multimodal_description:\n\n<Picture 1> is the replacement appearance reference.\n<Video 1> is the source motion, timing, camera, lighting, occlusion, and scene reference.\n\n[Write the complete edit instruction here. Make the requested replacement/change unambiguous. Preserve source motion and unedited regions. Include only necessary consistency and failure-prevention constraints.]\n\noverall_soundscape:\n\nPreserve the source video's original audio.\n\nnon_diegetic_music:\n\nPreserve the source video's original music if present.",
        true
      ],
      "widgets_values_named": {
        "string": "You are the automatic prompt writer for a MiniMax H3 Ref2VA tracked-subject inpainting workflow in ComfyUI.\n\nThe user will type a short replacement or edit request. Convert it into one clear, production-ready MiniMax H3 prompt.\n\nREFERENCE CONTRACT\n- <Picture 1> is the replacement appearance reference.\n- <Video 1> is the cropped source video and controls source motion, timing, camera, perspective, lighting, occlusion, and scene behavior.\n- The target video is an edited version of <Video 1>.\n- The workflow regenerates only the tracked subject region. Preserve everything outside the intended edit.\n\nWRITING RULES\n- Protect the user's actual request. Do not invent new actions, camera moves, story events, props, or scene changes.\n- Use <Picture 1> for the requested replacement appearance.\n- Follow <Video 1> for motion, timing, position, orientation, camera movement, framing, perspective, light direction, shadows, and physical occlusions.\n- Preserve the source background, environment, camera, and all regions outside the tracked edit unless the user explicitly asks for a change.\n- Preserve occlusion when foreground objects, dust, hair, clothing, hands, scenery, or other objects pass in front of the tracked subject.\n- Do not force the reference image pose or viewpoint onto the source motion.\n- Keep the requested replacement visually stable across frames.\n- Use natural, precise Global English.\n- Do not mention writing technique, planning, reasoning, or these instructions.\n- Do not add a generic long negative-prompt list. Add only constraints relevant to the requested edit.\n- Do not promise perfect identity, anatomy, physics, text, or continuity.\n\nOUTPUT\nReturn ONLY the finished MiniMax H3 prompt. No preamble, no markdown explanation, no analysis.\n\nUse exactly this structure:\n\nintegrated_multimodal_description:\n\n<Picture 1> is the replacement appearance reference.\n<Video 1> is the source motion, timing, camera, lighting, occlusion, and scene reference.\n\n[Write the complete edit instruction here. Make the requested replacement/change unambiguous. Preserve source motion and unedited regions. Include only necessary consistency and failure-prevention constraints.]\n\noverall_soundscape:\n\nPreserve the source video's original audio.\n\nnon_diegetic_music:\n\nPreserve the source video's original music if present.",
        "strip_newlines": true
      }
    },
    {
      "id": 1076,
      "type": "CLIPLoader",
      "pos": [
        3405.15625,
        57.5
      ],
      "size": [
        410,
        140
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "showAdvanced": false,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2079
          ]
        }
      ],
      "title": "Gemma 4 — AUTO PROMPT MODEL",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "CLIPLoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "gemma4_e4b_it_fp8_scaled.safetensors",
        "stable_diffusion",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "gemma4_e4b_it_fp8_scaled.safetensors",
        "type": "stable_diffusion",
        "device": "default"
      }
    },
    {
      "id": 1077,
      "type": "NKDAVLatent",
      "pos": [
        5125.15625,
        1407.5
      ],
      "size": [
        395.36875,
        254
      ],
      "flags": {
        "collapsed": false
      },
      "order": 42,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 2053
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 2045
        },
        {
          "label": "video vae",
          "name": "video_vae",
          "type": "VAE",
          "link": 2035
        },
        {
          "label": "audio vae",
          "name": "audio_vae",
          "type": "VAE",
          "link": 2039
        },
        {
          "label": "latent mask",
          "name": "latent_mask",
          "shape": 7,
          "type": "MASK",
          "link": 2061
        },
        {
          "label": "audio mask",
          "name": "audio_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 2047
        }
      ],
      "outputs": [
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            2016
          ]
        }
      ],
      "title": "SEEDED H3 AV LATENT — SOURCE MOTION + MASK",
      "properties": {
        "cnr_id": "comfyui-nkd-basic-tools",
        "ver": "290b8557b26a05ef14abdb9e11f96a490777fcd7",
        "Node name for S&R": "NKDAVLatent",
        "nkdSchema": 1,
        "aux_id": "NKD-Basic",
        "ue_properties": {
          "widget_ue_connectable": {
            "fps": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "keep",
        24,
        0,
        0,
        "cosine"
      ],
      "widgets_values_named": {
        "audio_mode": "keep",
        "fps": 24,
        "ramp_ticks": 0,
        "ramp_out_ticks": 0,
        "ramp_shape": "cosine"
      }
    },
    {
      "id": 1078,
      "type": "GetNode",
      "pos": [
        2825.15625,
        1207.5
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 34,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2053,
            2076,
            2081
          ]
        }
      ],
      "title": "GET — crop_frames",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "crop_frames"
      ],
      "widgets_values_named": {
        "Constant": "crop_frames"
      },
      "color": "#178947",
      "bgcolor": "#07180f"
    },
    {
      "id": 1079,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
        4325.15625,
        1207.5
      ],
      "size": [
        550.202734375,
        433.34964435312645
      ],
      "flags": {
        "collapsed": false
      },
      "order": 57,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2015
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 2034
        },
        {
          "name": "audio_vae",
          "type": "VAE",
          "link": 2038
        },
        {
          "label": "ref_image_0",
          "name": "ref_images.ref_image_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 2074
        },
        {
          "label": "ref_image_1",
          "name": "ref_images.ref_image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "label": "ref_video_0",
          "name": "ref_videos.ref_video_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 2076
        },
        {
          "label": "ref_video_1",
          "name": "ref_videos.ref_video_1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "label": "ref_video_audio_0",
          "name": "ref_video_audios.ref_video_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "label": "ref_audio_0",
          "name": "ref_audios.ref_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 2085
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 2055
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 2057
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 2059
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            2017
          ]
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": []
        }
      ],
      "title": "REF2VA — AUTO PROMPT + <Picture 1> APPEARANCE + <Video 1> MOTION",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "MiniMaxH3ReferenceToVideo",
        "ue_properties": {
          "widget_ue_connectable": {
            "prompt": true,
            "width": true,
            "height": true,
            "length": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "",
        640,
        288,
        90,
        "match"
      ],
      "widgets_values_named": {
        "prompt": "",
        "width": 640,
        "height": 288,
        "length": 90,
        "ref_image_size": "match"
      }
    },
    {
      "id": 1080,
      "type": "SamplerCustomAdvanced",
      "pos": [
        6380.047674151563,
        280.75067326010117
      ],
      "size": [
        278.8392237210569,
        355.5186017739493
      ],
      "flags": {
        "collapsed": false
      },
      "order": 67,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 2019
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 2020
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 2021
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 2022
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 2023
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            2024
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "title": "MiniMax H3 Sampling",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.4",
        "Node name for S&R": "SamplerCustomAdvanced",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 1081,
      "type": "StringConstantMultiline",
      "pos": [
        3405.15625,
        607.5
      ],
      "size": [
        520,
        250
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            2078
          ]
        }
      ],
      "title": "AUTO PROMPT — TYPE YOUR SHORT REQUEST HERE",
      "properties": {
        "cnr_id": "comfyui_fearnworksnodes",
        "ver": "0.1.2",
        "Node name for S&R": "StringConstantMultiline",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Replace the tracked object with the subject from Picture 1. Preserve the source motion, timing, camera angle, framing, lighting, background, occlusions, and all unedited regions.",
        true
      ],
      "widgets_values_named": {
        "string": "Replace the tracked object with the subject from Picture 1. Preserve the source motion, timing, camera angle, framing, lighting, background, occlusions, and all unedited regions.",
        "strip_newlines": true
      }
    }
  ],
  "links": [
    [
      2001,
      1025,
      0,
      1026,
      0,
      "MODEL"
    ],
    [
      2002,
      1026,
      0,
      1028,
      0,
      "MODEL"
    ],
    [
      2003,
      1028,
      0,
      1027,
      0,
      "MODEL"
    ],
    [
      2004,
      1069,
      0,
      1063,
      0,
      "VIDEO"
    ],
    [
      2005,
      1031,
      1,
      1067,
      0,
      "CLIP"
    ],
    [
      2006,
      1031,
      0,
      1036,
      1,
      "MODEL"
    ],
    [
      2007,
      1067,
      0,
      1036,
      3,
      "CONDITIONING"
    ],
    [
      2008,
      1036,
      0,
      1037,
      0,
      "SAM3_TRACK_DATA"
    ],
    [
      2009,
      1037,
      0,
      1034,
      0,
      "MASK"
    ],
    [
      2010,
      1034,
      0,
      1035,
      0,
      "*"
    ],
    [
      2011,
      1035,
      0,
      1061,
      1,
      "MASK"
    ],
    [
      2012,
      1061,
      0,
      1054,
      0,
      "IMAGE"
    ],
    [
      2013,
      1061,
      1,
      1058,
      0,
      "MASK"
    ],
    [
      2014,
      1058,
      0,
      1059,
      0,
      "MASK"
    ],
    [
      2015,
      1022,
      0,
      1079,
      0,
      "CLIP"
    ],
    [
      2016,
      1077,
      0,
      1020,
      0,
      "LATENT"
    ],
    [
      2017,
      1079,
      0,
      1020,
      1,
      "CONDITIONING"
    ],
    [
      2018,
      1020,
      1,
      1046,
      1,
      "CONDITIONING"
    ],
    [
      2019,
      1049,
      0,
      1080,
      0,
      "NOISE"
    ],
    [
      2020,
      1046,
      0,
      1080,
      1,
      "GUIDER"
    ],
    [
      2021,
      1047,
      0,
      1080,
      2,
      "SAMPLER"
    ],
    [
      2022,
      1048,
      0,
      1080,
      3,
      "SIGMAS"
    ],
    [
      2023,
      1020,
      0,
      1080,
      4,
      "LATENT"
    ],
    [
      2024,
      1080,
      0,
      1045,
      0,
      "LATENT"
    ],
    [
      2025,
      1045,
      0,
      1021,
      0,
      "*"
    ],
    [
      2026,
      1021,
      0,
      1051,
      0,
      "IMAGE"
    ],
    [
      2027,
      1027,
      0,
      1014,
      0,
      "MODEL"
    ],
    [
      2028,
      1014,
      0,
      1029,
      0,
      "MODEL"
    ],
    [
      2029,
      1011,
      0,
      1058,
      2,
      "MODEL"
    ],
    [
      2030,
      1044,
      0,
      1046,
      0,
      "MODEL"
    ],
    [
      2031,
      1044,
      0,
      1048,
      0,
      "MODEL"
    ],
    [
      2032,
      1024,
      0,
      1007,
      0,
      "VAE"
    ],
    [
      2033,
      1010,
      0,
      1058,
      1,
      "VAE"
    ],
    [
      2034,
      1006,
      0,
      1079,
      1,
      "VAE"
    ],
    [
      2035,
      1006,
      0,
      1077,
      2,
      "VAE"
    ],
    [
      2036,
      1050,
      0,
      1021,
      1,
      "VAE"
    ],
    [
      2037,
      1023,
      0,
      1008,
      0,
      "VAE"
    ],
    [
      2038,
      1005,
      0,
      1079,
      2,
      "VAE"
    ],
    [
      2039,
      1005,
      0,
      1077,
      3,
      "VAE"
    ],
    [
      2040,
      1063,
      0,
      1052,
      0,
      "IMAGE"
    ],
    [
      2041,
      1033,
      0,
      1036,
      0,
      "IMAGE"
    ],
    [
      2042,
      1053,
      0,
      1061,
      0,
      "IMAGE"
    ],
    [
      2043,
      1039,
      0,
      1051,
      1,
      "IMAGE"
    ],
    [
      2044,
      1063,
      4,
      1001,
      0,
      "AUDIO"
    ],
    [
      2045,
      1019,
      0,
      1077,
      1,
      "AUDIO"
    ],
    [
      2046,
      1063,
      7,
      1002,
      0,
      "FLOAT"
    ],
    [
      2047,
      1043,
      0,
      1077,
      6,
      "FLOAT"
    ],
    [
      2048,
      1061,
      2,
      1009,
      0,
      "BOUNDING_BOX"
    ],
    [
      2049,
      1038,
      0,
      1051,
      2,
      "BOUNDING_BOX"
    ],
    [
      2050,
      1059,
      0,
      1013,
      0,
      "MASK"
    ],
    [
      2051,
      1040,
      0,
      1051,
      3,
      "MASK"
    ],
    [
      2052,
      1054,
      0,
      1060,
      0,
      "IMAGE"
    ],
    [
      2053,
      1078,
      0,
      1077,
      0,
      "IMAGE"
    ],
    [
      2054,
      1054,
      1,
      1056,
      0,
      "INT"
    ],
    [
      2055,
      1004,
      0,
      1079,
      10,
      "INT"
    ],
    [
      2056,
      1054,
      2,
      1015,
      0,
      "INT"
    ],
    [
      2057,
      1003,
      0,
      1079,
      11,
      "INT"
    ],
    [
      2058,
      1054,
      3,
      1016,
      0,
      "INT"
    ],
    [
      2059,
      1017,
      0,
      1079,
      12,
      "INT"
    ],
    [
      2060,
      1058,
      2,
      1012,
      0,
      "MASK"
    ],
    [
      2061,
      1018,
      0,
      1077,
      4,
      "MASK"
    ],
    [
      2062,
      1030,
      0,
      1057,
      2,
      "INT"
    ],
    [
      2063,
      1030,
      0,
      1055,
      2,
      "INT"
    ],
    [
      2064,
      1061,
      0,
      1057,
      0,
      "IMAGE"
    ],
    [
      2065,
      1061,
      1,
      1057,
      1,
      "MASK"
    ],
    [
      2066,
      1059,
      0,
      1055,
      1,
      "MASK"
    ],
    [
      2067,
      1057,
      0,
      1070,
      0,
      "IMAGE"
    ],
    [
      2068,
      1055,
      1,
      1070,
      1,
      "MASK"
    ],
    [
      2069,
      1042,
      0,
      1068,
      4,
      "FLOAT"
    ],
    [
      2070,
      1041,
      0,
      1068,
      1,
      "AUDIO"
    ],
    [
      2071,
      1036,
      0,
      1064,
      0,
      "SAM3_TRACK_DATA"
    ],
    [
      2072,
      1033,
      0,
      1064,
      1,
      "IMAGE"
    ],
    [
      2073,
      1032,
      0,
      1064,
      2,
      "FLOAT"
    ],
    [
      2074,
      1066,
      0,
      1079,
      3,
      "IMAGE"
    ],
    [
      2075,
      1051,
      0,
      1068,
      0,
      "IMAGE"
    ],
    [
      2076,
      1078,
      0,
      1079,
      5,
      "IMAGE"
    ],
    [
      2077,
      1075,
      0,
      1074,
      0,
      "STRING"
    ],
    [
      2078,
      1081,
      0,
      1074,
      1,
      "STRING"
    ],
    [
      2079,
      1076,
      0,
      1071,
      0,
      "CLIP"
    ],
    [
      2080,
      1066,
      0,
      1071,
      1,
      "IMAGE"
    ],
    [
      2081,
      1078,
      0,
      1071,
      2,
      "IMAGE"
    ],
    [
      2082,
      1074,
      0,
      1071,
      4,
      "STRING"
    ],
    [
      2083,
      1071,
      0,
      1072,
      0,
      "STRING"
    ],
    [
      2084,
      1071,
      0,
      1073,
      0,
      "STRING"
    ],
    [
      2085,
      1073,
      0,
      1079,
      9,
      "STRING"
    ]
  ],
  "groups": [
    {
      "id": 201,
      "title": "1. MODELS + LOW VRAM",
      "bounding": [
        -5070,
        20,
        2040,
        1026.1970138912752
      ],
      "color": "#3a3a3a",
      "flags": {}
    },
    {
      "id": 202,
      "title": "2. SOURCE + TIMELINE",
      "bounding": [
        -2920,
        40,
        1874,
        1532.7492342677601
      ],
      "color": "#3a3a3a",
      "flags": {}
    },
    {
      "id": 203,
      "title": "3. SAM3 TRACKING",
      "bounding": [
        -934.9609375,
        32.1484375,
        1454.013671875,
        1669.5605723518402
      ],
      "color": "#3a3a3a",
      "flags": {}
    },
    {
      "id": 204,
      "title": "4. CROP + MASK",
      "bounding": [
        595.859375,
        -31.2890625,
        2062.872910028169,
        1957.387624214477
      ],
      "color": "#3a3a3a",
      "flags": {}
    },
    {
      "id": 205,
      "title": "5. REFERENCE + GEMMA 4 + H3 LATENT",
      "bounding": [
        2755.15625,
        -22.5,
        2835.3687499999996,
        1802
      ],
      "color": "#3a3a3a",
      "flags": {}
    },
    {
      "id": 206,
      "title": "6. H3 SAMPLING",
      "bounding": [
        5660.047674151565,
        -29.249326739898788,
        1444.423828125,
        800
      ],
      "color": "#3a3a3a",
      "flags": {}
    },
    {
      "id": 207,
      "title": "7. DECODE + COMPOSITE + SAVE",
      "bounding": [
        7149.6928958733815,
        -33.84625320840454,
        2694.7343934736673,
        1176.3117091389913
      ],
      "color": "#3a3a3a",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "frontendVersion": "1.49.6",
    "ds": {
      "scale": 0.16003318683378692,
      "offset": [
        5463.81582990013,
        1786.654260650012
      ]
    },
    "ue_links": [],
    "links_added_by_ue": [],
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}