{
 "92": {
  "inputs": {
   "filename_prefix": "video/H3_ks_noir",
   "format": "auto",
   "codec": "auto",
   "video": [
    "130",
    0
   ],
   "format.codec": "auto"
  },
  "class_type": "SaveVideo",
  "_meta": {
   "title": "Save Video"
  }
 },
 "119": {
  "inputs": {
   "vae_name": "minimax_h3_video_vae_fp16.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": [
    "127",
    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": [
    "141",
    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": 1101
  },
  "class_type": "RandomNoise",
  "_meta": {
   "title": "RandomNoise"
  }
 },
 "130": {
  "inputs": {
   "fps": 24,
   "bit_depth": "auto",
   "color_space": "sRGB",
   "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": 8
  },
  "class_type": "PrimitiveFloat",
  "_meta": {
   "title": "Float (Duration)"
  }
 },
 "136": {
  "inputs": {
   "ref_image_size": "match",
   "clip": [
    "128",
    0
   ],
   "prompt": [
    "138",
    0
   ],
   "width": 1344,
   "height": 768,
   "length": [
    "131",
    1
   ],
   "vae": [
    "119",
    0
   ],
   "audio_vae": [
    "120",
    0
   ],
   "ref_images.ref_image_0": [
    "164",
    0
   ]
  },
  "class_type": "MiniMaxH3ReferenceToVideo",
  "_meta": {
   "title": "MiniMax H3 Reference to Video"
  }
 },
 "138": {
  "inputs": {
   "value": "subject_definitions:\n<Subject 1> is the young man in <Picture 1>, a male model with pale skin, dark straight brows, light eyes and a strong clean-shaven jaw.\n\nsummary:\n[reference generation] The target video is a four-shot mini-trailer in which <Subject 1> discovers the last golden apple, catches it in slow motion, reflects on it in voiceover and delivers a final line, with on-screen title text, dialogue, sound effects and score.\n\nretention_analysis:\n<Subject 1> (appears in [Shot 1], [Shot 2], [Shot 3], [Shot 4]): partially_preserved - his facial identity, pale skin, dark brows, light eyes and strong jaw are kept, while the swim cap and polka-dot shirt from <Picture 1> are replaced by short slicked-back dark hair, a charcoal double-breasted suit, a loosened tie and a fedora pushed back on his head, rendered in the target style.\n\ndetailed_description:\nThe target video is a 1940s black-and-white film noir shot on grainy 35mm film, high-contrast chiaroscuro lighting, hard venetian-blind shadows, deep blacks, gentle gate weave and soft halation around highlights.\n[Shot 1] A wide establishing shot shows a rain-slicked city alley at night beside a flickering neon diner sign reading \"THE LAST APPLE\", steam rising from a grate. <Subject 1> (S1), wearing short slicked-back dark hair, a charcoal double-breasted suit, a loosened tie and a fedora pushed back on his head, steps into the centre of the frame and looks up at the sign. The camera pushes in with small amplitude at slow speed as he says in a low, calm baritone voice: <d>[English] They said there was only one left.</d> He closes his mouth and narrows his eyes.\n[Shot 2] At 00:02.500, the camera cuts to a medium close-up as a glowing golden apple falls from above. embedding:minimaxh3_bullet_time Time freezes in bullet-time: rain drops, sparks and dust hang suspended in the air while the camera arcs around <Subject 1> with large amplitude at slow speed. He reaches up and the apple lands in his open palm with a sharp impact as time snaps back to normal speed.\n[Shot 3] At 00:05.000, the shot cuts to a smoky detective office with venetian blinds throwing striped shadows across a cluttered desk. <Subject 1> sets the golden apple down and stares at it as the camera trucks right with small amplitude at slow speed. <Subject 1> (S1) says in an off-screen voiceover: <d>[English] One apple. One chance.</d> while his lips remain completely closed.\n[Shot 4] At 00:06.500, the camera cuts to an extreme close-up of his face lit by the apple's golden glow; he raises one eyebrow and says: <d>[English] Let's make it count.</d> The camera pulls out at fast speed and bold title text reading \"THE LAST APPLE\" slams onto the centre of the screen as the image holds.\n\noverall_soundscape:\nRain patters on pavement and a tin awning while the neon sign buzzes; footsteps splash, the apple slaps into his palm, and a distant police siren fades in and out.\n\nnon_diegetic_music:\nA muted jazz trumpet over brushed snare and walking upright bass at a slow tempo, swelling with low strings on the final shot."
  },
  "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": true
  },
  "class_type": "PrimitiveBoolean",
  "_meta": {
   "title": "Boolean (Enable Lightning LoRA)"
  }
 },
 "164": {
  "inputs": {
   "image": "h3m_ref_1.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 }
}