spawn ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 zyw@192.168.31.25 cat '/home/zyw/ComfyUI/user/default/workflows/video_minimax_h3_ref2va_完整加速15s_0.5MP_refn8.json'
zyw@192.168.31.25's password: 
{
  "id": "e3f2b845-8f2c-4b5a-9caf-eac1029d3e7e",
  "revision": 0,
  "last_node_id": 167,
  "last_link_id": 308,
  "nodes": [
    {
      "id": 120,
      "type": "VAELoader",
      "pos": [
        -2393.7830229552733,
        5472.158989520116
      ],
      "size": [
        650,
        70
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            228
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "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"
      ]
    },
    {
      "id": 119,
      "type": "VAELoader",
      "pos": [
        -2393.7830229552733,
        5342.158989520116
      ],
      "size": [
        640,
        70
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            229,
            241
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "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"
      ]
    },
    {
      "id": 128,
      "type": "CLIPLoader",
      "pos": [
        -2393.7830229552733,
        5152.158989520116
      ],
      "size": [
        640,
        120
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            240
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "CLIPLoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "qwen3vl_32b_heretic_minimax_h3_nvfp4.safetensors",
        "minimax",
        "default"
      ]
    },
    {
      "id": 126,
      "type": "BasicGuider",
      "pos": [
        -1042.4816344747367,
        4940.092864990236
      ],
      "size": [
        360,
        60
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 297
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 237
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            232
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "BasicGuider",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 137,
      "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
      "pos": [
        -1546.1498991718863,
        3814.7034024135282
      ],
      "size": [
        320.323828125,
        42.27849444257981
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 253
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            280
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1289b52fbb6d64a339a4047b9ea74cf7758ccf1e",
        "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": []
    },
    {
      "id": 136,
      "type": "PathchSageAttentionKJ",
      "pos": [
        -1830.6207131249503,
        3813.9564599581163
      ],
      "size": [
        276.1769685423362,
        83.0900532721771
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 269
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            253
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1289b52fbb6d64a339a4047b9ea74cf7758ccf1e",
        "Node name for S&R": "PathchSageAttentionKJ",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "sageattn_qk_int8_pv_fp8_cuda++",
        false
      ]
    },
    {
      "id": 154,
      "type": "SpectrumApplyMiniMaxH3",
      "pos": [
        -913.6983976971709,
        3804.9300299143842
      ],
      "size": [
        298.05078125,
        322
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 283
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            295
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-spectrum-minimax-h3",
        "ver": "1a06e20028b385f8b1a52699d05f720534655600",
        "Node name for S&R": "SpectrumApplyMiniMaxH3",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        true,
        0.5,
        1,
        0.1,
        2,
        0.75,
        1,
        1,
        8,
        false,
        "system_ram",
        true
      ]
    },
    {
      "id": 156,
      "type": "MiniMaxLowVRAMAttention",
      "pos": [
        -597.4525683794539,
        3803.0922569344075
      ],
      "size": [
        318.5201171875,
        58
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 295
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            292
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "d40331fc90608257bce1af743263bb74b14c1dce",
        "Node name for S&R": "MiniMaxLowVRAMAttention",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        4
      ]
    },
    {
      "id": 157,
      "type": "MiniMaxChunkFeedForward",
      "pos": [
        -262.65382354837993,
        3786.424921779159
      ],
      "size": [
        316.38046875,
        82
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 292
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            296
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "d40331fc90608257bce1af743263bb74b14c1dce",
        "Node name for S&R": "MiniMaxChunkFeedForward",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        2,
        4096
      ]
    },
    {
      "id": 127,
      "type": "UNETLoader",
      "pos": [
        -2393.7830229552733,
        5002.158989520116
      ],
      "size": [
        640,
        90
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            270
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "UNETLoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
        "default"
      ]
    },
    {
      "id": 153,
      "type": "SolAttnPatch",
      "pos": [
        -1208.2393962332574,
        3803.049792672935
      ],
      "size": [
        270,
        342
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 280
        },
        {
          "name": "tau_profile",
          "shape": 7,
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            283
          ]
        }
      ],
      "properties": {
        "aux_id": "kijai/ComfyUI-SolAttn_triton",
        "ver": "0e334dc981cfe3b0ed926ee13ad43f64914b7f5b",
        "Node name for S&R": "SolAttnPatch",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        1.3,
        0.2,
        0.9,
        4096,
        true,
        "exact_kv_and_rows",
        false,
        "2d_frame",
        true,
        false,
        false,
        ""
      ]
    },
    {
      "id": 129,
      "type": "RandomNoise",
      "pos": [
        -1042.4816344747367,
        4800.092864990236
      ],
      "size": [
        360,
        90
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            231
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "RandomNoise",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        768914106098754,
        "fixed"
      ]
    },
    {
      "id": 124,
      "type": "BasicScheduler",
      "pos": [
        -1042.4816344747367,
        5170.092864990236
      ],
      "size": [
        370,
        130
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 298
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            234
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "BasicScheduler",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "beta",
        8,
        1
      ]
    },
    {
      "id": 140,
      "type": "ModelPreviewOverrideKJ",
      "pos": [
        140.6909031098626,
        3780.7456348205233
      ],
      "size": [
        729.773494414731,
        862.3622356476099
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 296
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "preview_frames",
          "type": "INT",
          "widget": {
            "name": "preview_frames"
          },
          "link": 285
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            297,
            298
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "6edfa76599c13905968841b81309784a7dbb7803",
        "Node name for S&R": "ModelPreviewOverrideKJ",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        1024,
        80,
        true,
        360,
        8,
        "minimaxH3Preview_v10.safetensors",
        ""
      ]
    },
    {
      "id": 145,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -2211.0910682513027,
        4748.353303752392
      ],
      "size": [
        473.40232745109915,
        92.33136287727484
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 270
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            269
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "LoraLoaderModelOnly",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "h3/minimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors",
        1
      ]
    },
    {
      "id": 133,
      "type": "PrimitiveFloat",
      "pos": [
        -2198.261032309943,
        5634.961874464171
      ],
      "size": [
        270,
        70
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            246
          ]
        }
      ],
      "title": "Float (duration)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "PrimitiveFloat",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        15
      ]
    },
    {
      "id": 115,
      "type": "ResolutionSelector",
      "pos": [
        -2200.1276024455915,
        5759.816345101342
      ],
      "size": [
        270,
        170
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            244
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            245
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "ResolutionSelector",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "16:9 (Widescreen)",
        0.5,
        32
      ]
    },
    {
      "id": 121,
      "type": "VAEDecodeAudio",
      "pos": [
        -240.78166266034518,
        5253.335443790034
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 248
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 228
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            289
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "VAEDecodeAudio",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 122,
      "type": "VAEDecode",
      "pos": [
        -252.77634277593037,
        5104.20550636647
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 247
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 229
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            301
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "VAEDecode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 161,
      "type": "VRAM_Debug",
      "pos": [
        -258.16173605660094,
        4769.4642552080895
      ],
      "size": [
        270,
        186
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "any_input",
          "shape": 7,
          "type": "*",
          "link": null
        },
        {
          "name": "image_pass",
          "shape": 7,
          "type": "IMAGE",
          "link": 301
        },
        {
          "name": "model_pass",
          "shape": 7,
          "type": "MODEL",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "any_output",
          "type": "*",
          "links": null
        },
        {
          "name": "image_pass",
          "type": "IMAGE",
          "links": [
            302
          ]
        },
        {
          "name": "model_pass",
          "type": "MODEL",
          "links": null
        },
        {
          "label": "26,934,043,592   freemem_before",
          "name": "freemem_before",
          "type": "INT",
          "links": null
        },
        {
          "label": "32,339,722,236      freemem_after",
          "name": "freemem_after",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.5.0",
        "Node name for S&R": "VRAM_Debug",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        true,
        true,
        true
      ]
    },
    {
      "id": 125,
      "type": "SamplerCustomAdvanced",
      "pos": [
        -640.4720772873206,
        4956.982815788838
      ],
      "size": [
        230,
        140
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 231
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 232
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 267
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 234
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 235
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            247,
            248
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "SamplerCustomAdvanced",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 142,
      "type": "KSamplerSelect",
      "pos": [
        -1023.0837432150978,
        5054.57701066404
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            267
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "KSamplerSelect",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "euler"
      ]
    },
    {
      "id": 155,
      "type": "VHS_VideoCombine",
      "pos": [
        75.61756186545853,
        4733.56479063447
      ],
      "size": [
        891.703134425321,
        890.0796129189534
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 302
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 289
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "4ee72c065db22c9d96c2427954dc69e7b908444b",
        "Node name for S&R": "VHS_VideoCombine",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 20,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": true,
          "params": {
            "filename": "AnimateDiff_00066-audio.mp4",
            "subfolder": "",
            "type": "output",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00066.png",
            "fullpath": "C:\\Users\\drbaph\\Documents\\ComfyUI\\output\\AnimateDiff_00066-audio.mp4"
          }
        }
      }
    },
    {
      "id": 132,
      "type": "ComfyMathExpression",
      "pos": [
        -1650.3418607433362,
        5634.873814426784
      ],
      "size": [
        360,
        160
      ],
      "flags": {
        "collapsed": true
      },
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 246
        },
        {
          "label": "b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            243,
            285
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.30.0",
        "Node name for S&R": "ComfyMathExpression",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
      ]
    },
    {
      "id": 131,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
        -1574.7617550603027,
        4771.150998491792
      ],
      "size": [
        410,
        510
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "clip",
          "name": "clip",
          "type": "CLIP",
          "link": 240
        },
        {
          "localized_name": "vae",
          "name": "vae",
          "type": "VAE",
          "link": 241
        },
        {
          "localized_name": "audio_vae",
          "name": "audio_vae",
          "type": "VAE",
          "link": 303
        },
        {
          "label": "ref_image_0",
          "localized_name": "ref_images.ref_image_0",
          "name": "ref_images.ref_image_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 304
        },
        {
          "label": "ref_image_1",
          "localized_name": "ref_images.ref_image_1",
          "name": "ref_images.ref_image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 305
        },
        {
          "label": "ref_image_2",
          "localized_name": "ref_images.ref_image_2",
          "name": "ref_images.ref_image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "label": "ref_video_0",
          "localized_name": "ref_videos.ref_video_0",
          "name": "ref_videos.ref_video_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 306
        },
        {
          "label": "ref_video_audio_0",
          "localized_name": "ref_video_audios.ref_video_audio_0",
          "name": "ref_video_audios.ref_video_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": 307
        },
        {
          "label": "ref_audio_0",
          "localized_name": "ref_audios.ref_audio_0",
          "name": "ref_audios.ref_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 308
        },
        {
          "localized_name": "width",
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 244
        },
        {
          "localized_name": "height",
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 245
        },
        {
          "localized_name": "length",
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 243
        },
        {
          "localized_name": "ref_image_size",
          "name": "ref_image_size",
          "type": "COMBO",
          "widget": {
            "name": "ref_image_size"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "positive",
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            237
          ]
        },
        {
          "localized_name": "Latent",
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            235
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3ReferenceToVideo"
      },
      "widgets_values": [
        "",
        1344,
        768,
        124,
        "match"
      ]
    },
    {
      "id": 162,
      "type": "LoadImage",
      "pos": [
        -2700,
        4200
      ],
      "size": [
        290,
        330
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "图像",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          },
          "link": null
        },
        {
          "localized_name": "选择文件上传",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "图像",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            304
          ]
        },
        {
          "localized_name": "遮罩",
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "2063666516271828992010144_1.png",
        "image"
      ]
    },
    {
      "id": 163,
      "type": "LoadImage",
      "pos": [
        -2700,
        4550
      ],
      "size": [
        290,
        330
      ],
      "flags": {},
      "order": 10,
      "mode": 4,
      "inputs": [
        {
          "localized_name": "图像",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          },
          "link": null
        },
        {
          "localized_name": "选择文件上传",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "图像",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            305
          ]
        },
        {
          "localized_name": "遮罩",
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "0b77a387-070e-4504-afc0-8c005fe93069.png",
        "image"
      ]
    },
    {
      "id": 164,
      "type": "VHS_LoadVideo",
      "pos": [
        -2700,
        4900
      ],
      "size": [
        320,
        340
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "meta_batch",
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            306
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": []
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            307
          ]
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": []
        }
      ],
      "title": "Load Video (Reference)",
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": [
        "VID_985.mp4",
        0,
        0,
        0,
        0,
        0,
        8,
        "None"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 165,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2200,
        5300
      ],
      "size": [
        370,
        390
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "值",
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "字符串",
          "name": "STRING",
          "type": "STRING",
          "links": [
            308
          ]
        }
      ],
      "title": "Input Text (Prompt)",
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "integrated_multimodal_description: [Shot 1] Live-action, cinematic, realistic, soft warm indoor lighting with elegant atmosphere. A high-angle shot from the second floor looks down into a spacious hallway or lobby. A tall, young and beautiful Chinese woman with long black hair and a youthful face walks slowly from the far end toward the camera’s position below. She wears a sexy silver evening gown with multiple delicate cutouts, a deep plunging neckline that clearly reveals her cleavage, a very high side slit that exposes her long legs with each step, and an open backless design. The shimmering silver fabric catches the light as she moves. The camera holds a steady high-angle view, slightly tilting down to follow her movement. As she approaches underneath, she looks up directly toward the camera, her eyes meeting the lens. A soft, charming and slightly seductive smile spreads across her youthful face. Soft light highlights the curves of her body through the cutouts and the exposed skin of her back and chest. The camera remains elevated, capturing her from above as she continues walking past with graceful steps.\n\noverall_soundscape: Clear, rhythmic sound of high heels striking the hard floor with each step, echoing slightly in the quiet hallway. Soft rustle of the shimmering gown fabric.\n\nnon_diegetic_music: Slow, elegant and slightly sensual instrumental melody with soft piano and low strings, at a moderate tempo."
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 166,
      "type": "MarkdownNote",
      "pos": [
        -3520,
        4019
      ],
      "size": [
        450,
        889.6875
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: MiniMax H3",
      "properties": {},
      "widgets_values": [
        "## MiniMax H3\n\n[MiniMax H3](https://www.minimax.io/blog/minimax-h3) is MiniMax's general-purpose, omni-modal generation model. It jointly understands text, image, video, and audio, and generates video with **native stereo audio**: voice, sound effects, and music are modeled jointly in a single forward pass, not layered on afterward. Output is up to 2K resolution, 24fps, and up to about 15 seconds.\n\n## ComfyUI links\n- [ComfyUI#15224](https://github.com/Comfy-Org/ComfyUI/pull/15224)\n- [🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n## About this workflow\n\nThis template runs the **reference-to-video (ref2va)** task using the `MiniMaxH3ReferenceToVideo` node. It takes any mix of reference images, videos, and standalone audio, and weaves them into the generation to lock in a character's identity, a style, a motion, a camera move, or a voice.\n\n**Key inputs**\n\n- **ref_images / ref_videos / ref_video_audios / ref_audios**: up to 9 reference images, 3 reference videos (each may carry its own paired soundtrack), and 3 standalone reference audio clips\n- **prompt**: reference the inputs by tag, in the exact order they were connected, for example `<Picture 1>`, `<Video 1>`, `<Audio 1>`, then describe the target scene, motion, and audio\n- **ref_image_size**: `match` scales references down to the generation's resolution (faster); `max` keeps up to a 2048px short edge for stronger identity fidelity, at the cost of speed since reference tokens ride along every sampling step\n- **width / height**: set via Resolution Selector.\n- **duration (seconds)**: converted to a valid frame `length` by the Math Expression node\n\n**Sampling and decode**\n\n- Sampler: `res_multistep`. `beta` or `normal` scheduler tends to outperform `simple` for reference-heavy prompts like this one\n- The sampler's joint audio+video `LATENT` output feeds directly into both `VAEDecode` (video, `minimax_h3_video_vae_fp16`) and `VAEDecodeAudio` (audio, `minimax_h3_audio_vae_fp32`); each decode node automatically pulls its own half out of the packed latent. `CreateVideo` then muxes the two into a single MP4 with synced sound\n- The diffusion model here is `minimax_h3_ref2va_pruned_int8_convrot.safetensors`, a different set of weights from the `fl2va` model used by the t2v/i2v templates\n\nRef2va's output is very sensitive to prompt wording; matching the reference tags precisely and being explicit about which reference drives which part of the shot tends to work best.\n\n**加速链已应用**：SageAttention(int8/fp8, 已针对 torch 2.11 重建) + Sol-Attn + MiniMaxLowVRAMAttention(head_chunks=4) + ChunkFeedForward + ModelPreviewOverride + **beta/8 步**。turbo LoRA 为 fl2va 训练、与 ref2va 100% 键兼容，效果未官方验证。\n\n**保守版**：时长 3 秒；已绕开 Sol-Attn 与 Spectrum 补丁（排查 CUDA launch failure 用）。验证稳定后再逐步打开。"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 167,
      "type": "MarkdownNote",
      "pos": [
        -3535,
        4834
      ],
      "size": [
        440,
        740
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Model Links",
      "properties": {},
      "widgets_values": [
        "## Model Links\n[🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n**vae**\n\n- [minimax_h3_video_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors)\n\n**diffusion_models**\n\n- [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 vae/\n│   │   ├── minimax_h3_video_vae_fp16.safetensors\n│   │   └── minimax_h3_audio_vae_fp32.safetensors\n│   ├── 📂 diffusion_models/\n│   │   └── minimax_h3_ref2va_pruned_int8_convrot.safetensors\n│   └── 📂 text_encoders/\n│       └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    }
  ],
  "links": [
    [
      228,
      120,
      0,
      121,
      1,
      "VAE"
    ],
    [
      229,
      119,
      0,
      122,
      1,
      "VAE"
    ],
    [
      231,
      129,
      0,
      125,
      0,
      "NOISE"
    ],
    [
      232,
      126,
      0,
      125,
      1,
      "GUIDER"
    ],
    [
      234,
      124,
      0,
      125,
      3,
      "SIGMAS"
    ],
    [
      235,
      131,
      1,
      125,
      4,
      "LATENT"
    ],
    [
      237,
      131,
      0,
      126,
      1,
      "CONDITIONING"
    ],
    [
      240,
      128,
      0,
      131,
      0,
      "CLIP"
    ],
    [
      241,
      119,
      0,
      131,
      1,
      "VAE"
    ],
    [
      243,
      132,
      1,
      131,
      12,
      "INT"
    ],
    [
      244,
      115,
      0,
      131,
      10,
      "INT"
    ],
    [
      245,
      115,
      1,
      131,
      11,
      "INT"
    ],
    [
      246,
      133,
      0,
      132,
      0,
      "FLOAT"
    ],
    [
      247,
      125,
      0,
      122,
      0,
      "LATENT"
    ],
    [
      248,
      125,
      0,
      121,
      0,
      "LATENT"
    ],
    [
      253,
      136,
      0,
      137,
      0,
      "MODEL"
    ],
    [
      267,
      142,
      0,
      125,
      2,
      "SAMPLER"
    ],
    [
      269,
      145,
      0,
      136,
      0,
      "MODEL"
    ],
    [
      270,
      127,
      0,
      145,
      0,
      "MODEL"
    ],
    [
      280,
      137,
      0,
      153,
      0,
      "MODEL"
    ],
    [
      283,
      153,
      0,
      154,
      0,
      "MODEL"
    ],
    [
      285,
      132,
      1,
      140,
      2,
      "INT"
    ],
    [
      289,
      121,
      0,
      155,
      1,
      "AUDIO"
    ],
    [
      292,
      156,
      0,
      157,
      0,
      "MODEL"
    ],
    [
      295,
      154,
      0,
      156,
      0,
      "MODEL"
    ],
    [
      296,
      157,
      0,
      140,
      0,
      "MODEL"
    ],
    [
      297,
      140,
      0,
      126,
      0,
      "MODEL"
    ],
    [
      298,
      140,
      0,
      124,
      0,
      "MODEL"
    ],
    [
      301,
      122,
      0,
      161,
      1,
      "IMAGE"
    ],
    [
      302,
      161,
      1,
      155,
      0,
      "IMAGE"
    ],
    [
      303,
      120,
      0,
      131,
      2,
      "VAE"
    ],
    [
      304,
      162,
      0,
      131,
      3,
      "IMAGE"
    ],
    [
      305,
      163,
      0,
      131,
      4,
      "IMAGE"
    ],
    [
      306,
      164,
      0,
      131,
      6,
      "IMAGE"
    ],
    [
      307,
      164,
      2,
      131,
      7,
      "AUDIO"
    ],
    [
      308,
      165,
      0,
      131,
      9,
      "STRING"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Models",
      "bounding": [
        -2423.7830229552733,
        4912.158989520116,
        700,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Sampling",
      "bounding": [
        -1062.481634474737,
        4680.092864990236,
        690,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 3,
      "title": "Conditioning",
      "bounding": [
        -1607.7274498319146,
        4676.4224750477,
        480,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Decoding and create video",
      "bounding": [
        -262.7763427759304,
        5034.20550636647,
        261.9946801155852,
        289.1299374235641
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Optimisations (Optional)",
      "bounding": [
        -1840.6207131249503,
        3716.424921779159,
        1904.3473583265702,
        438.62487089377646
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 6,
      "title": "Turbo LoRA",
      "bounding": [
        -2221.0910682513027,
        4678.353303752392,
        493.40232745109915,
        172.33136287727484
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 7,
      "title": "VRAM Unload (Optional)",
      "bounding": [
        -268.16173605660106,
        4699.4642552080895,
        290,
        266
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "frontendVersion": "1.48.7",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ds": {
      "scale": 0.8769226950000214,
      "offset": [
        2313.743465486914,
        -3262.744254935044
      ]
    },
    "ue_links": [],
    "links_added_by_ue": []
  },
  "version": 0.4
}
