{
  "id": "director-dual-pass-enhanced",
  "revision": 0,
  "last_node_id": 300,
  "last_link_id": 40,
  "nodes": [
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        -720,
        220
      ],
      "size": [
        360,
        106
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "CLIP名称",
          "name": "clip_name",
          "type": "COMBO",
          "widget": {
            "name": "clip_name"
          },
          "link": null
        },
        {
          "localized_name": "类型",
          "name": "type",
          "type": "COMBO",
          "widget": {
            "name": "type"
          },
          "link": null
        },
        {
          "localized_name": "设备",
          "name": "device",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "device"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "CLIP",
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            16
          ]
        }
      ],
      "title": "CLIP (minimax / Qwen3-VL)",
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax",
        "default"
      ]
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        -720,
        380
      ],
      "size": [
        360,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "vae名称",
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "VAE",
          "name": "VAE",
          "type": "VAE",
          "links": [
            15
          ]
        }
      ],
      "title": "Video VAE",
      "properties": {
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "minimax_h3_video_vae_fp16.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ]
    },
    {
      "id": 4,
      "type": "VAELoader",
      "pos": [
        -720,
        500
      ],
      "size": [
        360,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "vae名称",
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "VAE",
          "name": "VAE",
          "type": "VAE",
          "links": [
            13
          ]
        }
      ],
      "title": "Audio VAE",
      "properties": {
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "minimax_h3_audio_vae_fp32.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_audio_vae_fp32.safetensors"
      ]
    },
    {
      "id": 8,
      "type": "PreviewAny",
      "pos": [
        2081.8808611651884,
        102.9946949370538
      ],
      "size": [
        640,
        200
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "源",
          "name": "source",
          "type": "*",
          "link": 20
        }
      ],
      "outputs": [
        {
          "localized_name": "字符串",
          "name": "STRING",
          "type": "STRING",
          "links": []
        }
      ],
      "title": "Director 运行报告",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 1,
      "type": "UNETLoader",
      "pos": [
        -720,
        80
      ],
      "size": [
        360,
        82
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "UNet名称",
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          },
          "link": null
        },
        {
          "localized_name": "数据类型",
          "name": "weight_dtype",
          "type": "COMBO",
          "widget": {
            "name": "weight_dtype"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "模型",
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            33
          ]
        }
      ],
      "title": "一采模型 (nvfp4 11.7GB 省显存)",
      "properties": {
        "Node name for S&R": "UNETLoader",
        "models": [
          {
            "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "MiniMax_H3_Ref2VA_pruned_nvfp4.safetensors",
        "default"
      ]
    },
    {
      "id": 15,
      "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
      "pos": [
        79.82596650450913,
        -122.85851166313826
      ],
      "size": [
        320.323828125,
        26
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "link": 21
        }
      ],
      "outputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "links": [
            36
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch"
      },
      "widgets_values": []
    },
    {
      "id": 14,
      "type": "PathchSageAttentionKJ",
      "pos": [
        -222.5738459531843,
        -146.80237152741017
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "link": 35
        },
        {
          "localized_name": "sage_attention",
          "name": "sage_attention",
          "type": "COMBO",
          "widget": {
            "name": "sage_attention"
          },
          "link": null
        },
        {
          "localized_name": "allow_compile",
          "name": "allow_compile",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "allow_compile"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "模型",
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            21
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PathchSageAttentionKJ"
      },
      "widgets_values": [
        "auto",
        false
      ]
    },
    {
      "id": 6,
      "type": "CreateVideo",
      "pos": [
        2082.367775054267,
        354.9280168431471
      ],
      "size": [
        280,
        120
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 17
        },
        {
          "localized_name": "音频",
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 18
        },
        {
          "localized_name": "帧率",
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 19
        },
        {
          "localized_name": "bit_depth",
          "name": "bit_depth",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "bit_depth"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "视频",
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            9
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
        24,
        8
      ]
    },
    {
      "id": 19,
      "type": "CreateVideo",
      "pos": [
        3082.163033201301,
        136.55133282220606
      ],
      "size": [
        280,
        120
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 32
        },
        {
          "localized_name": "音频",
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 27
        },
        {
          "localized_name": "帧率",
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 29
        },
        {
          "localized_name": "bit_depth",
          "name": "bit_depth",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "bit_depth"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "视频",
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            28
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
        24,
        8
      ]
    },
    {
      "id": 7,
      "type": "SaveVideo",
      "pos": [
        2386.3621408524195,
        359.6450591851869
      ],
      "size": [
        619.371811810659,
        448.9773600260401
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "视频",
          "name": "video",
          "type": "VIDEO",
          "link": 9
        },
        {
          "localized_name": "文件名前缀",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        },
        {
          "localized_name": "格式",
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          },
          "link": null
        },
        {
          "localized_name": "编码器",
          "name": "codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo"
      },
      "widgets_values": [
        "video/MiniMaxH3_Director",
        "auto",
        "auto"
      ]
    },
    {
      "id": 18,
      "type": "SaveVideo",
      "pos": [
        3091.6193106668225,
        341.41476731559044
      ],
      "size": [
        619.371811810659,
        442.09545100592163
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "视频",
          "name": "video",
          "type": "VIDEO",
          "link": 28
        },
        {
          "localized_name": "文件名前缀",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        },
        {
          "localized_name": "格式",
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          },
          "link": null
        },
        {
          "localized_name": "编码器",
          "name": "codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo"
      },
      "widgets_values": [
        "video/MiniMaxH3_Directorp_re",
        "auto",
        "auto"
      ]
    },
    {
      "id": 12,
      "type": "MiniMaxH3Director",
      "pos": [
        -268.5596657316356,
        126.90978075706447
      ],
      "size": [
        1920.5235688133644,
        2120.2459593565823
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "link": 37
        },
        {
          "localized_name": "video_vae",
          "name": "video_vae",
          "type": "VAE",
          "link": 15
        },
        {
          "localized_name": "audio_vae",
          "name": "audio_vae",
          "type": "VAE",
          "link": 13
        },
        {
          "localized_name": "clip",
          "name": "clip",
          "type": "CLIP",
          "link": 16
        },
        {
          "localized_name": "i2v_groups",
          "name": "i2v_groups",
          "shape": 7,
          "type": "MMX_DIR_GROUP",
          "link": null
        },
        {
          "localized_name": "r2v_groups",
          "name": "r2v_groups",
          "shape": 7,
          "type": "MMX_DIR_GROUP",
          "link": null
        },
        {
          "localized_name": "refine",
          "name": "refine",
          "shape": 7,
          "type": "MMX_DIR_REFINE",
          "link": 24
        },
        {
          "localized_name": "task_type",
          "name": "task_type",
          "type": "COMBO",
          "widget": {
            "name": "task_type"
          },
          "link": null
        },
        {
          "localized_name": "global_prompt",
          "name": "global_prompt",
          "type": "STRING",
          "widget": {
            "name": "global_prompt"
          },
          "link": null
        },
        {
          "localized_name": "bd_grp_sample",
          "name": "bd_grp_sample",
          "type": "BDGROUP",
          "widget": {
            "name": "bd_grp_sample"
          },
          "link": null
        },
        {
          "localized_name": "cfg",
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          },
          "link": null
        },
        {
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": null
        },
        {
          "localized_name": "frame_rate",
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": null
        },
        {
          "localized_name": "width",
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": null
        },
        {
          "localized_name": "height",
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": null
        },
        {
          "localized_name": "ref_max_size",
          "name": "ref_max_size",
          "type": "INT",
          "widget": {
            "name": "ref_max_size"
          },
          "link": null
        },
        {
          "localized_name": "total_frames",
          "name": "total_frames",
          "type": "INT",
          "widget": {
            "name": "total_frames"
          },
          "link": null
        },
        {
          "localized_name": "timeline_data",
          "name": "timeline_data",
          "type": "STRING",
          "widget": {
            "name": "timeline_data"
          },
          "link": null
        },
        {
          "localized_name": "bd_grp_advanced",
          "name": "bd_grp_advanced",
          "shape": 7,
          "type": "BDGROUP",
          "widget": {
            "name": "bd_grp_advanced"
          },
          "link": null
        },
        {
          "localized_name": "steps",
          "name": "steps",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": null
        },
        {
          "localized_name": "sampler",
          "name": "sampler",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "sampler"
          },
          "link": null
        },
        {
          "localized_name": "scheduler",
          "name": "scheduler",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "scheduler"
          },
          "link": null
        },
        {
          "localized_name": "shift_video",
          "name": "shift_video",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "shift_video"
          },
          "link": null
        },
        {
          "localized_name": "shift_audio",
          "name": "shift_audio",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "shift_audio"
          },
          "link": null
        },
        {
          "localized_name": "bd_grp_perf",
          "name": "bd_grp_perf",
          "shape": 7,
          "type": "BDGROUP",
          "widget": {
            "name": "bd_grp_perf"
          },
          "link": null
        },
        {
          "localized_name": "clear_vram_between_segments",
          "name": "clear_vram_between_segments",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "clear_vram_between_segments"
          },
          "link": null
        },
        {
          "localized_name": "export_source_images",
          "name": "export_source_images",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "export_source_images"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "images",
          "name": "images",
          "shape": 6,
          "type": "IMAGE",
          "links": [
            17
          ]
        },
        {
          "localized_name": "audio",
          "name": "audio",
          "shape": 6,
          "type": "AUDIO",
          "links": [
            18,
            27
          ]
        },
        {
          "localized_name": "fps",
          "name": "fps",
          "type": "FLOAT",
          "links": [
            19,
            29
          ]
        },
        {
          "localized_name": "frame_count",
          "name": "frame_count",
          "type": "INT",
          "links": []
        },
        {
          "localized_name": "source_images",
          "name": "source_images",
          "shape": 6,
          "type": "IMAGE",
          "links": []
        },
        {
          "localized_name": "report",
          "name": "report",
          "type": "STRING",
          "links": [
            20
          ]
        },
        {
          "localized_name": "images_pre_refine",
          "name": "images_pre_refine",
          "shape": 6,
          "type": "IMAGE",
          "links": [
            32
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3Director"
      },
      "widgets_values": [
        "r2v — 参考主体生视频(Reference to Video)",
        "subject_definitions:\n<Picture 1> 是角色定妆参考图。\n<Picture 2> 是场景参考图。",
        "采样设置",
        1,
        42,
        666,
        24,
        960,
        544,
        960,
        121,
        "{\"version\": 5, \"editMode\": \"segment\", \"totalFrames\": 121, \"frameRate\": 24, \"video\": {\"fileName\": \"\", \"videoFile\": \"\", \"subfolder\": \"\", \"type\": \"input\", \"frames\": [], \"frameMap\": [], \"sourceFrameCount\": 0, \"deletedSourceRanges\": []}, \"videoClips\": [], \"global\": {\"taskType\": \"r2v — 参考主体生视频(Reference to Video)\", \"prompt\": \"subject_definitions:\\n<Picture 1> 是角色定妆参考图。\\n<Picture 2> 是场景参考图。\", \"refs\": [{\"index\": 1, \"imageFile\": \"角色图.png\", \"fileName\": \"\", \"type\": \"input\", \"subfolder\": \"\"}, {\"index\": 2, \"imageFile\": \"场景图.png\", \"fileName\": \"\", \"type\": \"input\", \"subfolder\": \"\"}], \"referenceVideo\": {\"videoFile\": \"\", \"fileName\": \"\", \"type\": \"input\", \"subfolder\": \"\"}, \"continuousReference\": false, \"genImage\": {\"imageFile\": \"\"}, \"sourceWidth\": 960, \"sourceHeight\": 544, \"refAudios\": [], \"commonEnabled\": true, \"commonCollapsed\": true, \"refVideos\": []}, \"output\": {\"mode\": \"fixed\", \"aspectRatio\": \"16:9 (宽屏)\", \"megapixels\": 0.5, \"multiple\": 32, \"longEdge\": 960, \"width\": 960, \"height\": 544, \"maxExportFrames\": 0, \"exportMode\": \"all\", \"audioMode\": \"source\", \"continuityEnabled\": true, \"continuityOverlapFrames\": 22}, \"runSelectEnabled\": false, \"runSelection\": [], \"segments\": [{\"id\": \"seg001\", \"start\": 0, \"length\": 121, \"frameCount\": 121, \"durationSec\": 5, \"prompt\": \"在这里填入提示词。@图1=角色参考，@图2=场景参考。\", \"negativePrompt\": \"\", \"taskType\": \"\", \"refs\": [], \"refAudios\": [], \"refVideos\": [], \"genImage\": {\"imageFile\": \"\", \"fileName\": \"\"}, \"continuityFromPrev\": false}], \"timelineMode\": \"segment\", \"width\": 960, \"height\": 544, \"refMaxSize\": 960, \"gen\": {\"defaultFrameCount\": 121}, \"keyframes\": [], \"durationSec\": 5, \"shots\": [], \"liveTaePreview\": true}",
        "高级采样",
        20,
        "res_multistep",
        "simple",
        12,
        3,
        "性能",
        true,
        true,
        ""
      ]
    },
    {
      "id": 16,
      "type": "MiniMaxH3DirectorRefine",
      "pos": [
        -739.163470592498,
        689.7044588920658
      ],
      "size": [
        240.32412906098503,
        194
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "refine_model",
          "name": "refine_model",
          "shape": 7,
          "type": "MODEL",
          "link": 39
        },
        {
          "localized_name": "upscale_model",
          "name": "upscale_model",
          "shape": 7,
          "type": "UPSCALE_MODEL",
          "link": null
        },
        {
          "localized_name": "mode",
          "name": "mode",
          "type": "COMBO",
          "widget": {
            "name": "mode"
          },
          "link": null
        },
        {
          "localized_name": "upscale_method",
          "name": "upscale_method",
          "type": "COMBO",
          "widget": {
            "name": "upscale_method"
          },
          "link": null
        },
        {
          "localized_name": "denoise",
          "name": "denoise",
          "type": "FLOAT",
          "widget": {
            "name": "denoise"
          },
          "link": null
        },
        {
          "localized_name": "steps",
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": null
        },
        {
          "widget": {
            "name": "passes"
          },
          "link": null,
          "name": "passes",
          "type": "INT"
        },
        {
          "localized_name": "seed_mode",
          "name": "seed_mode",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "seed_mode"
          },
          "link": null
        },
        {
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          },
          "link": null
        },
        {
          "localized_name": "megapixels",
          "name": "megapixels",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "megapixels"
          },
          "link": null
        },
        {
          "localized_name": "width",
          "name": "width",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": null
        },
        {
          "localized_name": "height",
          "name": "height",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": null
        },
        {
          "localized_name": "skip_fl2v",
          "name": "skip_fl2v",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "skip_fl2v"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "refine",
          "name": "refine",
          "type": "MMX_DIR_REFINE",
          "links": [
            24
          ]
        },
        {
          "localized_name": "width",
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "localized_name": "height",
          "name": "height",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3DirectorRefine"
      },
      "widgets_values": [
        "upscale",
        "lanczos",
        0.25,
        8,
        1,
        "inherit",
        "16:9 (宽屏)",
        2.0,
        1920,
        1080,
        true
      ],
      "title": "二采放大（清晰度天花板 1920×1080）"
    },
    {
      "id": 17,
      "type": "UpscaleModelLoader",
      "pos": [
        -1059.6503134566929,
        694.6705159957609
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 5,
      "mode": 4,
      "inputs": [
        {
          "localized_name": "模型名称",
          "name": "model_name",
          "type": "COMBO",
          "widget": {
            "name": "model_name"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "放大模型",
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            25
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "4x_UniversalUpscalerV2-Sharp_101000_G.pth"
      ],
      "title": "放大模型（可选启用）"
    },
    {
      "id": 30,
      "type": "UNETLoader",
      "pos": [
        -720,
        -60
      ],
      "size": [
        360,
        82
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "UNet名称",
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          },
          "link": null
        },
        {
          "localized_name": "数据类型",
          "name": "weight_dtype",
          "type": "COMBO",
          "widget": {
            "name": "weight_dtype"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "模型",
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            38
          ]
        }
      ],
      "title": "二采模型 (int8_convrot 19.5GB 高质量)",
      "properties": {
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "default"
      ]
    },
    {
      "id": 100,
      "type": "ReservedVRAMSetter",
      "pos": [
        0,
        0
      ],
      "size": [
        320,
        100
      ],
      "flags": {},
      "order": 100,
      "mode": 0,
      "inputs": [
        {
          "name": "anything",
          "type": "*",
          "link": 33
        },
        {
          "widget": {
            "name": "reserved"
          },
          "link": null,
          "name": "reserved",
          "type": "FLOAT"
        },
        {
          "widget": {
            "name": "mode"
          },
          "link": null,
          "name": "mode",
          "type": "COMBO"
        },
        {
          "widget": {
            "name": "seed"
          },
          "link": null,
          "name": "seed",
          "type": "INT"
        },
        {
          "widget": {
            "name": "auto_max_reserved"
          },
          "link": null,
          "name": "auto_max_reserved",
          "type": "FLOAT"
        },
        {
          "widget": {
            "name": "clean_gpu_before"
          },
          "link": null,
          "name": "clean_gpu_before",
          "type": "BOOLEAN"
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": [
            34
          ]
        },
        {
          "name": "SEED",
          "type": "INT",
          "links": []
        },
        {
          "name": "Reserved(GB)",
          "type": "FLOAT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "ReservedVRAMSetter"
      },
      "title": "预留显存+清显存",
      "widgets_values": [
        0.5,
        "manual",
        0,
        0.0,
        true
      ]
    },
    {
      "id": 101,
      "type": "MiniMaxH3BlockCacheT8",
      "pos": [
        0,
        0
      ],
      "size": [
        320,
        100
      ],
      "flags": {},
      "order": 101,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 34
        },
        {
          "name": "residual_diff_threshold",
          "type": "FLOAT",
          "widget": {
            "name": "residual_diff_threshold"
          },
          "link": null
        },
        {
          "name": "start_percent",
          "type": "FLOAT",
          "widget": {
            "name": "start_percent"
          },
          "link": null
        },
        {
          "name": "end_percent",
          "type": "FLOAT",
          "widget": {
            "name": "end_percent"
          },
          "link": null
        },
        {
          "name": "max_consecutive_hits",
          "type": "INT",
          "widget": {
            "name": "max_consecutive_hits"
          },
          "link": null
        },
        {
          "name": "cache_device",
          "type": "COMBO",
          "widget": {
            "name": "cache_device"
          },
          "link": null
        },
        {
          "name": "metric_stride",
          "type": "INT",
          "widget": {
            "name": "metric_stride"
          },
          "link": null
        },
        {
          "name": "verbose",
          "type": "BOOLEAN",
          "widget": {
            "name": "verbose"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            35
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3BlockCacheT8"
      },
      "title": "BlockCache (导演台)",
      "widgets_values": [
        0.12,
        0.08,
        0.95,
        2,
        "cpu",
        8,
        false
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 102,
      "type": "TESpeedMiniMaxH3",
      "pos": [
        0,
        0
      ],
      "size": [
        320,
        100
      ],
      "flags": {},
      "order": 102,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 36
        },
        {
          "widget": {
            "name": "processing_control_value"
          },
          "link": null,
          "name": "processing_control_value",
          "type": "FLOAT"
        },
        {
          "widget": {
            "name": "processing_percent_1"
          },
          "link": null,
          "name": "processing_percent_1",
          "type": "FLOAT"
        },
        {
          "widget": {
            "name": "processing_percent_2"
          },
          "link": null,
          "name": "processing_percent_2",
          "type": "FLOAT"
        },
        {
          "widget": {
            "name": "mcs"
          },
          "link": null,
          "name": "mcs",
          "type": "INT"
        },
        {
          "widget": {
            "name": "mode"
          },
          "link": null,
          "name": "mode",
          "type": "COMBO"
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            37
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "TESpeedMiniMaxH3"
      },
      "title": "TE-Speed (文本编码器)",
      "widgets_values": [
        0.12,
        0.1,
        0.9,
        2,
        "auto"
      ]
    },
    {
      "id": 103,
      "type": "MiniMaxH3BlockCacheT8",
      "pos": [
        0,
        0
      ],
      "size": [
        320,
        100
      ],
      "flags": {},
      "order": 103,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 38
        },
        {
          "name": "residual_diff_threshold",
          "type": "FLOAT",
          "widget": {
            "name": "residual_diff_threshold"
          },
          "link": null
        },
        {
          "name": "start_percent",
          "type": "FLOAT",
          "widget": {
            "name": "start_percent"
          },
          "link": null
        },
        {
          "name": "end_percent",
          "type": "FLOAT",
          "widget": {
            "name": "end_percent"
          },
          "link": null
        },
        {
          "name": "max_consecutive_hits",
          "type": "INT",
          "widget": {
            "name": "max_consecutive_hits"
          },
          "link": null
        },
        {
          "name": "cache_device",
          "type": "COMBO",
          "widget": {
            "name": "cache_device"
          },
          "link": null
        },
        {
          "name": "metric_stride",
          "type": "INT",
          "widget": {
            "name": "metric_stride"
          },
          "link": null
        },
        {
          "name": "verbose",
          "type": "BOOLEAN",
          "widget": {
            "name": "verbose"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            39
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3BlockCacheT8"
      },
      "title": "BlockCache (二采)",
      "widgets_values": [
        0.12,
        0.08,
        0.95,
        2,
        "cpu",
        8,
        false
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 200,
      "type": "MarkdownNote",
      "pos": [
        -1400,
        200
      ],
      "size": [
        780,
        700
      ],
      "flags": {},
      "order": 200,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "# 导演台双采 12G 完善版（清晰度天花板）\n\n基于原「导演台双采_12G优化_r2v」增强：\n\n### 新增/修改\n1. **BlockCache×2**：导演台模型 + 二采模型都加了块缓存（缓存放CPU），提速明显。\n2. **TE-Speed**：文本编码器加速/卸载，缓解显存。\n3. **ReservedVRAMSetter**：运行前自动清显存 + 预留 0.5G，防 OOM。\n4. **二采 mode=upscale**：从「同分辨率精修」改成「放大到 1920×1080 再二采」= 清晰度天花板。\n\n### 模型（双模型）\n- 导演台：`MiniMax_H3_Ref2VA_pruned_nvfp4`（11.67G，快）\n- 二采：`minimax_h3_ref2va_pruned_int8_convrot`（19.53G，精）\n\n### 12G 使用注意\n- **1920×1080 二采放大很吃显存，很可能 OOM**。若报错，把 Refine 的宽/高降到 `1664×928` 或 `1280×720`（megapixels 同步改 0.9 / 0.5）。\n- BlockCache 若报「cannot be combined」或异常：把对应 BlockCache 节点设为 bypass（mode 4）。\n- 二采 steps=8、denoise=0.25（可调高 denoise 到 0.4 更贴近原帧）。\n\n### 测试建议\n把性能测试提示词填入导演台节点的 global_prompt（或时间轴段），先跑一小段看速度和清晰度。\n",
        "说明 · 必读"
      ],
      "title": "说明 · 必读",
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      9,
      6,
      0,
      7,
      0,
      "VIDEO"
    ],
    [
      13,
      4,
      0,
      12,
      2,
      "VAE"
    ],
    [
      15,
      3,
      0,
      12,
      1,
      "VAE"
    ],
    [
      16,
      2,
      0,
      12,
      3,
      "CLIP"
    ],
    [
      17,
      12,
      0,
      6,
      0,
      "IMAGE"
    ],
    [
      18,
      12,
      1,
      6,
      1,
      "AUDIO"
    ],
    [
      19,
      12,
      2,
      6,
      2,
      "FLOAT"
    ],
    [
      20,
      12,
      5,
      8,
      0,
      "STRING"
    ],
    [
      21,
      14,
      0,
      15,
      0,
      "MODEL"
    ],
    [
      24,
      16,
      0,
      12,
      6,
      "MMX_DIR_REFINE"
    ],
    [
      25,
      17,
      0,
      16,
      0,
      "UPSCALE_MODEL"
    ],
    [
      27,
      12,
      1,
      19,
      1,
      "AUDIO"
    ],
    [
      28,
      19,
      0,
      18,
      0,
      "VIDEO"
    ],
    [
      29,
      12,
      2,
      19,
      2,
      "FLOAT"
    ],
    [
      32,
      12,
      6,
      19,
      0,
      "IMAGE"
    ],
    [
      33,
      1,
      0,
      100,
      0,
      "MODEL"
    ],
    [
      34,
      100,
      0,
      101,
      0,
      "MODEL"
    ],
    [
      35,
      101,
      0,
      14,
      0,
      "MODEL"
    ],
    [
      36,
      15,
      0,
      102,
      0,
      "MODEL"
    ],
    [
      37,
      102,
      0,
      12,
      0,
      "MODEL"
    ],
    [
      38,
      30,
      0,
      103,
      0,
      "MODEL"
    ],
    [
      39,
      103,
      0,
      16,
      0,
      "MODEL"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "模型加载 (MiniMax H3)",
      "bounding": [
        -760,
        40,
        440,
        560
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "MiniMax H3 Director",
      "bounding": [
        -320,
        40,
        1120,
        960
      ],
      "color": "#8A8",
      "flags": {}
    },
    {
      "id": 3,
      "title": "输出",
      "bounding": [
        2035.5498035389414,
        51.263872788013146,
        760,
        760
      ],
      "color": "#b58",
      "flags": {}
    },
    {
      "id": 4,
      "title": "加速模块（用就开启，不用可以关掉）",
      "bounding": [
        -270.07015912924567,
        -244.06062751071772,
        696.8626780790273,
        222.74509026022088
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "frontendVersion": "1.23.0",
    "note": "MiniMax H3 Director · t2v",
    "ds": {
      "scale": 1.0152559799477174,
      "offset": [
        1488.7464648400148,
        -276.8009183686409
      ]
    }
  },
  "version": 0.4,
  "note": "导演台双采 12G 完善版（BlockCache+TE-Speed+显存管理+二采放大天花板）"
}