The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
{
"model": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "UNETLoader"
}
},
"shift": {
"class_type": "MiniMaxH3SigmaShift",
"inputs": {
"model": [
"model",
0
],
"shift_video": 12.0,
"shift_audio": 3.0
},
"_meta": {
"title": "MiniMaxH3SigmaShift"
}
},
"attention": {
"class_type": "ModelAttentionBackend",
"inputs": {
"model": [
"shift",
0
],
"attention": "comfy kitchen attention"
},
"_meta": {
"title": "ModelAttentionBackend"
}
},
"text": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
"type": "minimax",
"device": "default"
},
"_meta": {
"title": "CLIPLoader"
}
},
"text_device": {
"class_type": "SelectCLIPDevice",
"inputs": {
"clip": [
"text",
0
],
"device": "gpu:0"
},
"_meta": {
"title": "SelectCLIPDevice"
}
},
"text_memory": {
"class_type": "H3RelayTextMemory",
"inputs": {
"clip": [
"text_device",
0
]
},
"_meta": {
"title": "H3RelayTextMemory"
}
},
"video_vae": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_video_vae_fp16.safetensors"
},
"_meta": {
"title": "VAELoader"
}
},
"audio_vae": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_audio_vae_fp32.safetensors"
},
"_meta": {
"title": "VAELoader"
}
},
"adapter": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"model": [
"attention",
0
],
"lora_name": "H3-Person-Remover-V1.safetensors",
"strength_model": 1.0
},
"_meta": {
"title": "LoraLoaderModelOnly"
}
},
"source": {
"class_type": "LoadVideo",
"inputs": {
"file": "source.mp4"
},
"_meta": {
"title": "Source video (24 fps, sides on the 32 grid)"
}
},
"components": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"source",
0
]
},
"_meta": {
"title": "GetVideoComponents"
}
},
"dimensions": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"components",
0
]
},
"_meta": {
"title": "GetImageSize"
}
},
"anchor": {
"class_type": "LoadImage",
"inputs": {
"image": "clean-first-frame.png"
},
"_meta": {
"title": "Clean first frame (made by the app)"
}
},
"green": {
"class_type": "EmptyImage",
"inputs": {
"width": [
"dimensions",
0
],
"height": [
"dimensions",
1
],
"batch_size": 1,
"color": 65280
},
"_meta": {
"title": "EmptyImage"
}
},
"sam": {
"class_type": "CheckpointLoaderSimple",
"inputs": {
"ckpt_name": "sam3.1_multiplex_fp16.safetensors"
},
"_meta": {
"title": "CheckpointLoaderSimple"
}
},
"subject": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"sam",
1
],
"text": "person"
},
"_meta": {
"title": "Who to remove (SAM 3.1 words)"
}
},
"first_frame": {
"class_type": "ImageFromBatch",
"inputs": {
"image": [
"components",
0
],
"batch_index": 0,
"length": 1
},
"_meta": {
"title": "ImageFromBatch"
}
},
"detect": {
"class_type": "SAM3_Detect",
"inputs": {
"model": [
"sam",
0
],
"image": [
"first_frame",
0
],
"conditioning": [
"subject",
0
],
"threshold": 0.4,
"refine_iterations": 2,
"individual_masks": false
},
"_meta": {
"title": "SAM3_Detect"
}
},
"track": {
"class_type": "SAM3_VideoTrack",
"inputs": {
"model": [
"sam",
0
],
"images": [
"components",
0
],
"initial_mask": [
"detect",
0
],
"conditioning": [
"subject",
0
],
"detection_threshold": 0.5,
"max_objects": 1,
"detect_interval": 12
},
"_meta": {
"title": "SAM3_VideoTrack"
}
},
"mask": {
"class_type": "SAM3_TrackToMask",
"inputs": {
"track_data": [
"track",
0
],
"object_indices": ""
},
"_meta": {
"title": "SAM3_TrackToMask"
}
},
"binary_mask": {
"class_type": "ThresholdMask",
"inputs": {
"mask": [
"mask",
0
],
"value": 0.5
},
"_meta": {
"title": "ThresholdMask"
}
},
"grow_mask": {
"class_type": "GrowMask",
"inputs": {
"mask": [
"binary_mask",
0
],
"expand": 5,
"tapered_corners": false
},
"_meta": {
"title": "GrowMask"
}
},
"green_guide": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"components",
0
],
"source": [
"green",
0
],
"mask": [
"grow_mask",
0
],
"x": 0,
"y": 0,
"resize_source": false
},
"_meta": {
"title": "ImageCompositeMasked"
}
},
"plan": {
"class_type": "H3RelayWindowPlan",
"inputs": {
"source_frames": [
"dimensions",
2
],
"window_frames": "22",
"history_frames": "18",
"seed": 904234,
"schedule": "removal_v1",
"seed_mode": "increment",
"seed_overrides": "{}"
},
"_meta": {
"title": "Plan source-aligned windows"
}
},
"start": {
"class_type": "StartLoop",
"inputs": {
"mode": "simple",
"mode.num_iterations": [
"review",
2
],
"cache_iterations": false,
"initial_iteration_value": [
"review",
1
]
},
"_meta": {
"title": "Native loop · one H3 window"
}
},
"window": {
"class_type": "H3RelayWindowInputs",
"inputs": {
"source": [
"review",
4
],
"window": [
"review",
3
],
"iteration_index": [
"start",
0
],
"previous": [
"start",
4
],
"reference_history": false,
"fps": [
"components",
2
],
"resize_anchor": false,
"history_audio_mode": "generated",
"anchor": [
"anchor_fit",
0
]
},
"_meta": {
"title": "H3RelayWindowInputs"
}
},
"reference_conditioning": {
"class_type": "MiniMaxH3ReferenceToVideo",
"inputs": {
"clip": [
"text_memory",
0
],
"prompt": "Remove the green-masked person and reconstruct the background. Preserve the rest of the video, including its camera motion and frame timing.",
"width": [
"dimensions",
0
],
"height": [
"dimensions",
1
],
"length": [
"window",
8
],
"ref_image_size": "match",
"ref_videos.ref_video_0": [
"window",
5
],
"ref_images.ref_image_0": [
"window",
11
]
},
"_meta": {
"title": "Native H3 reference conditioning"
}
},
"history": {
"class_type": "H3RelayApplyHistory",
"inputs": {
"positive": [
"reference_conditioning",
0
],
"latent": [
"reference_conditioning",
1
],
"vae": [
"video_vae",
0
],
"audio_vae": [
"audio_vae",
0
],
"frames": [
"window",
3
],
"history_frames": [
"window",
7
],
"first_frame_guide": false,
"target_audio_guide": false,
"audio": [
"window",
4
]
},
"_meta": {
"title": "H3RelayApplyHistory"
}
},
"guide": {
"class_type": "MiniMaxH3AddGuide",
"inputs": {
"positive": [
"history",
0
],
"latent": [
"history",
1
],
"frame_idx": 0,
"vae": [
"video_vae",
0
],
"image": [
"window",
0
]
},
"_meta": {
"title": "Native target guide"
}
},
"sampling_memory": {
"class_type": "H3RelaySamplingMemory",
"inputs": {
"model": [
"adapter",
0
],
"latent": [
"history",
1
],
"conditioning": [
"guide",
0
],
"activation_memory_gib": 4.0
},
"_meta": {
"title": "H3RelaySamplingMemory"
}
},
"noise": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": [
"window",
10
]
},
"_meta": {
"title": "RandomNoise"
}
},
"guider": {
"class_type": "CFGGuider",
"inputs": {
"model": [
"sampling_memory",
0
],
"positive": [
"guide",
0
],
"negative": [
"guide",
0
],
"cfg": 1.0
},
"_meta": {
"title": "CFGGuider"
}
},
"sampler": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "er_sde"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"schedule": {
"class_type": "BasicScheduler",
"inputs": {
"model": [
"adapter",
0
],
"scheduler": "simple",
"steps": 12,
"denoise": 1.0
},
"_meta": {
"title": "BasicScheduler"
}
},
"sample": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"noise": [
"noise",
0
],
"guider": [
"guider",
0
],
"sampler": [
"sampler",
0
],
"sigmas": [
"schedule",
0
],
"latent_image": [
"history",
1
]
},
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"separate": {
"class_type": "LTXVSeparateAVLatent",
"inputs": {
"av_latent": [
"sample",
0
]
},
"_meta": {
"title": "LTXVSeparateAVLatent"
}
},
"decode": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"separate",
0
],
"vae": [
"video_vae",
0
]
},
"_meta": {
"title": "VAEDecode"
}
},
"append": {
"class_type": "H3RelayAppendWindow",
"inputs": {
"frames": [
"decode",
0
],
"window": [
"window",
12
],
"previous": [
"start",
4
],
"audio": [
"decode_audio",
0
]
},
"_meta": {
"title": "H3RelayAppendWindow"
}
},
"end": {
"class_type": "EndLoop",
"inputs": {
"output_value": [
"append",
0
],
"next_iteration_value": [
"append",
0
],
"accumulate": false
},
"_meta": {
"title": "EndLoop"
}
},
"finish": {
"class_type": "H3RelayFinishWindows",
"inputs": {
"state": [
"end",
0
],
"audio_mode": "none"
},
"_meta": {
"title": "H3RelayFinishWindows"
}
},
"video": {
"class_type": "CreateVideo",
"inputs": {
"images": [
"finish",
0
],
"fps": [
"finish",
2
]
},
"_meta": {
"title": "CreateVideo"
}
},
"save": {
"class_type": "SaveVideo",
"inputs": {
"video": [
"video",
0
],
"filename_prefix": "fuobe/video-person-remove-h3-relay",
"format": "mp4",
"format.codec": "h264",
"format.codec.encoding": "re-encode",
"format.codec.encoding.crf": 16
},
"_meta": {
"title": "SaveVideo"
}
},
"review": {
"class_type": "H3RelayReviewWindows",
"inputs": {
"windows": [
"plan",
0
],
"source": [
"green_guide",
0
],
"anchor": [
"anchor_fit",
0
],
"window_controls": "{}"
},
"_meta": {
"title": "H3RelayReviewWindows"
}
},
"decode_audio": {
"class_type": "VAEDecodeAudio",
"inputs": {
"samples": [
"separate",
1
],
"vae": [
"audio_vae",
0
]
},
"_meta": {
"title": "VAEDecodeAudio"
}
},
"anchor_fit": {
"class_type": "ImageScale",
"inputs": {
"upscale_method": "lanczos",
"width": [
"dimensions",
0
],
"height": [
"dimensions",
1
],
"crop": "center",
"image": [
"anchor",
0
]
},
"_meta": {
"title": "Clean first frame at the video's exact size"
}
}
}