{
  "id": "b7c1f0a2-5d3e-4a19-9c84-1f6e2a70d5bb",
  "revision": 0,
  "last_node_id": 194,
  "last_link_id": 386,
  "nodes": [
    {
      "id": 131,
      "type": "ComfyMathExpression",
      "pos": [
        -1062.26,
        5250.1
      ],
      "size": [
        225,
        0
      ],
      "flags": {
        "collapsed": true
      },
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 329
        },
        {
          "label": "b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            323,
            363
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "ComfyMathExpression",
        "ue_properties": {
          "widget_ue_connectable": {
            "expression": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
      ],
      "widgets_values_named": {
        "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
      }
    },
    {
      "id": 150,
      "type": "Note",
      "pos": [
        -908.45,
        5507.2
      ],
      "size": [
        626.875,
        226.5625
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "MiniMax-H3 reference-to-video - starter graph.\n\n1. Load a reference image (LoadImage). It decides the look: subject, colors, framing, art style.\n2. Describe the shot in the text box wired into `prompt`.\n3. Set the length in seconds (PrimitiveInt, default 10). The collapsed math node turns seconds into a frame count the model accepts: 24 fps, then rounded up so that (frames - 5) is a multiple of 17. Type a raw number into `length` and it will usually be rejected.\n4. Set the frame size with ResolutionSelector. 1.3 MP at 16:9 gives 1344x768, which is what the 768p turbo LoRA was trained for.\n5. Queue. Stage 1 writes through the SaveVideo named ..._stage1.\n\nStage 2 (continuation) ships muted. Unmute Video Slice, GetVideoComponents, the second sampler group and its SaveVideo to use it: it takes the tail of stage 1 as a reference video and carries the shot on from there, so the second text box should say what happens NEXT - repeating the first prompt makes the model restart the same motion.\n\nKeep the seed fixed while you iterate on wording. Change it only when you want a different take."
      ],
      "widgets_values_named": {
        "text": "MiniMax-H3 reference-to-video - starter graph.\n\n1. Load a reference image (LoadImage). It decides the look: subject, colors, framing, art style.\n2. Describe the shot in the text box wired into `prompt`.\n3. Set the length in seconds (PrimitiveInt, default 10). The collapsed math node turns seconds into a frame count the model accepts: 24 fps, then rounded up so that (frames - 5) is a multiple of 17. Type a raw number into `length` and it will usually be rejected.\n4. Set the frame size with ResolutionSelector. 1.3 MP at 16:9 gives 1344x768, which is what the 768p turbo LoRA was trained for.\n5. Queue. Stage 1 writes through the SaveVideo named ..._stage1.\n\nStage 2 (continuation) ships muted. Unmute Video Slice, GetVideoComponents, the second sampler group and its SaveVideo to use it: it takes the tail of stage 1 as a reference video and carries the shot on from there, so the second text box should say what happens NEXT - repeating the first prompt makes the model restart the same motion.\n\nKeep the seed fixed while you iterate on wording. Change it only when you want a different take."
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 92,
      "type": "SaveVideo",
      "pos": [
        1181.96,
        4750.29
      ],
      "size": [
        1337.8125,
        126
      ],
      "flags": {},
      "order": 19,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 361
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "ue_properties": {
          "widget_ue_connectable": {
            "filename_prefix": true,
            "format": true,
            "codec": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "video/minimax_h3_stage2",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/minimax_h3_stage2",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 156,
      "type": "2f1420a5-1ef9-4689-b9b6-17a87258900d",
      "pos": [
        -1660.14,
        4722.38
      ],
      "size": [
        511.65625,
        230
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            339
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            317,
            357
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            318,
            358
          ]
        },
        {
          "name": "VAE_1",
          "type": "VAE",
          "links": [
            319,
            359
          ]
        }
      ],
      "properties": {
        "previewExposures": [],
        "ue_properties": {
          "widget_ue_connectable": {
            "unet_name": true,
            "clip_name": true,
            "vae_name": true,
            "vae_name_1": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax_h3_video_vae_fp16.safetensors",
        "minimax_h3_audio_vae_fp32.safetensors"
      ],
      "widgets_values_named": {
        "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "vae_name": "minimax_h3_video_vae_fp16.safetensors",
        "vae_name_1": "minimax_h3_audio_vae_fp32.safetensors"
      }
    },
    {
      "id": 157,
      "type": "a9c7f49f-9476-44b4-8be4-345a032d68dd",
      "pos": [
        -719.31,
        4870.55
      ],
      "size": [
        225,
        338
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 317
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 318
        },
        {
          "name": "audio_vae",
          "type": "VAE",
          "link": 319
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 330
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 327
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 328
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 323
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 340
        },
        {
          "name": "ref_images.ref_image_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 333
        },
        {
          "name": "ref_audios.ref_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            351,
            362,
            381
          ]
        }
      ],
      "properties": {
        "previewExposures": [],
        "ue_properties": {
          "widget_ue_connectable": {
            "prompt": true,
            "width": true,
            "height": true,
            "length": true,
            "noise_seed": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "",
        1344,
        768,
        124,
        0
      ],
      "widgets_values_named": {
        "prompt": "",
        "width": 1344,
        "height": 768,
        "length": 124,
        "noise_seed": 0
      }
    },
    {
      "id": 158,
      "type": "ResolutionSelector",
      "pos": [
        -1085.53,
        5071.2
      ],
      "size": [
        270,
        134
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            327,
            368
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            328,
            369
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResolutionSelector",
        "ue_properties": {
          "widget_ue_connectable": {
            "aspect_ratio": true,
            "megapixels": true,
            "multiple": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "16:9 (Widescreen)",
        1.3,
        8
      ],
      "widgets_values_named": {
        "aspect_ratio": "16:9 (Widescreen)",
        "megapixels": 1.3,
        "multiple": 8
      }
    },
    {
      "id": 159,
      "type": "PrimitiveInt",
      "pos": [
        -1084.97,
        5290.53
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            329
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "ue_properties": {
          "widget_ue_connectable": {
            "value": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        10,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 10,
        "fixed": "fixed"
      }
    },
    {
      "id": 160,
      "type": "StringConstantMultiline",
      "pos": [
        -1339.39,
        5460.82
      ],
      "size": [
        427.1875,
        282.59375
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            330
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "StringConstantMultiline",
        "ue_properties": {
          "widget_ue_connectable": {
            "string": true,
            "strip_newlines": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Use the reference image as the single source of truth for the subject, colors, framing and art style. Do not redesign it.\n\nA slow cinematic push-in. Natural light, soft shadows, shallow depth of field.\n\nSmall believable motion only: blinking, breathing, small head movement, hair and fabric moving in a light breeze, leaves shifting in the background.\n\nOne continuous take, no cuts. No new characters, no new objects, no text, no subtitles, no watermarks.",
        true
      ],
      "widgets_values_named": {
        "string": "Use the reference image as the single source of truth for the subject, colors, framing and art style. Do not redesign it.\n\nA slow cinematic push-in. Natural light, soft shadows, shallow depth of field.\n\nSmall believable motion only: blinking, breathing, small head movement, hair and fabric moving in a light breeze, leaves shifting in the background.\n\nOne continuous take, no cuts. No new characters, no new objects, no text, no subtitles, no watermarks.",
        "strip_newlines": true
      }
    },
    {
      "id": 161,
      "type": "LoadImage",
      "pos": [
        -1378.66,
        5048.33
      ],
      "size": [
        282.59375,
        322
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            333,
            380
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {
            "image": true,
            "upload": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "example.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "example.png",
        "upload": "image"
      }
    },
    {
      "id": 164,
      "type": "MiniMaxH3TurboLoRA",
      "pos": [
        -1100.67,
        4622.84
      ],
      "size": [
        519.21875,
        174
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 339
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            340,
            376
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3TurboLoRA",
        "ue_properties": {
          "widget_ue_connectable": {
            "lora_name": true,
            "strength": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_bf16.safetensors",
        1,
        false
      ],
      "widgets_values_named": {
        "lora_name": "minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_bf16.safetensors",
        "strength": 1,
        "low_vram": false
      }
    },
    {
      "id": 183,
      "type": "4ac2f117-1631-4db7-b34f-6bccb33ba68f",
      "pos": [
        347.31,
        4742.9
      ],
      "size": [
        279.9375,
        358
      ],
      "flags": {},
      "order": 17,
      "mode": 4,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 357
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 358
        },
        {
          "name": "audio_vae",
          "type": "VAE",
          "link": 359
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 367
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 368
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 369
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 363
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 376
        },
        {
          "name": "ref_videos.ref_video_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 377
        },
        {
          "name": "ref_video_audios.ref_video_audio_0",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "ref_images.ref_image_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 380
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            361
          ]
        }
      ],
      "properties": {
        "previewExposures": [],
        "ue_properties": {
          "widget_ue_connectable": {
            "prompt": true,
            "width": true,
            "height": true,
            "length": true,
            "noise_seed": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "",
        1344,
        768,
        124,
        0
      ],
      "widgets_values_named": {
        "prompt": "",
        "width": 1344,
        "height": 768,
        "length": 124,
        "noise_seed": 0
      }
    },
    {
      "id": 184,
      "type": "Video Slice",
      "pos": [
        -423.57,
        4952.28
      ],
      "size": [
        270,
        118
      ],
      "flags": {},
      "order": 12,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 351
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            352
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "Video Slice",
        "ue_properties": {
          "widget_ue_connectable": {
            "start_time": true,
            "duration": true,
            "strict_duration": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        8,
        2,
        false
      ],
      "widgets_values_named": {
        "start_time": 8,
        "duration": 2,
        "strict_duration": false
      }
    },
    {
      "id": 185,
      "type": "GetVideoComponents",
      "pos": [
        -147.55,
        4816.91
      ],
      "size": [
        225,
        114
      ],
      "flags": {},
      "order": 15,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 352
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            377
          ]
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": []
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "bit_depth",
          "type": "COMBO",
          "links": null
        },
        {
          "name": "color_space",
          "type": "COMBO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 186,
      "type": "SaveVideo",
      "pos": [
        -351.8,
        3850.31
      ],
      "size": [
        1383.296875,
        126
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 362
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "ue_properties": {
          "widget_ue_connectable": {
            "filename_prefix": true,
            "format": true,
            "codec": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "video/minimax_h3_stage1",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/minimax_h3_stage1",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 188,
      "type": "StringConstantMultiline",
      "pos": [
        91.75,
        5305.13
      ],
      "size": [
        427.1875,
        282.59375
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            367
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "StringConstantMultiline",
        "ue_properties": {
          "widget_ue_connectable": {
            "string": true,
            "strip_newlines": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Continue directly from the reference video. Same subject, same place, same light, same art style.\n\nDescribe only what happens NEXT here - do not repeat the first prompt, or the shot restarts instead of continuing.\n\nOne continuous take, no cuts, no new characters, no text or watermarks.",
        true
      ],
      "widgets_values_named": {
        "string": "Continue directly from the reference video. Same subject, same place, same light, same art style.\n\nDescribe only what happens NEXT here - do not repeat the first prompt, or the shot restarts instead of continuing.\n\nOne continuous take, no cuts, no new characters, no text or watermarks.",
        "strip_newlines": true
      }
    },
    {
      "id": 189,
      "type": "GetVideoComponents",
      "pos": [
        1500,
        5200
      ],
      "size": [
        270,
        114
      ],
      "flags": {},
      "order": 14,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 381
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            382
          ]
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            385
          ]
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "bit_depth",
          "type": "COMBO",
          "links": null
        },
        {
          "name": "color_space",
          "type": "COMBO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 190,
      "type": "UpscaleModelLoader",
      "pos": [
        1500,
        5350
      ],
      "size": [
        407.625,
        62
      ],
      "flags": {},
      "order": 7,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            383
          ]
        }
      ],
      "title": "Upscale Model - 2x (small, so it stays cheap)",
      "properties": {
        "Node name for S&R": "UpscaleModelLoader",
        "models": [
          {
            "name": "RealESRGAN_x2plus.pth",
            "url": "https://huggingface.co/xingren23/comfyflow-models/resolve/main/upscale_models/RealESRGAN_x2plus.pth",
            "directory": "upscale_models"
          }
        ],
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "RealESRGAN_x2plus.pth"
      ],
      "widgets_values_named": {
        "model_name": "RealESRGAN_x2plus.pth"
      }
    },
    {
      "id": 191,
      "type": "ImageUpscaleWithModel",
      "pos": [
        1880,
        5300
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 16,
      "mode": 4,
      "inputs": [
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 383
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 382
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            384
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 192,
      "type": "CreateVideo",
      "pos": [
        2220,
        5200
      ],
      "size": [
        270,
        138
      ],
      "flags": {},
      "order": 18,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 384
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 385
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            386
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        24,
        8,
        "sRGB"
      ],
      "widgets_values_named": {
        "fps": 24,
        "bit_depth": 8,
        "color_space": "sRGB"
      }
    },
    {
      "id": 193,
      "type": "SaveVideo",
      "pos": [
        2560,
        5200
      ],
      "size": [
        270,
        126
      ],
      "flags": {},
      "order": 20,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 386
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": []
        }
      ],
      "title": "SaveVideo - upscaled 2x",
      "properties": {
        "Node name for S&R": "SaveVideo",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "video/minimax_h3_upscaled",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/minimax_h3_upscaled",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 194,
      "type": "MarkdownNote",
      "pos": [
        1500,
        5470
      ],
      "size": [
        900,
        200
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: optional 2x upscale",
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "This branch hangs off the stage-1 video and is muted by default, so generation is untouched: the stage-1 SaveVideo keeps writing the original file whether you enable this or not.\n\nRealESRGAN x2 rather than x4 - one fast pass over the frames, not diffusion, so next to the sampling time it costs almost nothing.\n\nNeeds `RealESRGAN_x2plus.pth` (67 MB) in `ComfyUI/models/upscale_models/`. The URL is attached to the loader node, so ComfyUI offers to fetch it when the workflow opens."
      ],
      "widgets_values_named": {
        "text": "This branch hangs off the stage-1 video and is muted by default, so generation is untouched: the stage-1 SaveVideo keeps writing the original file whether you enable this or not.\n\nRealESRGAN x2 rather than x4 - one fast pass over the frames, not diffusion, so next to the sampling time it costs almost nothing.\n\nNeeds `RealESRGAN_x2plus.pth` (67 MB) in `ComfyUI/models/upscale_models/`. The URL is attached to the loader node, so ComfyUI offers to fetch it when the workflow opens."
      },
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      317,
      156,
      1,
      157,
      0,
      "CLIP"
    ],
    [
      318,
      156,
      2,
      157,
      1,
      "VAE"
    ],
    [
      319,
      156,
      3,
      157,
      2,
      "VAE"
    ],
    [
      323,
      131,
      1,
      157,
      6,
      "INT"
    ],
    [
      327,
      158,
      0,
      157,
      4,
      "INT"
    ],
    [
      328,
      158,
      1,
      157,
      5,
      "INT"
    ],
    [
      329,
      159,
      0,
      131,
      0,
      "INT"
    ],
    [
      330,
      160,
      0,
      157,
      3,
      "STRING"
    ],
    [
      333,
      161,
      0,
      157,
      8,
      "IMAGE"
    ],
    [
      339,
      156,
      0,
      164,
      0,
      "MODEL"
    ],
    [
      340,
      164,
      0,
      157,
      7,
      "MODEL"
    ],
    [
      351,
      157,
      0,
      184,
      0,
      "VIDEO"
    ],
    [
      352,
      184,
      0,
      185,
      0,
      "VIDEO"
    ],
    [
      357,
      156,
      1,
      183,
      0,
      "CLIP"
    ],
    [
      358,
      156,
      2,
      183,
      1,
      "VAE"
    ],
    [
      359,
      156,
      3,
      183,
      2,
      "VAE"
    ],
    [
      361,
      183,
      0,
      92,
      0,
      "VIDEO"
    ],
    [
      362,
      157,
      0,
      186,
      0,
      "VIDEO"
    ],
    [
      363,
      131,
      1,
      183,
      6,
      "INT"
    ],
    [
      367,
      188,
      0,
      183,
      3,
      "STRING"
    ],
    [
      368,
      158,
      0,
      183,
      4,
      "INT"
    ],
    [
      369,
      158,
      1,
      183,
      5,
      "INT"
    ],
    [
      376,
      164,
      0,
      183,
      7,
      "MODEL"
    ],
    [
      377,
      185,
      0,
      183,
      8,
      "IMAGE"
    ],
    [
      380,
      161,
      0,
      183,
      10,
      "IMAGE"
    ],
    [
      381,
      157,
      0,
      189,
      0,
      "VIDEO"
    ],
    [
      382,
      189,
      0,
      191,
      1,
      "IMAGE"
    ],
    [
      383,
      190,
      0,
      191,
      0,
      "UPSCALE_MODEL"
    ],
    [
      384,
      191,
      0,
      192,
      0,
      "IMAGE"
    ],
    [
      385,
      189,
      1,
      192,
      1,
      "AUDIO"
    ],
    [
      386,
      192,
      0,
      193,
      0,
      "VIDEO"
    ]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "2f1420a5-1ef9-4689-b9b6-17a87258900d",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 194,
          "lastLinkId": 386,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Loaders",
        "inputNode": {
          "id": -10,
          "bounding": [
            -1678,
            5166,
            128,
            128
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            -780,
            5126,
            128,
            128
          ]
        },
        "inputs": [
          {
            "id": "c11b44c8-5c5c-41ac-a525-45821770d24c",
            "name": "unet_name",
            "type": "COMBO",
            "linkIds": [
              313
            ],
            "pos": [
              -1574,
              5190
            ]
          },
          {
            "id": "2f7881f5-9caa-492b-a51a-cfb10730dbbf",
            "name": "clip_name",
            "type": "COMBO",
            "linkIds": [
              314
            ],
            "pos": [
              -1574,
              5210
            ]
          },
          {
            "id": "f8bd288c-d50d-4d3f-9e73-6e326e00609a",
            "name": "vae_name",
            "type": "COMBO",
            "linkIds": [
              315
            ],
            "pos": [
              -1574,
              5230
            ]
          },
          {
            "id": "d44a2e59-3ca7-4437-95c4-6118878eb3fa",
            "name": "vae_name_1",
            "type": "COMBO",
            "linkIds": [
              316
            ],
            "pos": [
              -1574,
              5250
            ]
          }
        ],
        "outputs": [
          {
            "id": "b09aedcc-077f-4554-8a06-f44c95d9dfae",
            "name": "MODEL",
            "type": "MODEL",
            "linkIds": [
              286
            ],
            "localized_name": "MODEL",
            "pos": [
              -756,
              5150
            ]
          },
          {
            "id": "05c37eab-1371-42c5-8da7-0829e9185f52",
            "name": "CLIP",
            "type": "CLIP",
            "linkIds": [
              272
            ],
            "localized_name": "CLIP",
            "pos": [
              -756,
              5170
            ]
          },
          {
            "id": "52a5615b-6839-4527-9ad2-a9e06d707e42",
            "name": "VAE",
            "type": "VAE",
            "linkIds": [
              251,
              251
            ],
            "localized_name": "VAE",
            "pos": [
              -756,
              5190
            ]
          },
          {
            "id": "40c21835-d51b-4b82-9efb-cc10105d3e1a",
            "name": "VAE_1",
            "type": "VAE",
            "linkIds": [
              250,
              250
            ],
            "localized_name": "VAE_1",
            "pos": [
              -756,
              5210
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 127,
            "type": "UNETLoader",
            "pos": [
              -1490,
              4940
            ],
            "size": [
              640,
              90
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                },
                "link": 313
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  286
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "models": [
                {
                  "name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
                  "directory": "diffusion_models"
                }
              ],
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "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"
            }
          },
          {
            "id": 128,
            "type": "CLIPLoader",
            "pos": [
              -1490,
              5090
            ],
            "size": [
              640,
              120
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                },
                "link": 314
              }
            ],
            "outputs": [
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  272
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "models": [
                {
                  "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
                  "directory": "text_encoders"
                }
              ],
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
              "minimax",
              "default"
            ],
            "widgets_values_named": {
              "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
              "type": "minimax",
              "device": "default"
            }
          },
          {
            "id": 119,
            "type": "VAELoader",
            "pos": [
              -1490,
              5270
            ],
            "size": [
              640,
              70
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                },
                "link": 315
              }
            ],
            "outputs": [
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": [
                  251
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "models": [
                {
                  "name": "minimax_h3_video_vae_fp16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors",
                  "directory": "vae"
                }
              ],
              "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": 120,
            "type": "VAELoader",
            "pos": [
              -1490,
              5400
            ],
            "size": [
              650,
              70
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                },
                "link": 316
              }
            ],
            "outputs": [
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": [
                  250
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "models": [
                {
                  "name": "minimax_h3_audio_vae_fp32.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors",
                  "directory": "vae"
                }
              ],
              "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"
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 286,
            "origin_id": 127,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 272,
            "origin_id": 128,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "CLIP"
          },
          {
            "id": 251,
            "origin_id": 119,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 250,
            "origin_id": 120,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "VAE"
          },
          {
            "id": 313,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 127,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 314,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 128,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 315,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 119,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 316,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 120,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "extra": {
          "ue_links": [],
          "links_added_by_ue": []
        }
      },
      {
        "id": "a9c7f49f-9476-44b4-8be4-345a032d68dd",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 194,
          "lastLinkId": 386,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Stage 1 - reference image to video",
        "inputNode": {
          "id": -10,
          "bounding": [
            -2082.67,
            4986.38,
            182.24,
            268
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1120,
            5075.57,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "bf61142c-c80a-4a33-9203-1c7d8481849b",
            "name": "clip",
            "type": "CLIP",
            "linkIds": [
              308
            ],
            "localized_name": "clip",
            "pos": [
              -1924.44,
              5010.38
            ]
          },
          {
            "id": "e7b0505f-e85e-463e-8938-312c1650c4e1",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              310,
              309
            ],
            "localized_name": "vae",
            "pos": [
              -1924.44,
              5030.38
            ]
          },
          {
            "id": "46ab657a-fabf-4998-8810-2b506916aee1",
            "name": "audio_vae",
            "type": "VAE",
            "linkIds": [
              312,
              311
            ],
            "localized_name": "audio_vae",
            "pos": [
              -1924.44,
              5050.38
            ]
          },
          {
            "id": "31202f94-91a7-4787-8fad-c1c11c3f5815",
            "name": "prompt",
            "type": "STRING",
            "linkIds": [
              279
            ],
            "localized_name": "prompt",
            "pos": [
              -1924.44,
              5070.38
            ]
          },
          {
            "id": "cf4fbe39-52ea-4d93-be07-07dd54d93506",
            "name": "width",
            "type": "INT",
            "linkIds": [
              276
            ],
            "localized_name": "width",
            "pos": [
              -1924.44,
              5090.38
            ]
          },
          {
            "id": "9fe72685-2f6d-4420-813f-c6b02b9a647d",
            "name": "height",
            "type": "INT",
            "linkIds": [
              277
            ],
            "localized_name": "height",
            "pos": [
              -1924.44,
              5110.38
            ]
          },
          {
            "id": "15cad61f-4f9c-4cb1-97ee-26e87bba7b51",
            "name": "length",
            "type": "INT",
            "linkIds": [
              275
            ],
            "localized_name": "length",
            "pos": [
              -1924.44,
              5130.38
            ]
          },
          {
            "id": "58216972-ab99-41bc-bc52-35753867f4fb",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              307
            ],
            "localized_name": "model",
            "pos": [
              -1924.44,
              5150.38
            ]
          },
          {
            "id": "3279b969-87d6-4003-b32d-769dea61625b",
            "name": "noise_seed",
            "type": "INT",
            "linkIds": [
              326
            ],
            "pos": [
              -1924.44,
              5170.38
            ]
          },
          {
            "id": "49a3e0b4-baff-4503-8fc0-d5f6cc8c93f0",
            "name": "ref_images.ref_image_0",
            "type": "IMAGE",
            "linkIds": [
              331
            ],
            "pos": [
              -1924.44,
              5190.38
            ]
          },
          {
            "id": "9cd49764-e735-4dec-8a23-665a28244a20",
            "name": "ref_audios.ref_audio_0",
            "type": "AUDIO",
            "linkIds": [
              332
            ],
            "pos": [
              -1924.44,
              5210.38
            ]
          }
        ],
        "outputs": [
          {
            "id": "11625b3d-82cd-422a-a295-815358f5673a",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              260
            ],
            "localized_name": "VIDEO",
            "pos": [
              1144,
              5099.57
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 136,
            "type": "MiniMaxH3ReferenceToVideo",
            "pos": [
              -714.79,
              5163.98
            ],
            "size": [
              410,
              374
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 308
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 310
              },
              {
                "localized_name": "audio_vae",
                "name": "audio_vae",
                "type": "VAE",
                "link": 312
              },
              {
                "label": "ref_image_0",
                "localized_name": "ref_images.ref_image_0",
                "name": "ref_images.ref_image_0",
                "shape": 7,
                "type": "IMAGE",
                "link": 331
              },
              {
                "label": "ref_image_1",
                "localized_name": "ref_images.ref_image_1",
                "name": "ref_images.ref_image_1",
                "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": null
              },
              {
                "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": null
              },
              {
                "label": "ref_audio_0",
                "localized_name": "ref_audios.ref_audio_0",
                "name": "ref_audios.ref_audio_0",
                "shape": 7,
                "type": "AUDIO",
                "link": 332
              },
              {
                "label": "ref_audio_1",
                "localized_name": "ref_audios.ref_audio_1",
                "name": "ref_audios.ref_audio_1",
                "shape": 7,
                "type": "AUDIO",
                "link": null
              },
              {
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                },
                "link": 279
              },
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 276
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 277
              },
              {
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                },
                "link": 275
              }
            ],
            "outputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "links": [
                  270
                ]
              },
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  271
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MiniMaxH3ReferenceToVideo",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "",
              1344,
              768,
              124,
              "match"
            ],
            "widgets_values_named": {
              "prompt": "",
              "width": 1344,
              "height": 768,
              "length": 124,
              "ref_image_size": "match"
            }
          },
          {
            "id": 121,
            "type": "VAEDecodeAudio",
            "pos": [
              480,
              5180
            ],
            "size": [
              230,
              60
            ],
            "flags": {
              "collapsed": false
            },
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 281
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 311
              }
            ],
            "outputs": [
              {
                "localized_name": "AUDIO",
                "name": "AUDIO",
                "type": "AUDIO",
                "links": [
                  259
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecodeAudio",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 122,
            "type": "VAEDecode",
            "pos": [
              479.17,
              5060
            ],
            "size": [
              230,
              60
            ],
            "flags": {
              "collapsed": false
            },
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 280
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 309
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  258
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 126,
            "type": "BasicGuider",
            "pos": [
              -260,
              5080
            ],
            "size": [
              360,
              60
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 343
              },
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 270
              }
            ],
            "outputs": [
              {
                "localized_name": "GUIDER",
                "name": "GUIDER",
                "type": "GUIDER",
                "links": [
                  254
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "BasicGuider",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 130,
            "type": "CreateVideo",
            "pos": [
              790,
              5090
            ],
            "size": [
              270,
              126
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 258
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 259
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  260
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CreateVideo",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              24,
              8,
              "sRGB"
            ],
            "widgets_values_named": {
              "fps": 24,
              "bit_depth": 8,
              "color_space": "sRGB"
            }
          },
          {
            "id": 125,
            "type": "SamplerCustomAdvanced",
            "pos": [
              150,
              5110
            ],
            "size": [
              230,
              361.97
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "noise",
                "name": "noise",
                "type": "NOISE",
                "link": 253
              },
              {
                "localized_name": "guider",
                "name": "guider",
                "type": "GUIDER",
                "link": 254
              },
              {
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER",
                "link": 350
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS",
                "link": 301
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 271
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": [
                  280,
                  281
                ]
              },
              {
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "Node name for S&R": "SamplerCustomAdvanced",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 129,
            "type": "RandomNoise",
            "pos": [
              -260,
              4940
            ],
            "size": [
              360,
              90
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "noise_seed",
                "name": "noise_seed",
                "type": "INT",
                "widget": {
                  "name": "noise_seed"
                },
                "link": 326
              }
            ],
            "outputs": [
              {
                "localized_name": "NOISE",
                "name": "NOISE",
                "type": "NOISE",
                "links": [
                  253
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RandomNoise",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              0,
              "fixed"
            ],
            "widgets_values_named": {
              "noise_seed": 0,
              "control_after_generate": "fixed"
            }
          },
          {
            "id": 153,
            "type": "BasicScheduler",
            "pos": [
              -186.38,
              5331.17
            ],
            "size": [
              270,
              118
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 344
              }
            ],
            "outputs": [
              {
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS",
                "links": [
                  301
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "BasicScheduler",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "simple",
              10,
              1
            ],
            "widgets_values_named": {
              "scheduler": "simple",
              "steps": 10,
              "denoise": 1
            }
          },
          {
            "id": 145,
            "type": "PathchSageAttentionKJ",
            "pos": [
              -1824.44,
              4528.87
            ],
            "size": [
              428.4375,
              138
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 307
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  347
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "PathchSageAttentionKJ",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "sageattn_qk_int8_pv_fp8_cuda++",
              true
            ],
            "widgets_values_named": {
              "sage_attention": "sageattn_qk_int8_pv_fp8_cuda++",
              "allow_compile": true
            }
          },
          {
            "id": 163,
            "type": "MiniMaxH3SigmaShift",
            "pos": [
              -288.3,
              4652.14
            ],
            "size": [
              270,
              90
            ],
            "flags": {
              "collapsed": false
            },
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 346
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  343,
                  344
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MiniMaxH3SigmaShift",
              "cnr_id": "comfy-core",
              "ver": "0.30.0",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              12,
              6
            ],
            "widgets_values_named": {
              "shift_video": 12,
              "shift_audio": 6
            }
          },
          {
            "id": 166,
            "type": "KSamplerSelect",
            "pos": [
              -209.76,
              5227.76
            ],
            "size": [
              270,
              62
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER",
                "links": [
                  350
                ]
              }
            ],
            "properties": {
              "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": 167,
            "type": "SpectrumApplyMiniMaxH3",
            "pos": [
              -679.41,
              4168.99
            ],
            "size": [
              330.65625,
              757.890625
            ],
            "flags": {},
            "order": 11,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 385
              }
            ],
            "outputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "links": [
                  346
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SpectrumApplyMiniMaxH3"
            },
            "widgets_values": [
              true,
              0.5,
              4,
              0.1,
              2,
              0.75,
              5,
              1,
              8,
              false,
              "system_ram",
              true,
              false,
              false,
              true,
              0,
              "system_ram",
              "off",
              0.65,
              false,
              false,
              "coordinate_rls",
              "hard_clip",
              0.4,
              "no_attenuation"
            ],
            "widgets_values_named": {
              "enabled": true,
              "blend_weight": 0.5,
              "degree": 4,
              "ridge_lambda": 0.1,
              "window_size": 2,
              "flex_window": 0.75,
              "warmup_steps": 5,
              "tail_actual_steps": 1,
              "max_history": 8,
              "debug": false,
              "history_storage": "system_ram",
              "bootstrap_first_forecast": true,
              "anchor_residual_feedback": false,
              "selective_rollback_correction": false,
              "offline_smoothing_replay": true,
              "audio_blend_weight": 0,
              "offline_archive_storage": "system_ram",
              "model_aware_mode": "off",
              "model_aware_risk_threshold": 0.65,
              "model_aware_trust_shrinkage": false,
              "model_aware_replay_generic_correction": false,
              "generic_correction_mode": "coordinate_rls",
              "generic_correction_limiter": "hard_clip",
              "generic_correction_limit": 0.4,
              "generic_correction_attenuation": "no_attenuation"
            }
          },
          {
            "id": 168,
            "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
            "pos": [
              -1362.95,
              4541.15
            ],
            "size": [
              320.32,
              58
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 347
              }
            ],
            "outputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "links": [
                  385
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 281,
            "origin_id": 125,
            "origin_slot": 0,
            "target_id": 121,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 280,
            "origin_id": 125,
            "origin_slot": 0,
            "target_id": 122,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 270,
            "origin_id": 136,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 258,
            "origin_id": 122,
            "origin_slot": 0,
            "target_id": 130,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 259,
            "origin_id": 121,
            "origin_slot": 0,
            "target_id": 130,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 253,
            "origin_id": 129,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 0,
            "type": "NOISE"
          },
          {
            "id": 254,
            "origin_id": 126,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 1,
            "type": "GUIDER"
          },
          {
            "id": 301,
            "origin_id": 153,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 3,
            "type": "SIGMAS"
          },
          {
            "id": 271,
            "origin_id": 136,
            "origin_slot": 1,
            "target_id": 125,
            "target_slot": 4,
            "type": "LATENT"
          },
          {
            "id": 308,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 136,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 310,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 136,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 309,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 122,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 312,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 136,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 311,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 121,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 279,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 136,
            "target_slot": 9,
            "type": "STRING"
          },
          {
            "id": 276,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 136,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 277,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 136,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 275,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 136,
            "target_slot": 12,
            "type": "INT"
          },
          {
            "id": 307,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 145,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 260,
            "origin_id": 130,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 326,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 129,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 331,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 136,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 332,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 136,
            "target_slot": 7,
            "type": "AUDIO"
          },
          {
            "id": 343,
            "origin_id": 163,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 344,
            "origin_id": 163,
            "origin_slot": 0,
            "target_id": 153,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 346,
            "origin_id": 167,
            "origin_slot": 0,
            "target_id": 163,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 347,
            "origin_id": 145,
            "origin_slot": 0,
            "target_id": 168,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 350,
            "origin_id": 166,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 2,
            "type": "SAMPLER"
          },
          {
            "id": 385,
            "origin_id": 168,
            "origin_slot": 0,
            "target_id": 167,
            "target_slot": 0,
            "type": "MODEL"
          }
        ],
        "extra": {
          "ue_links": [],
          "links_added_by_ue": []
        }
      },
      {
        "id": "4ac2f117-1631-4db7-b34f-6bccb33ba68f",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 194,
          "lastLinkId": 386,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Stage 2 - continue from the tail",
        "inputNode": {
          "id": -10,
          "bounding": [
            -938,
            5005.57,
            246.4,
            288
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1120,
            5075.57,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "bf61142c-c80a-4a33-9203-1c7d8481849b",
            "name": "clip",
            "type": "CLIP",
            "linkIds": [
              308
            ],
            "localized_name": "clip",
            "pos": [
              -715.6,
              5029.57
            ]
          },
          {
            "id": "e7b0505f-e85e-463e-8938-312c1650c4e1",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              310,
              309
            ],
            "localized_name": "vae",
            "pos": [
              -715.6,
              5049.57
            ]
          },
          {
            "id": "46ab657a-fabf-4998-8810-2b506916aee1",
            "name": "audio_vae",
            "type": "VAE",
            "linkIds": [
              312,
              311
            ],
            "localized_name": "audio_vae",
            "pos": [
              -715.6,
              5069.57
            ]
          },
          {
            "id": "31202f94-91a7-4787-8fad-c1c11c3f5815",
            "name": "prompt",
            "type": "STRING",
            "linkIds": [
              279
            ],
            "localized_name": "prompt",
            "pos": [
              -715.6,
              5089.57
            ]
          },
          {
            "id": "cf4fbe39-52ea-4d93-be07-07dd54d93506",
            "name": "width",
            "type": "INT",
            "linkIds": [
              276
            ],
            "localized_name": "width",
            "pos": [
              -715.6,
              5109.57
            ]
          },
          {
            "id": "9fe72685-2f6d-4420-813f-c6b02b9a647d",
            "name": "height",
            "type": "INT",
            "linkIds": [
              277
            ],
            "localized_name": "height",
            "pos": [
              -715.6,
              5129.57
            ]
          },
          {
            "id": "15cad61f-4f9c-4cb1-97ee-26e87bba7b51",
            "name": "length",
            "type": "INT",
            "linkIds": [
              275
            ],
            "localized_name": "length",
            "pos": [
              -715.6,
              5149.57
            ]
          },
          {
            "id": "58216972-ab99-41bc-bc52-35753867f4fb",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              307
            ],
            "localized_name": "model",
            "pos": [
              -715.6,
              5169.57
            ]
          },
          {
            "id": "3279b969-87d6-4003-b32d-769dea61625b",
            "name": "noise_seed",
            "type": "INT",
            "linkIds": [
              326
            ],
            "pos": [
              -715.6,
              5189.57
            ]
          },
          {
            "id": "b71e0e9a-e105-409d-8cea-c56a9b4af355",
            "name": "ref_videos.ref_video_0",
            "type": "IMAGE",
            "linkIds": [
              370
            ],
            "pos": [
              -715.6,
              5209.57
            ]
          },
          {
            "id": "f83c5d31-f79c-44d9-86cd-397f9e062f03",
            "name": "ref_video_audios.ref_video_audio_0",
            "type": "AUDIO",
            "linkIds": [
              372
            ],
            "pos": [
              -715.6,
              5229.57
            ]
          },
          {
            "id": "5d0b04e2-5ece-452e-b281-6624f95fc58d",
            "name": "ref_images.ref_image_0",
            "type": "IMAGE",
            "linkIds": [
              379
            ],
            "pos": [
              -715.6,
              5249.57
            ]
          }
        ],
        "outputs": [
          {
            "id": "11625b3d-82cd-422a-a295-815358f5673a",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              260
            ],
            "localized_name": "VIDEO",
            "pos": [
              1144,
              5099.57
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 170,
            "type": "MiniMaxH3ReferenceToVideo",
            "pos": [
              -640.93,
              5210.84
            ],
            "size": [
              410,
              393.97
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 308
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 310
              },
              {
                "localized_name": "audio_vae",
                "name": "audio_vae",
                "type": "VAE",
                "link": 312
              },
              {
                "label": "ref_image_0",
                "localized_name": "ref_images.ref_image_0",
                "name": "ref_images.ref_image_0",
                "shape": 7,
                "type": "IMAGE",
                "link": 379
              },
              {
                "label": "ref_image_1",
                "localized_name": "ref_images.ref_image_1",
                "name": "ref_images.ref_image_1",
                "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": 370
              },
              {
                "label": "ref_video_1",
                "localized_name": "ref_videos.ref_video_1",
                "name": "ref_videos.ref_video_1",
                "shape": 7,
                "type": "IMAGE",
                "link": null
              },
              {
                "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": 372
              },
              {
                "label": "ref_video_audio_1",
                "localized_name": "ref_video_audios.ref_video_audio_1",
                "name": "ref_video_audios.ref_video_audio_1",
                "shape": 7,
                "type": "AUDIO",
                "link": null
              },
              {
                "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": 279
              },
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 276
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 277
              },
              {
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                },
                "link": 275
              }
            ],
            "outputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "links": [
                  270
                ]
              },
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  271
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MiniMaxH3ReferenceToVideo",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "",
              1344,
              768,
              124,
              "match"
            ],
            "widgets_values_named": {
              "prompt": "",
              "width": 1344,
              "height": 768,
              "length": 124,
              "ref_image_size": "match"
            }
          },
          {
            "id": 171,
            "type": "VAEDecodeAudio",
            "pos": [
              480,
              5180
            ],
            "size": [
              230,
              60
            ],
            "flags": {
              "collapsed": false
            },
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 281
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 311
              }
            ],
            "outputs": [
              {
                "localized_name": "AUDIO",
                "name": "AUDIO",
                "type": "AUDIO",
                "links": [
                  259
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecodeAudio",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 172,
            "type": "VAEDecode",
            "pos": [
              479.17,
              5060
            ],
            "size": [
              230,
              60
            ],
            "flags": {
              "collapsed": false
            },
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 280
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 309
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  258
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 173,
            "type": "BasicGuider",
            "pos": [
              -303.75,
              5025.86
            ],
            "size": [
              360,
              60
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 343
              },
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 270
              }
            ],
            "outputs": [
              {
                "localized_name": "GUIDER",
                "name": "GUIDER",
                "type": "GUIDER",
                "links": [
                  254
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "BasicGuider",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 174,
            "type": "CreateVideo",
            "pos": [
              790,
              5090
            ],
            "size": [
              270,
              126
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 258
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 259
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  260
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CreateVideo",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              24,
              8,
              "sRGB"
            ],
            "widgets_values_named": {
              "fps": 24,
              "bit_depth": 8,
              "color_space": "sRGB"
            }
          },
          {
            "id": 175,
            "type": "SamplerCustomAdvanced",
            "pos": [
              150,
              5110
            ],
            "size": [
              230,
              361.95
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "noise",
                "name": "noise",
                "type": "NOISE",
                "link": 253
              },
              {
                "localized_name": "guider",
                "name": "guider",
                "type": "GUIDER",
                "link": 254
              },
              {
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER",
                "link": 350
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS",
                "link": 301
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 271
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": [
                  280,
                  281
                ]
              },
              {
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "Node name for S&R": "SamplerCustomAdvanced",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          },
          {
            "id": 176,
            "type": "RandomNoise",
            "pos": [
              -297.03,
              4836.59
            ],
            "size": [
              360,
              90
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "noise_seed",
                "name": "noise_seed",
                "type": "INT",
                "widget": {
                  "name": "noise_seed"
                },
                "link": 326
              }
            ],
            "outputs": [
              {
                "localized_name": "NOISE",
                "name": "NOISE",
                "type": "NOISE",
                "links": [
                  253
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RandomNoise",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              0,
              "fixed"
            ],
            "widgets_values_named": {
              "noise_seed": 0,
              "control_after_generate": "fixed"
            }
          },
          {
            "id": 177,
            "type": "BasicScheduler",
            "pos": [
              -192.65,
              5260.05
            ],
            "size": [
              270,
              117.97
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 344
              }
            ],
            "outputs": [
              {
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS",
                "links": [
                  301
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "BasicScheduler",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "simple",
              10,
              1
            ],
            "widgets_values_named": {
              "scheduler": "simple",
              "steps": 10,
              "denoise": 1
            }
          },
          {
            "id": 178,
            "type": "PathchSageAttentionKJ",
            "pos": [
              -1710.58,
              4521.06
            ],
            "size": [
              270,
              113.97
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 307
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  347
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "PathchSageAttentionKJ",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "sageattn_qk_int8_pv_fp8_cuda++",
              true
            ],
            "widgets_values_named": {
              "sage_attention": "sageattn_qk_int8_pv_fp8_cuda++",
              "allow_compile": true
            }
          },
          {
            "id": 179,
            "type": "MiniMaxH3SigmaShift",
            "pos": [
              -288.3,
              4652.14
            ],
            "size": [
              270,
              89.97
            ],
            "flags": {
              "collapsed": false
            },
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 346
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  343,
                  344
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MiniMaxH3SigmaShift",
              "cnr_id": "comfy-core",
              "ver": "0.30.0",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              12,
              6
            ],
            "widgets_values_named": {
              "shift_video": 12,
              "shift_audio": 6
            }
          },
          {
            "id": 180,
            "type": "KSamplerSelect",
            "pos": [
              -215.57,
              5143.1
            ],
            "size": [
              270,
              61.98
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER",
                "links": [
                  350
                ]
              }
            ],
            "properties": {
              "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": 181,
            "type": "SpectrumApplyMiniMaxH3",
            "pos": [
              -684.63,
              4535.76
            ],
            "size": [
              330.67,
              634
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 386
              }
            ],
            "outputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "links": [
                  346
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SpectrumApplyMiniMaxH3"
            },
            "widgets_values": [
              true,
              0.5,
              4,
              0.1,
              2,
              0.75,
              5,
              1,
              8,
              false,
              "system_ram",
              true,
              false,
              false,
              true,
              0,
              "system_ram",
              "off",
              0.65,
              false,
              false,
              "coordinate_rls",
              "hard_clip",
              0.4,
              "no_attenuation"
            ],
            "widgets_values_named": {
              "enabled": true,
              "blend_weight": 0.5,
              "degree": 4,
              "ridge_lambda": 0.1,
              "window_size": 2,
              "flex_window": 0.75,
              "warmup_steps": 5,
              "tail_actual_steps": 1,
              "max_history": 8,
              "debug": false,
              "history_storage": "system_ram",
              "bootstrap_first_forecast": true,
              "anchor_residual_feedback": false,
              "selective_rollback_correction": false,
              "offline_smoothing_replay": true,
              "audio_blend_weight": 0,
              "offline_archive_storage": "system_ram",
              "model_aware_mode": "off",
              "model_aware_risk_threshold": 0.65,
              "model_aware_trust_shrinkage": false,
              "model_aware_replay_generic_correction": false,
              "generic_correction_mode": "coordinate_rls",
              "generic_correction_limiter": "hard_clip",
              "generic_correction_limit": 0.4,
              "generic_correction_attenuation": "no_attenuation"
            }
          },
          {
            "id": 182,
            "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
            "pos": [
              -1341.88,
              4501.35
            ],
            "size": [
              320.32,
              57.98
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 347
              }
            ],
            "outputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "links": [
                  386
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.8",
                "input_ue_unconnectable": {}
              }
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 281,
            "origin_id": 175,
            "origin_slot": 0,
            "target_id": 171,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 280,
            "origin_id": 175,
            "origin_slot": 0,
            "target_id": 172,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 270,
            "origin_id": 170,
            "origin_slot": 0,
            "target_id": 173,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 258,
            "origin_id": 172,
            "origin_slot": 0,
            "target_id": 174,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 259,
            "origin_id": 171,
            "origin_slot": 0,
            "target_id": 174,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 253,
            "origin_id": 176,
            "origin_slot": 0,
            "target_id": 175,
            "target_slot": 0,
            "type": "NOISE"
          },
          {
            "id": 254,
            "origin_id": 173,
            "origin_slot": 0,
            "target_id": 175,
            "target_slot": 1,
            "type": "GUIDER"
          },
          {
            "id": 301,
            "origin_id": 177,
            "origin_slot": 0,
            "target_id": 175,
            "target_slot": 3,
            "type": "SIGMAS"
          },
          {
            "id": 271,
            "origin_id": 170,
            "origin_slot": 1,
            "target_id": 175,
            "target_slot": 4,
            "type": "LATENT"
          },
          {
            "id": 308,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 170,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 310,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 170,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 309,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 172,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 312,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 170,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 311,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 171,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 279,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 170,
            "target_slot": 10,
            "type": "STRING"
          },
          {
            "id": 276,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 170,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 277,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 170,
            "target_slot": 12,
            "type": "INT"
          },
          {
            "id": 275,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 170,
            "target_slot": 13,
            "type": "INT"
          },
          {
            "id": 307,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 178,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 260,
            "origin_id": 174,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 326,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 176,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 343,
            "origin_id": 179,
            "origin_slot": 0,
            "target_id": 173,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 344,
            "origin_id": 179,
            "origin_slot": 0,
            "target_id": 177,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 346,
            "origin_id": 181,
            "origin_slot": 0,
            "target_id": 179,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 347,
            "origin_id": 178,
            "origin_slot": 0,
            "target_id": 182,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 350,
            "origin_id": 180,
            "origin_slot": 0,
            "target_id": 175,
            "target_slot": 2,
            "type": "SAMPLER"
          },
          {
            "id": 370,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 170,
            "target_slot": 5,
            "type": "IMAGE"
          },
          {
            "id": 372,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 170,
            "target_slot": 7,
            "type": "AUDIO"
          },
          {
            "id": 379,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 170,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 386,
            "origin_id": 182,
            "origin_slot": 0,
            "target_id": 181,
            "target_slot": 0,
            "type": "MODEL"
          }
        ],
        "extra": {
          "ue_links": [],
          "links_added_by_ue": []
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "frontendVersion": "1.49.6",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ue_links": [],
    "links_added_by_ue": [],
    "ds": {
      "scale": 0.35,
      "offset": [
        2060,
        -3130
      ]
    }
  },
  "version": 0.4
}
