{
  "id": "4a435654-65ee-4ef4-b100-eb2e567ae9f8",
  "revision": 0,
  "last_node_id": 152,
  "last_link_id": 262,
  "nodes": [
    {
      "id": 77,
      "type": "VAEDecodeAudio",
      "pos": [
        1308.6980183050962,
        296.9762089835968
      ],
      "size": [
        194.25299723441972,
        46
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 132
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 150
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            160
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecodeAudio",
        "cnr_id": "comfy-core",
        "ver": "0.30.0"
      }
    },
    {
      "id": 91,
      "type": "CreateVideo",
      "pos": [
        1544.2637529711267,
        188.1918182373047
      ],
      "size": [
        270,
        126
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 159
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 160
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            158
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo",
        "cnr_id": "comfy-core",
        "ver": "0.33.0"
      },
      "widgets_values": [
        24,
        8,
        "sRGB"
      ],
      "widgets_values_named": {
        "fps": 24,
        "bit_depth": 8,
        "color_space": "sRGB"
      }
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1308.6980183050962,
        188.1918182373047
      ],
      "size": [
        194.25299723441972,
        46
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 35
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 140
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            159
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      }
    },
    {
      "id": 82,
      "type": "Reroute",
      "pos": [
        1138.7548217773438,
        64.14635395192796
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 149
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            150
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 86,
      "type": "ModelAttentionBackend",
      "pos": [
        559.0936845136185,
        -207.9445746188256
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 163
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            164
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ModelAttentionBackend"
      },
      "widgets_values": [
        "comfy kitchen attention"
      ],
      "widgets_values_named": {
        "attention": "comfy kitchen attention"
      }
    },
    {
      "id": 38,
      "type": "CLIPLoader",
      "pos": [
        52.62317611836556,
        188.1918182373047
      ],
      "size": [
        301.3524169921875,
        106
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            192
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
        "minimax",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
        "type": "minimax",
        "device": "default"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 81,
      "type": "VAELoader",
      "pos": [
        52.62317611836556,
        64.14635395192796
      ],
      "size": [
        301.3524169921875,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            149,
            194
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      },
      "widgets_values": [
        "minimax_h3_audio_vae_fp32.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 75,
      "type": "ConditioningZeroOut",
      "pos": [
        613.3453120458804,
        687.4058481340641
      ],
      "size": [
        218.4346850585937,
        26
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 191
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            130
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningZeroOut",
        "cnr_id": "comfy-core",
        "ver": "0.30.0"
      }
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        898.7548217773438,
        188.1918182373047
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 164
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 190
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 130
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 250
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            35,
            132
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      },
      "widgets_values": [
        1234,
        "fixed",
        20,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 1234,
        "control_after_generate": "fixed",
        "steps": 20,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 37,
      "type": "UNETLoader",
      "pos": [
        218.55216245088812,
        -207.9445746188256
      ],
      "size": [
        305.3782043457031,
        82
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            163
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      },
      "widgets_values": [
        "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "weight_dtype": "default"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 106,
      "type": "PrimitiveFloat",
      "pos": [
        -98.28860660001553,
        650.6703717621782
      ],
      "size": [
        214.65850806503283,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            182
          ]
        }
      ],
      "title": "Float: Duration (sec)",
      "properties": {
        "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
        6
      ],
      "widgets_values_named": {
        "value": 6
      }
    },
    {
      "id": 95,
      "type": "MarkdownNote",
      "pos": [
        -482.3943342566212,
        -207.9445746188256
      ],
      "size": [
        480.26512898835654,
        314.3204118484383
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## models\n- diffusion_models\n  - [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors) (21 GB)\n- text_encoders\n  - [qwen3vl_32b_minimax_h3_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors) (27.1 GB)\n- vae\n  - [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_audio_vae_fp32.safetensors) (605 MB)\n  - [minimax_h3_video_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_video_vae_fp16.safetensors) (5.21 GB)\n\n```text\n📂ComfyUI/\n└── 📂models/\n    ├── 📂diffusion_models/\n    │   └── minimax_h3_ref2va_pruned_int8_convrot.safetensors\n    ├── 📂text_encoders/\n    │   └── qwen3vl_32b_minimax_h3_int8_convrot.safetensors\n    └── 📂vae/\n         ├── minimax_h3_audio_vae_fp32.safetensors\n         └── minimax_h3_video_vae_fp16.safetensors\n```"
      ],
      "widgets_values_named": {
        "text": "## models\n- diffusion_models\n  - [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors) (21 GB)\n- text_encoders\n  - [qwen3vl_32b_minimax_h3_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors) (27.1 GB)\n- vae\n  - [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_audio_vae_fp32.safetensors) (605 MB)\n  - [minimax_h3_video_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_video_vae_fp16.safetensors) (5.21 GB)\n\n```text\n📂ComfyUI/\n└── 📂models/\n    ├── 📂diffusion_models/\n    │   └── minimax_h3_ref2va_pruned_int8_convrot.safetensors\n    ├── 📂text_encoders/\n    │   └── qwen3vl_32b_minimax_h3_int8_convrot.safetensors\n    └── 📂vae/\n         ├── minimax_h3_audio_vae_fp32.safetensors\n         └── minimax_h3_video_vae_fp16.safetensors\n```"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 136,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -1013.0911505833631,
        1295.7310016153485
      ],
      "size": [
        297.3094587159344,
        98
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            235
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            233
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple",
        "cnr_id": "comfy-core",
        "ver": "0.19.3"
      },
      "widgets_values": [
        "sam3.1_multiplex_fp16.safetensors"
      ],
      "widgets_values_named": {
        "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 123,
      "type": "ResizeImageMaskNode",
      "pos": [
        -718.9883075199052,
        1104.06055049653
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "IMAGE,MASK",
          "link": 211
        }
      ],
      "outputs": [
        {
          "name": "resized",
          "type": "IMAGE",
          "links": [
            215,
            218,
            238,
            242
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "widgets_values": [
        "scale to multiple",
        32,
        "bicubic"
      ],
      "widgets_values_named": {
        "resize_type": "scale to multiple",
        "resize_type.multiple": 32,
        "scale_method": "bicubic"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 39,
      "type": "VAELoader",
      "pos": [
        52.62317611836556,
        -59.89911033344882
      ],
      "size": [
        301.3524169921875,
        58
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            139,
            193,
            243
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "minimax_h3_video_vae_fp16.safetensors"
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 139,
      "type": "VAEEncode",
      "pos": [
        191.3694919516222,
        1104.06055049653
      ],
      "size": [
        160.189426262413,
        46
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 242
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 243
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            244
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 134,
      "type": "CLIPTextEncode",
      "pos": [
        -680.455921025271,
        1369.423438818407
      ],
      "size": [
        250.42005327504967,
        109.84222389181082
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 233
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            236
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.19.3"
      },
      "widgets_values": [
        "dog"
      ],
      "widgets_values_named": {
        "text": "dog"
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 79,
      "type": "Reroute",
      "pos": [
        1138.7548217773438,
        -59.89911033344882
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 139
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            140
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 99,
      "type": "Reroute",
      "pos": [
        278.97559311055306,
        352.8802091216946
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 198
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            195
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 108,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
        426.3652074439484,
        188.1918182373047
      ],
      "size": [
        405.4147896605257,
        364
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 192
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 193
        },
        {
          "name": "audio_vae",
          "shape": 7,
          "type": "VAE",
          "link": 194
        },
        {
          "name": "ref_images.ref_image_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 195
        },
        {
          "name": "ref_images.ref_image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "ref_videos.ref_video_0",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "ref_video_audios.ref_video_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "ref_audios.ref_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 219
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 220
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 188
        },
        {
          "name": "ref_videos.ref_video_1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "ref_videos.ref_video_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            190,
            191
          ]
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3ReferenceToVideo"
      },
      "widgets_values": [
        "subject_definitions:\n<Subject 1> is the plush shark in <Picture 1>, preserving its blue-and-white body, fluffy fabric texture, rounded black eyes, soft mouth, small triangular teeth, fins, and oversized stuffed-toy proportions.\n\nsummary:\n[reference generation] The target video shows the girl holding and hugging <Subject 1>.\n\nretention_analysis:\n<Subject 1> (appears in [Shot 1]): fully_preserved - preserve the plush shark's appearance, proportions, colors, and soft stuffed-animal texture from <Picture 1>.\n\ndetailed_description:\n[Shot 1] <Subject 1> is held naturally in the girl's arms. She hugs the large plush shark closely and affectionately while sitting. The plush shark follows her arm and body movement naturally, with soft fabric deformation where she holds it, and fits naturally into the scene's lighting, scale, perspective, and motion.\n\noverall_soundscape:\nN/A\n\nnon_diegetic_music:\nN/A",
        1344,
        768,
        124,
        "match"
      ],
      "widgets_values_named": {
        "prompt": "subject_definitions:\n<Subject 1> is the plush shark in <Picture 1>, preserving its blue-and-white body, fluffy fabric texture, rounded black eyes, soft mouth, small triangular teeth, fins, and oversized stuffed-toy proportions.\n\nsummary:\n[reference generation] The target video shows the girl holding and hugging <Subject 1>.\n\nretention_analysis:\n<Subject 1> (appears in [Shot 1]): fully_preserved - preserve the plush shark's appearance, proportions, colors, and soft stuffed-animal texture from <Picture 1>.\n\ndetailed_description:\n[Shot 1] <Subject 1> is held naturally in the girl's arms. She hugs the large plush shark closely and affectionately while sitting. The plush shark follows her arm and body movement naturally, with soft fabric deformation where she holds it, and fits naturally into the scene's lighting, scale, perspective, and motion.\n\noverall_soundscape:\nN/A\n\nnon_diegetic_music:\nN/A",
        "width": 1344,
        "height": 768,
        "length": 124,
        "ref_image_size": "match"
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 137,
      "type": "SAM3_TrackToMask",
      "pos": [
        -135.0334312374145,
        1276.3710016153482
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "label": "track_data",
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "link": 237
        }
      ],
      "outputs": [
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            246
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SAM3_TrackToMask",
        "cnr_id": "comfy-core",
        "ver": "0.19.3"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "object_indices": ""
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 124,
      "type": "GetImageSize",
      "pos": [
        148.39501662316744,
        457.8150364864918
      ],
      "size": [
        210,
        136.58041135497615
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 218
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            219,
            257
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            220,
            258
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 104,
      "type": "ComfyMathExpression",
      "pos": [
        148.39501662316744,
        650.6703717621782
      ],
      "size": [
        210,
        128
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 182
        },
        {
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            188,
            224,
            259
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "ComfyMathExpression",
        "cnr_id": "comfy-core",
        "ver": "0.33.0"
      },
      "widgets_values": [
        "17 * round((a * 24 - 5) / 17) + 5"
      ],
      "widgets_values_named": {
        "expression": "17 * round((a * 24 - 5) / 17) + 5"
      }
    },
    {
      "id": 140,
      "type": "GrowMask",
      "pos": [
        110.6365455323044,
        1276.3710016153482
      ],
      "size": [
        220.2165167995529,
        82
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 246
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            247,
            248
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GrowMask"
      },
      "widgets_values": [
        30,
        true
      ],
      "widgets_values_named": {
        "expand": 30,
        "tapered_corners": true
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 92,
      "type": "SaveVideo",
      "pos": [
        1855.5764904027374,
        188.1918182373047
      ],
      "size": [
        805.3487345300787,
        545.4159636278215
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 158
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.0"
      },
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/ComfyUI",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 151,
      "type": "LTXVSeparateAVLatent",
      "pos": [
        377.2686192554718,
        921.7087401578723
      ],
      "size": [
        211.85817501477655,
        46
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "av_latent",
          "type": "LATENT",
          "link": 261
        }
      ],
      "outputs": [
        {
          "name": "video_latent",
          "type": "LATENT",
          "links": null
        },
        {
          "name": "audio_latent",
          "type": "LATENT",
          "links": [
            262
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LTXVSeparateAVLatent"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 150,
      "type": "EmptyMiniMaxH3LatentAV",
      "pos": [
        54.25366564220329,
        921.7087401578723
      ],
      "size": [
        292.1197265625,
        106
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 257
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 258
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 259
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            261
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyMiniMaxH3LatentAV"
      },
      "widgets_values": [
        1344,
        768,
        124
      ],
      "widgets_values_named": {
        "width": 1344,
        "height": 768,
        "length": 124
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 135,
      "type": "SAM3_VideoTrack",
      "pos": [
        -380.2041163401462,
        1276.3710016153482
      ],
      "size": [
        215.80859375,
        166
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "label": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 238
        },
        {
          "label": "model",
          "name": "model",
          "type": "MODEL",
          "link": 235
        },
        {
          "label": "initial_mask",
          "name": "initial_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "label": "conditioning",
          "name": "conditioning",
          "shape": 7,
          "type": "CONDITIONING",
          "link": 236
        }
      ],
      "outputs": [
        {
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "links": [
            237
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SAM3_VideoTrack",
        "cnr_id": "comfy-core",
        "ver": "0.19.3"
      },
      "widgets_values": [
        0.5,
        0,
        1
      ],
      "widgets_values_named": {
        "detection_threshold": 0.5,
        "max_objects": 0,
        "detect_interval": 1
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 121,
      "type": "ResizeImageMaskNode",
      "pos": [
        -1017.3142655795682,
        1104.06055049653
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "IMAGE,MASK",
          "link": 209
        }
      ],
      "outputs": [
        {
          "name": "resized",
          "type": "IMAGE",
          "links": [
            211
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "widgets_values": [
        "scale total pixels",
        1,
        "bicubic"
      ],
      "widgets_values_named": {
        "resize_type": "scale total pixels",
        "resize_type.megapixels": 1,
        "scale_method": "bicubic"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 145,
      "type": "LTXVConcatAVLatent",
      "pos": [
        631.7002512545694,
        1010.2183226908568
      ],
      "size": [
        200.07974584990475,
        46
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "video_latent",
          "type": "LATENT",
          "link": 249
        },
        {
          "name": "audio_latent",
          "type": "LATENT",
          "link": 262
        }
      ],
      "outputs": [
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            250
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LTXVConcatAVLatent"
      }
    },
    {
      "id": 138,
      "type": "SetLatentNoiseMask",
      "pos": [
        380.90726563588817,
        1104.06055049653
      ],
      "size": [
        218.62211345563665,
        46
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 244
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 247
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            249
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SetLatentNoiseMask"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 96,
      "type": "LoadImage",
      "pos": [
        -732.6073681556331,
        352.8802091216946
      ],
      "size": [
        531.7558574586499,
        417.24609450217815
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            198
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "shark.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "shark.png",
        "upload": "image"
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 120,
      "type": "VHS_LoadVideo",
      "pos": [
        -1373.8987302780815,
        1106.2806187046765
      ],
      "size": [
        322.3382999083077,
        493.95898334743094
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_load_cap",
          "type": "INT",
          "widget": {
            "name": "frame_load_cap"
          },
          "link": 224
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            209
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": []
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "101233-video-1080.mp4",
        "force_rate": 24,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 0,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "AnimateDiff",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "101233-video-1080.mp4",
            "type": "input",
            "format": "video/mp4",
            "force_rate": 24,
            "custom_width": 0,
            "custom_height": 0,
            "frame_load_cap": 0,
            "skip_first_frames": 0,
            "select_every_nth": 1
          }
        }
      },
      "widgets_values_named": {
        "video": "101233-video-1080.mp4",
        "force_rate": 24,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 0,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "AnimateDiff",
        "choose video to upload": null,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "101233-video-1080.mp4",
            "type": "input",
            "format": "video/mp4",
            "force_rate": 24,
            "custom_width": 0,
            "custom_height": 0,
            "frame_load_cap": 0,
            "skip_first_frames": 0,
            "select_every_nth": 1
          }
        }
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 142,
      "type": "MaskPreview",
      "pos": [
        384.0319153017594,
        1276.3710016153482
      ],
      "size": [
        385.15689138103824,
        261.73203303832656
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 248
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "MaskPreview"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    }
  ],
  "links": [
    [
      35,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      130,
      75,
      0,
      3,
      2,
      "CONDITIONING"
    ],
    [
      132,
      3,
      0,
      77,
      0,
      "LATENT"
    ],
    [
      139,
      39,
      0,
      79,
      0,
      "VAE"
    ],
    [
      140,
      79,
      0,
      8,
      1,
      "VAE"
    ],
    [
      149,
      81,
      0,
      82,
      0,
      "VAE"
    ],
    [
      150,
      82,
      0,
      77,
      1,
      "VAE"
    ],
    [
      158,
      91,
      0,
      92,
      0,
      "VIDEO"
    ],
    [
      159,
      8,
      0,
      91,
      0,
      "IMAGE"
    ],
    [
      160,
      77,
      0,
      91,
      1,
      "AUDIO"
    ],
    [
      163,
      37,
      0,
      86,
      0,
      "MODEL"
    ],
    [
      164,
      86,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      182,
      106,
      0,
      104,
      0,
      "FLOAT"
    ],
    [
      188,
      104,
      1,
      108,
      10,
      "INT"
    ],
    [
      190,
      108,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      191,
      108,
      0,
      75,
      0,
      "CONDITIONING"
    ],
    [
      192,
      38,
      0,
      108,
      0,
      "CLIP"
    ],
    [
      193,
      39,
      0,
      108,
      1,
      "VAE"
    ],
    [
      194,
      81,
      0,
      108,
      2,
      "VAE"
    ],
    [
      195,
      99,
      0,
      108,
      3,
      "IMAGE"
    ],
    [
      198,
      96,
      0,
      99,
      0,
      "IMAGE"
    ],
    [
      209,
      120,
      0,
      121,
      0,
      "IMAGE"
    ],
    [
      211,
      121,
      0,
      123,
      0,
      "IMAGE"
    ],
    [
      215,
      123,
      0,
      108,
      6,
      "IMAGE"
    ],
    [
      218,
      123,
      0,
      124,
      0,
      "IMAGE"
    ],
    [
      219,
      124,
      0,
      108,
      8,
      "INT"
    ],
    [
      220,
      124,
      1,
      108,
      9,
      "INT"
    ],
    [
      224,
      104,
      1,
      120,
      2,
      "INT"
    ],
    [
      233,
      136,
      1,
      134,
      0,
      "CLIP"
    ],
    [
      235,
      136,
      0,
      135,
      1,
      "MODEL"
    ],
    [
      236,
      134,
      0,
      135,
      3,
      "CONDITIONING"
    ],
    [
      237,
      135,
      0,
      137,
      0,
      "SAM3_TRACK_DATA"
    ],
    [
      238,
      123,
      0,
      135,
      0,
      "IMAGE"
    ],
    [
      242,
      123,
      0,
      139,
      0,
      "IMAGE"
    ],
    [
      243,
      39,
      0,
      139,
      1,
      "VAE"
    ],
    [
      244,
      139,
      0,
      138,
      0,
      "LATENT"
    ],
    [
      246,
      137,
      0,
      140,
      0,
      "MASK"
    ],
    [
      247,
      140,
      0,
      138,
      1,
      "MASK"
    ],
    [
      248,
      140,
      0,
      142,
      0,
      "MASK"
    ],
    [
      249,
      138,
      0,
      145,
      0,
      "LATENT"
    ],
    [
      250,
      145,
      0,
      3,
      3,
      "LATENT"
    ],
    [
      257,
      124,
      0,
      150,
      0,
      "INT"
    ],
    [
      258,
      124,
      1,
      150,
      1,
      "INT"
    ],
    [
      259,
      104,
      1,
      150,
      2,
      "INT"
    ],
    [
      261,
      150,
      0,
      151,
      0,
      "LATENT"
    ],
    [
      262,
      151,
      1,
      145,
      1,
      "LATENT"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.32349184307608736,
      "offset": [
        1513.77364992828,
        528.1188372619786
      ]
    },
    "frontendVersion": "1.51.10",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
