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
{
"1": {
"class_type": "VHS_LoadVideoFFmpeg",
"inputs": {
"video": "input.mp4",
"force_rate": 24,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 141,
"start_time": 0,
"format": "None"
},
"_meta": {
"title": "1 · Source video — selected motion clip"
}
},
"20": {
"class_type": "LoadImage",
"inputs": {
"image": "example.png"
},
"_meta": {
"title": "Character photo"
}
},
"30": {
"class_type": "VRAM_Debug",
"inputs": {
"empty_cache": true,
"gc_collect": true,
"unload_all_models": true,
"any_input": [
"20",
0
],
"image_pass": [
"1",
0
]
},
"_meta": {
"title": "Release VRAM before Metric3D"
}
},
"31": {
"class_type": "ImageScaleToMaxDimension",
"inputs": {
"image": [
"30",
1
],
"largest_size": 768,
"upscale_method": "area"
},
"_meta": {
"title": "Metric3D input video"
}
},
"32": {
"class_type": "Metric3D-NormalMapPreprocessor",
"inputs": {
"image": [
"31",
0
],
"backbone": "vit-small",
"fx": 1000,
"fy": 1000,
"resolution": 512
},
"_meta": {
"title": "4 · Source motion normals"
}
},
"33": {
"class_type": "ImageScale",
"inputs": {
"image": [
"32",
0
],
"width": 480,
"height": 864,
"upscale_method": "lanczos",
"crop": "disabled"
},
"_meta": {
"title": "Normals match the output canvas"
}
},
"36": {
"class_type": "H3SoundtrackOrSilence",
"inputs": {
"audio": [
"1",
2
],
"video_info": [
"1",
3
]
},
"_meta": {
"title": "Original soundtrack / silence when absent"
}
},
"49": {
"class_type": "ModelAttentionBackend",
"inputs": {
"model": [
"51",
0
],
"attention": "comfy kitchen attention"
},
"_meta": {
"title": "Comfy Kitchen Attention"
}
},
"50": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "H3 Diffusion Model"
}
},
"51": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"model": [
"50",
0
],
"lora_name": "minimax_h3_DMAD_4step_full_lora_avg_rank_39_bf16.safetensors",
"strength_model": 1
},
"_meta": {
"title": "DMAD LoRA"
}
},
"52": {
"class_type": "MiniMaxH3SigmaShift",
"inputs": {
"model": [
"90",
0
],
"shift_video": 12,
"shift_audio": 2
},
"_meta": {
"title": "H3 Sigma Shift"
}
},
"53": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
"type": "minimax",
"device": "default"
},
"_meta": {
"title": "H3 Text Encoder"
}
},
"54": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_video_vae_int8_convrot.safetensors"
},
"_meta": {
"title": "H3 Video VAE"
}
},
"55": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_audio_vae_fp32.safetensors"
},
"_meta": {
"title": "H3 Audio VAE"
}
},
"56": {
"class_type": "MiniMaxH3ReferenceToVideo",
"inputs": {
"clip": [
"53",
0
],
"vae": [
"54",
0
],
"audio_vae": [
"55",
0
],
"prompt": "subject_definitions:\n<Picture 1> defines the character's identity, face, hair, body and complete outfit, and the setting, background, colors, materials and lighting throughout the output.\n<Video 1> is a surface-orientation motion guide at 24 fps. Use the moving character's geometry, body pose, arm and leg movements, gestures, head direction, framing, character size and timing, and any camera movement, as the motion reference; the look of the output comes entirely from <Picture 1>.\n<Audio 1> is the original synchronized soundtrack.\n\nsummary:\n[video editing + reference generation + audio reuse] The character from <Picture 1> performs the movement of the character in <Video 1>, inside the setting of <Picture 1>. Keep the identity, face, hair, outfit, background and lighting of <Picture 1>. The picture is the appearance reference; the motion guide is the motion reference.\n\ndetailed_description:\nFrom the first frame the character holds the motion guide's first pose, framing and size, with the setting of <Picture 1> recomposed around them. Follow the motion guide's poses and gestures at the corresponding moments, through the last frame, moving into each new pose as it comes. Match its relative character size, camera perspective and any camera movement. Keep the picture's own setting, natural colors and environment coherent throughout the performance. Keep lighting and contact shadows consistent with the picture. Match visible speech to <Audio 1> when present.\n\noverall_soundscape:\nReuse <Audio 1> exactly as it is.",
"width": 480,
"height": 864,
"length": 141,
"ref_image_size": "match",
"ref_images.ref_image_0": [
"20",
0
],
"ref_videos.ref_video_0": [
"33",
0
],
"ref_video_audios.ref_video_audio_0": [
"36",
0
]
},
"_meta": {
"title": "5 · Character photo + normal motion reference"
}
},
"57": {
"class_type": "BasicGuider",
"inputs": {
"model": [
"52",
0
],
"conditioning": [
"56",
0
]
},
"_meta": {
"title": "H3 Guider"
}
},
"58": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 2577489884
},
"_meta": {
"title": "Video seed"
}
},
"59": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
},
"_meta": {
"title": "Video sampler"
}
},
"60": {
"class_type": "BasicScheduler",
"inputs": {
"model": [
"52",
0
],
"scheduler": "simple",
"steps": 6,
"denoise": 1
},
"_meta": {
"title": "H3 · 6 steps"
}
},
"61": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"noise": [
"58",
0
],
"guider": [
"57",
0
],
"sampler": [
"59",
0
],
"sigmas": [
"60",
0
],
"latent_image": [
"56",
1
]
},
"_meta": {
"title": "Generate motion"
}
},
"62": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"61",
0
],
"vae": [
"54",
0
]
},
"_meta": {
"title": "Decode video"
}
},
"63": {
"class_type": "VHS_VideoCombine",
"inputs": {
"images": [
"62",
0
],
"audio": [
"36",
0
],
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "fuobe/video-motion-transfer-h3",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 16,
"save_metadata": false,
"trim_to_audio": false,
"pingpong": false,
"save_output": true
},
"_meta": {
"title": "6 · Result with the clip's soundtrack"
}
},
"90": {
"inputs": {
"selection": "sol-attn",
"selection.tau": 1.3,
"start_percent": 0.2,
"end_percent": 1,
"dense_blocks": "",
"min_tokens": 12288,
"extra_tokens": 256,
"sink_conditioning": "exact_kv_and_rows",
"verbose": false,
"model": [
"49",
0
]
},
"class_type": "BlockSparseAttention",
"_meta": {
"title": "Sparse attention (sol-attn)"
}
}
}