{
  "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-28285-input_image-fitness65-srcsize-768x1344.png"
    }
  },
  "6": {
    "class_type": "MiniMaxH3ImageToVideo",
    "inputs": {
      "prompt": "The clip continues from the given first frame. The subject keeps the exact same appearance, pose base, outfit, hairstyle, skin tone, lighting, background and framing as the first frame for the entire shot. Do not restyle, relight or recompose the scene. Action, slowly: she shifts her weight, turns her shoulders slightly toward the camera and lets her ponytail sway, calm confident expression, lips closed and still. The camera does not move. no scene change, no shot change, no style change, no lighting change, no background change, no outfit change, no camera move, no zoom, no extra people, no text overlays, no watermark",
      "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": 881201
    }
  },
  "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_j028285",
      "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.0,
      "start_step": 2,
      "end_dense_steps": 1,
      "max_consecutive_skips": 2,
      "model": [
        "m3",
        0
      ]
    }
  },
  "vb": {
    "class_type": "H3VideoVAEBatchDecode",
    "inputs": {
      "vae": [
        "3",
        0
      ],
      "enabled": true
    }
  }
}