{
 "115": {
  "inputs": {
   "aspect_ratio": "16:9 (Widescreen)",
   "megapixels": 0.4,
   "multiple": 32
  },
  "class_type": "ResolutionSelector",
  "_meta": {
   "title": "Resolution Selector (Size)"
  }
 },
 "119": {
  "inputs": {
   "vae_name": "minimax_h3_video_vae_int8_convrot.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "120": {
  "inputs": {
   "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "121": {
  "inputs": {
   "samples": [
    "125",
    0
   ],
   "vae": [
    "120",
    0
   ]
  },
  "class_type": "VAEDecodeAudio",
  "_meta": {
   "title": "VAE Decode Audio"
  }
 },
 "122": {
  "inputs": {
   "samples": [
    "125",
    0
   ],
   "vae": [
    "119",
    0
   ]
  },
  "class_type": "VAEDecode",
  "_meta": {
   "title": "VAE Decode"
  }
 },
 "123": {
  "inputs": {
   "sampler_name": "res_multistep"
  },
  "class_type": "KSamplerSelect",
  "_meta": {
   "title": "KSamplerSelect"
  }
 },
 "124": {
  "inputs": {
   "scheduler": "simple",
   "denoise": 1,
   "model": [
    "172",
    0
   ],
   "steps": [
    "142",
    0
   ]
  },
  "class_type": "BasicScheduler",
  "_meta": {
   "title": "BasicScheduler"
  }
 },
 "125": {
  "inputs": {
   "noise": [
    "129",
    0
   ],
   "guider": [
    "126",
    0
   ],
   "sampler": [
    "123",
    0
   ],
   "sigmas": [
    "124",
    0
   ],
   "latent_image": [
    "136",
    1
   ]
  },
  "class_type": "SamplerCustomAdvanced",
  "_meta": {
   "title": "SamplerCustomAdvanced"
  }
 },
 "126": {
  "inputs": {
   "model": [
    "172",
    0
   ],
   "conditioning": [
    "136",
    0
   ]
  },
  "class_type": "BasicGuider",
  "_meta": {
   "title": "Basic Guider"
  }
 },
 "127": {
  "inputs": {
   "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "128": {
  "inputs": {
   "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
   "type": "minimax",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Load CLIP"
  }
 },
 "129": {
  "inputs": {
   "noise_seed": 1086599926715797
  },
  "class_type": "RandomNoise",
  "_meta": {
   "title": "RandomNoise"
  }
 },
 "130": {
  "inputs": {
   "fps": 24,
   "bit_depth": "auto",
   "color_space": "sRGB",
   "chroma_subsampling": "auto",
   "codec": "none",
   "images": [
    "122",
    0
   ],
   "audio": [
    "121",
    0
   ]
  },
  "class_type": "CreateVideo",
  "_meta": {
   "title": "Create Video"
  }
 },
 "131": {
  "inputs": {
   "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17",
   "values.a": [
    "132",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "132": {
  "inputs": {
   "value": 5
  },
  "class_type": "PrimitiveFloat",
  "_meta": {
   "title": "Float (Duration)"
  }
 },
 "136": {
  "inputs": {
   "ref_image_size": "match",
   "clip": [
    "128",
    0
   ],
   "prompt": [
    "138",
    0
   ],
   "width": [
    "115",
    0
   ],
   "height": [
    "115",
    1
   ],
   "length": [
    "131",
    1
   ],
   "vae": [
    "119",
    0
   ],
   "audio_vae": [
    "120",
    0
   ]
  },
  "class_type": "MiniMaxH3ReferenceToVideo",
  "_meta": {
   "title": "MiniMax H3 Reference to Video"
  }
 },
 "138": {
  "inputs": {
   "value": "Scene: Hyperreal desert-storm aesthetic. A humanoid figure made of packed sand dances in a barren wasteland, each move shedding dust, the wind eroding and reshaping its body.\n[0s-2s] Pale desert, a sand humanoid begins to move from stillness, surface grains trickling off and dragging mist-like trails in the wind.\n[2s-4s] Spins and arm swings keep dissolving and rebuilding its edges, raised sand columns glowing gold in hard light under a searing white sky.\n[4s-5s] On the final pose, half the body has already been carried away by wind as a hanging line of sand, not yet fallen.\nCamera: medium fixed shot, focus pull from sand-grain close-up to full body.\nAudio: fine sand-scrape texture throughout, one distant desert wind call at 2s, no music.\nNegative: no dissolve transitions / no text overlays / no human face / no camera shake"
  },
  "class_type": "PrimitiveStringMultiline",
  "_meta": {
   "title": "Input Text (Prompt)"
  }
 },
 "141": {
  "inputs": {
   "switch": [
    "146",
    0
   ],
   "on_false": [
    "127",
    0
   ],
   "on_true": [
    "145",
    0
   ]
  },
  "class_type": "ComfySwitchNode",
  "_meta": {
   "title": "If/Else Switch (model)"
  }
 },
 "142": {
  "inputs": {
   "switch": [
    "146",
    0
   ],
   "on_false": [
    "143",
    0
   ],
   "on_true": [
    "144",
    0
   ]
  },
  "class_type": "ComfySwitchNode",
  "_meta": {
   "title": "If/Else Switch (Steps)"
  }
 },
 "143": {
  "inputs": {
   "value": 20
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Int (Full)"
  }
 },
 "144": {
  "inputs": {
   "value": 4
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Int (Lightning LoRA)"
  }
 },
 "145": {
  "inputs": {
   "lora_name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
   "strength_model": 1,
   "model": [
    "127",
    0
   ]
  },
  "class_type": "LoraLoaderModelOnly",
  "_meta": {
   "title": "Load LoRA"
  }
 },
 "146": {
  "inputs": {
   "value": false
  },
  "class_type": "PrimitiveBoolean",
  "_meta": {
   "title": "Boolean (Enable Lightning LoRA)"
  }
 },
 "172": {
  "inputs": {
   "strength": 1,
   "start_percent": 0,
   "end_percent": 1,
   "model": [
    "141",
    0
   ],
   "model_patch": [
    "173",
    0
   ],
   "vae": [
    "119",
    0
   ],
   "control_video": [
    "704",
    0
   ]
  },
  "class_type": "MiniMaxH3FunControlNetApply",
  "_meta": {
   "title": "Apply MiniMax H3 Fun ControlNet"
  }
 },
 "173": {
  "inputs": {
   "name": "minimax_h3_fun_controlnet_union_pruned_int8_convrot.safetensors"
  },
  "class_type": "ModelPatchLoader",
  "_meta": {
   "title": "Load Model Patch"
  }
 },
 "174": {
  "inputs": {
   "file": "dancer_field_pose.mp4"
  },
  "class_type": "LoadVideo",
  "_meta": {
   "title": "Load Video  (Control Video)"
  }
 },
 "700:671": {
  "inputs": {
   "batch_size": 16,
   "model": [
    "700:673",
    0
   ],
   "vae": [
    "700:673",
    2
   ],
   "image": [
    "700:674",
    0
   ],
   "bboxes": [
    "700:678",
    0
   ]
  },
  "class_type": "SDPoseKeypointExtractor",
  "_meta": {
   "title": "SDPose Keypoint Extractor"
  }
 },
 "700:674": {
  "inputs": {
   "resize_type": "scale longer dimension",
   "scale_method": "lanczos",
   "input": [
    "700:692",
    0
   ],
   "resize_type.longer_size": 1024
  },
  "class_type": "ResizeImageMaskNode",
  "_meta": {
   "title": "Resize Image/Mask"
  }
 },
 "700:672": {
  "inputs": {
   "draw_body": true,
   "draw_hands": true,
   "draw_face": true,
   "draw_feet": true,
   "stick_width": 4,
   "face_point_size": 2,
   "score_threshold": 0.51,
   "draw_head": true,
   "keypoints": [
    "700:671",
    0
   ]
  },
  "class_type": "SDPoseDrawKeypoints",
  "_meta": {
   "title": "SDPose Draw Keypoints"
  }
 },
 "700:673": {
  "inputs": {
   "ckpt_name": "sdpose_wholebody_fp16.safetensors"
  },
  "class_type": "CheckpointLoaderSimple",
  "_meta": {
   "title": "Load Checkpoint"
  }
 },
 "700:677": {
  "inputs": {
   "unet_name": "rt_detr_v4-x-hgnet_fp16.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "700:678": {
  "inputs": {
   "threshold": 0.5,
   "class_name": "person",
   "max_detections": 2,
   "model": [
    "700:677",
    0
   ],
   "image": [
    "700:674",
    0
   ]
  },
  "class_type": "RTDETR_detect",
  "_meta": {
   "title": "Run Real-Time Detection (RT-DETR)"
  }
 },
 "700:692": {
  "inputs": {
   "video": [
    "705",
    0
   ]
  },
  "class_type": "GetVideoComponents",
  "_meta": {
   "title": "Get Video Components"
  }
 },
 "704": {
  "inputs": {
   "images": [
    "700:672",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "705": {
  "inputs": {
   "start_time": 0,
   "duration": 0,
   "strict_duration": false,
   "video": [
    "174",
    0
   ]
  },
  "class_type": "Video Slice",
  "_meta": {
   "title": "Trim Video"
  }
 },
 "707": {
  "inputs": {
   "filename_prefix": "video/MiniMax_H3",
   "format": "auto",
   "codec": "auto",
   "video": [
    "130",
    0
   ],
   "format.codec": "auto"
  },
  "class_type": "SaveVideo",
  "_meta": {
   "title": "Save Video"
  }
 },
 "712": {
  "inputs": {
   "value": false
  },
  "class_type": "PrimitiveBoolean",
  "_meta": {
   "title": "Boolean (Enable Lightning LoRA)"
  }
 }
}