{
  "id": "e3f2b845-8f2c-4b5a-9caf-eac1029d3e7e",
  "revision": 0,
  "last_node_id": 134,
  "last_link_id": 250,
  "nodes": [
    {
      "id": 116,
      "type": "MarkdownNote",
      "pos": [
        -1858.667233315357,
        4464.771928902788
      ],
      "size": [
        450,
        740
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: MiniMax H3",
      "properties": {},
      "widgets_values": [
        "## MiniMax H3\n\n[MiniMax H3](https://www.minimax.io/blog/minimax-h3) is MiniMax's general-purpose, omni-modal generation model. It jointly understands text, image, video, and audio, and generates video with **native stereo audio**: voice, sound effects, and music are modeled jointly in a single forward pass, not layered on afterward. Output is up to 2K resolution, 24fps, and up to about 15 seconds.\n\n## ComfyUI links\n- [ComfyUI#15224](https://github.com/Comfy-Org/ComfyUI/pull/15224)\n- [🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n## About this workflow\n\n**Key inputs**\n\n- **prompt**: describe the shots, camera moves, and the accompanying audio (dialogue, SFX, music) in one block\n- **width / height**: set via Resolution Selector. H3's native canvas is a 768px short edge, capped at 768x1344 pixels, rounded to a multiple of 32\n- **duration (seconds)**: converted to a valid frame `length` by the Math Expression node, snapping up to the model's 17-frame-per-block (17k+5) grid at 24fps\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 117,
      "type": "MarkdownNote",
      "pos": [
        -2328.6672333153565,
        4464.771928902788
      ],
      "size": [
        440,
        740
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Model Links",
      "properties": {},
      "widgets_values": [
        "## Model Links\n\n**custom node**\n- [molbal/comfyui-gguf](https://github.com/molbal/ComfyUI-GGUF)\n\n**vae**\n\n- [minimax_h3_video_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors)\n\n**diffusion_models**\n\n- [huggingface.co/molbal/MiniMax-H3-GGUF](https://huggingface.co/molbal/MiniMax-H3-GGUF/tree/main)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 vae/\n│   │   ├── minimax_h3_video_vae_fp16.safetensors\n│   │   └── minimax_h3_audio_vae_fp32.safetensors\n│   ├── 📂 diffusion_models/\n│   │   └── minimax_h3_fl2va_pruned_fp8_Q4_0.gguf  (for 12GB VRAM)\n│   │   └── minimax_h3_fl2va_pruned_fp8_U16G.gguf  (for 16GB VRAM)\n│   │   └── minimax_h3_fl2va_pruned_fp8_Q8_CR.gguf (for 24GB VRAM)\n│   └── 📂 text_encoders/\n│       └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 120,
      "type": "VAELoader",
      "pos": [
        -999.0383603530972,
        4983.312345231445
      ],
      "size": [
        650,
        70
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            230
          ]
        }
      ],
      "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"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_audio_vae_fp32.safetensors"
      ]
    },
    {
      "id": 121,
      "type": "VAEDecodeAudio",
      "pos": [
        970.9616396469032,
        4763.312345231445
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 248
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 230
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            239
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecodeAudio"
      },
      "widgets_values": []
    },
    {
      "id": 122,
      "type": "VAEDecode",
      "pos": [
        970.9616396469032,
        4643.312345231445
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 247
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 231
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            238
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 123,
      "type": "KSamplerSelect",
      "pos": [
        230.96163964690294,
        4793.312345231445
      ],
      "size": [
        370,
        70
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            234
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "res_multistep"
      ]
    },
    {
      "id": 124,
      "type": "BasicScheduler",
      "pos": [
        230.96163964690294,
        4913.312345231445
      ],
      "size": [
        370,
        130
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 250
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            235
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BasicScheduler"
      },
      "widgets_values": [
        "simple",
        20,
        1
      ]
    },
    {
      "id": 125,
      "type": "SamplerCustomAdvanced",
      "pos": [
        660.9616396469031,
        4703.312345231445
      ],
      "size": [
        230,
        326
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 232
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 233
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 234
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 235
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 236
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            247,
            248
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustomAdvanced"
      },
      "widgets_values": []
    },
    {
      "id": 126,
      "type": "BasicGuider",
      "pos": [
        230.96163964690294,
        4683.312345231445
      ],
      "size": [
        360,
        60
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 249
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 237
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            233
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BasicGuider"
      },
      "widgets_values": []
    },
    {
      "id": 127,
      "type": "RandomNoise",
      "pos": [
        230.96163964690294,
        4543.312345231445
      ],
      "size": [
        360,
        90
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            232
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        1104405517180391,
        "randomize"
      ]
    },
    {
      "id": 128,
      "type": "CreateVideo",
      "pos": [
        1280.9616396469023,
        4673.312345231445
      ],
      "size": [
        270,
        110
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 238
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 239
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            242
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
        24,
        8
      ]
    },
    {
      "id": 130,
      "type": "UnetLoaderGGUFDynamicVRAM",
      "pos": [
        -996.3134065794816,
        4523.2897190270805
      ],
      "size": [
        577.7240642302887,
        73.79144901958716
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            249,
            250
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UnetLoaderGGUFDynamicVRAM"
      },
      "widgets_values": [
        "minimax_h3_fl2va_pruned_fp8_Q8_CR.gguf"
      ]
    },
    {
      "id": 132,
      "type": "VAELoader",
      "pos": [
        -999.0383603530972,
        4853.312345231445
      ],
      "size": [
        640,
        70
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            231,
            241
          ]
        }
      ],
      "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"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ]
    },
    {
      "id": 92,
      "type": "SaveVideo",
      "pos": [
        1634.1062061841724,
        4458.979278555254
      ],
      "size": [
        1110.2736020693364,
        714.818667816298
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 242
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {},
      "widgets_values": [
        "video/MiniMax_H3",
        "auto",
        "auto"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 133,
      "type": "ComfyMathExpression",
      "pos": [
        -267.63911749930713,
        5133.905715060559
      ],
      "size": [
        358.70084805816646,
        160
      ],
      "flags": {
        "collapsed": true
      },
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 246
        },
        {
          "label": "b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            243
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
        "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
      ]
    },
    {
      "id": 115,
      "type": "ResolutionSelector",
      "pos": [
        -263.8467140000005,
        5113.470189534666
      ],
      "size": [
        421.99980404699727,
        163.5043484183352
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            244
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            245
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResolutionSelector"
      },
      "widgets_values": [
        "16:9 (Widescreen)",
        0.4,
        32
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 118,
      "type": "MarkdownNote",
      "pos": [
        -1375.9492078388548,
        4468.977368553789
      ],
      "size": [
        311.69225934899896,
        717.4700138836661
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Size Settings Reference",
      "properties": {},
      "widgets_values": [
        "| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 131,
      "type": "CLIPLoader",
      "pos": [
        -1003.4633083623462,
        4677.693405161783
      ],
      "size": [
        640,
        120
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            240
          ]
        }
      ],
      "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"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax",
        "default"
      ]
    },
    {
      "id": 129,
      "type": "MiniMaxH3ImageToVideo",
      "pos": [
        -273.9188020034874,
        4499.150025437742
      ],
      "size": [
        438.3058466796874,
        564.6597929077143
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 240
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 241
        },
        {
          "name": "first_frame",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "last_frame",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 244
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 245
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 243
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            237
          ]
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            236
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3ImageToVideo"
      },
      "widgets_values": [
        "Vaporwave title sequence look: pink and blue gradient palette, VHS tracking artifacts, Greek statue motifs, chrome palm trees, RGB chromatic aberration, lo-fi retro atmosphere, mood languid and nostalgic.\n\nTimeline:\n[0s-1s] VHS static opens the frame, the title \"GGUF\" appears with RGB split and a slight horizontal jitter.\n[1s-2.5s] Hard cut, a Greek plaster bust close-up, pink-purple gradient sky, a pixelated sun.\n[2.5s-4s] Clean \"STARRING\" credits appear, \"LATENT\" and \"CONTROLNET\" each shown exactly once.\n[4s-5s] Final card \"DIRECTED BY COMFYUI\" holds, one VHS tracking glitch settling into stability.\n\nHard cuts only, transitions landing with tape jumps, no push-ins, no dissolves.\n\nAudio: lo-fi vaporwave score, slow drum machine with soft bass, VHS tape-noise sample joins at 2.5s, melody fading for the last 1s.\n\nAll text must be clearly legible, do not misspell English, no Chinese characters, do not repeat names or job titles, no soft dissolves, no subtitle bars.",
        1344,
        768,
        73
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 134,
      "type": "PrimitiveFloat",
      "pos": [
        -259.7345175972529,
        5324.017812779295
      ],
      "size": [
        421.99980404699727,
        60.90593640716543
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            246
          ]
        }
      ],
      "title": "Float (duration)",
      "properties": {
        "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
        5
      ],
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      230,
      120,
      0,
      121,
      1,
      "VAE"
    ],
    [
      231,
      132,
      0,
      122,
      1,
      "VAE"
    ],
    [
      232,
      127,
      0,
      125,
      0,
      "NOISE"
    ],
    [
      233,
      126,
      0,
      125,
      1,
      "GUIDER"
    ],
    [
      234,
      123,
      0,
      125,
      2,
      "SAMPLER"
    ],
    [
      235,
      124,
      0,
      125,
      3,
      "SIGMAS"
    ],
    [
      236,
      129,
      1,
      125,
      4,
      "LATENT"
    ],
    [
      237,
      129,
      0,
      126,
      1,
      "CONDITIONING"
    ],
    [
      238,
      122,
      0,
      128,
      0,
      "IMAGE"
    ],
    [
      239,
      121,
      0,
      128,
      1,
      "AUDIO"
    ],
    [
      240,
      131,
      0,
      129,
      0,
      "CLIP"
    ],
    [
      241,
      132,
      0,
      129,
      1,
      "VAE"
    ],
    [
      242,
      128,
      0,
      92,
      0,
      "VIDEO"
    ],
    [
      243,
      133,
      1,
      129,
      6,
      "INT"
    ],
    [
      244,
      115,
      0,
      129,
      4,
      "INT"
    ],
    [
      245,
      115,
      1,
      129,
      5,
      "INT"
    ],
    [
      246,
      134,
      0,
      133,
      0,
      "FLOAT"
    ],
    [
      247,
      125,
      0,
      122,
      0,
      "LATENT"
    ],
    [
      248,
      125,
      0,
      121,
      0,
      "LATENT"
    ],
    [
      249,
      130,
      0,
      126,
      0,
      "MODEL"
    ],
    [
      250,
      130,
      0,
      124,
      0,
      "MODEL"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Models",
      "bounding": [
        -1029.038360353097,
        4423.312345231445,
        700,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Sampling",
      "bounding": [
        210.96163964690305,
        4423.312345231445,
        690,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 3,
      "title": "Prompt",
      "bounding": [
        -299.03836035309683,
        4423.312345231445,
        503.38473495300286,
        996.0852992326663
      ],
      "color": "#b58b2a",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Decoding and create video",
      "bounding": [
        930.9616396469032,
        4423.312345231445,
        670,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "frontendVersion": "1.47.11",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ds": {
      "scale": 1,
      "offset": [
        1797.8379124131366,
        -4513.166602413961
      ]
    }
  },
  "version": 0.4
}