{
  "1": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
      "weight_dtype": "default"
    }
  },
  "m0": {
    "class_type": "LoraLoaderModelOnly",
    "inputs": {
      "lora_name": "minimax_h3_turbo_4step_pruned_comfyui.safetensors",
      "strength_model": 1.8,
      "model": [
        "1",
        0
      ]
    }
  },
  "m1": {
    "class_type": "PathchSageAttentionKJ",
    "inputs": {
      "model": [
        "m0",
        0
      ],
      "sage_attention": "auto"
    }
  },
  "2": {
    "class_type": "CLIPLoader",
    "inputs": {
      "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
      "type": "minimax",
      "device": "default"
    }
  },
  "3": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "minimax_h3_video_vae_fp16.safetensors"
    }
  },
  "4": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
    }
  },
  "101": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "dockaiq-input-47753-input_image-jjin-hero-crop.png"
    }
  },
  "6": {
    "class_type": "MiniMaxH3ImageToVideo",
    "inputs": {
      "prompt": "a woman turns and smiles, cinematic",
      "width": [
        "gw",
        1
      ],
      "height": [
        "gh",
        1
      ],
      "length": 124,
      "clip": [
        "2",
        0
      ],
      "vae": [
        "3",
        0
      ],
      "first_frame": [
        "101",
        0
      ]
    }
  },
  "7": {
    "class_type": "BasicGuider",
    "inputs": {
      "model": [
        "m4",
        0
      ],
      "conditioning": [
        "6",
        0
      ]
    }
  },
  "8": {
    "class_type": "KSamplerSelect",
    "inputs": {
      "sampler_name": "euler"
    }
  },
  "9": {
    "class_type": "BasicScheduler",
    "inputs": {
      "scheduler": "beta",
      "steps": 6,
      "denoise": 1.0,
      "model": [
        "m4",
        0
      ]
    }
  },
  "10": {
    "class_type": "RandomNoise",
    "inputs": {
      "noise_seed": 2715539806895555453
    }
  },
  "11": {
    "class_type": "SamplerCustomAdvanced",
    "inputs": {
      "noise": [
        "10",
        0
      ],
      "guider": [
        "7",
        0
      ],
      "sampler": [
        "8",
        0
      ],
      "sigmas": [
        "9",
        0
      ],
      "latent_image": [
        "6",
        1
      ]
    }
  },
  "12": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "11",
        0
      ],
      "vae": [
        "vb",
        0
      ]
    }
  },
  "13": {
    "class_type": "VAEDecodeAudio",
    "inputs": {
      "samples": [
        "11",
        0
      ],
      "vae": [
        "4",
        0
      ]
    }
  },
  "14": {
    "class_type": "CreateVideo",
    "inputs": {
      "fps": 24,
      "bit_depth": 8,
      "images": [
        "12",
        0
      ],
      "audio": [
        "13",
        0
      ]
    }
  },
  "15": {
    "class_type": "SaveVideo",
    "inputs": {
      "filename_prefix": "h3_fl2v_srcsize_j047753",
      "format": "auto",
      "video": [
        "14",
        0
      ],
      "codec": "auto"
    }
  },
  "m3": {
    "class_type": "MiniMaxH3SigmaShift",
    "inputs": {
      "model": [
        "m1",
        0
      ],
      "shift_video": 12.0,
      "shift_audio": 6.0
    }
  },
  "gs": {
    "class_type": "GetImageSize",
    "inputs": {
      "image": [
        "101",
        0
      ]
    }
  },
  "gw": {
    "class_type": "ComfyMathExpression",
    "inputs": {
      "expression": "max(256, round(a * min(1, sqrt(1050000/(a*b))) / 32) * 32)",
      "values.a": [
        "gs",
        0
      ],
      "values.b": [
        "gs",
        1
      ]
    }
  },
  "gh": {
    "class_type": "ComfyMathExpression",
    "inputs": {
      "expression": "max(256, round(b * min(1, sqrt(1050000/(a*b))) / 32) * 32)",
      "values.a": [
        "gs",
        0
      ],
      "values.b": [
        "gs",
        1
      ]
    }
  },
  "m4": {
    "class_type": "H3FirstBlockCache",
    "inputs": {
      "threshold": 0.17,
      "start_step": 2,
      "end_dense_steps": 1,
      "max_consecutive_skips": 2,
      "model": [
        "m3",
        0
      ]
    }
  },
  "vb": {
    "class_type": "H3VideoVAEBatchDecode",
    "inputs": {
      "vae": [
        "3",
        0
      ],
      "enabled": true
    }
  }
}