Fcswap2 / workflow_api.json
Elsen001's picture
Rename facefusion_swapper_hf.py to workflow_api.json
92e1932 verified
Raw History Blame Contribute Delete
3.1 kB
{
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
"weight_dtype": "default"
}
},
"2": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"model": ["1", 0],
"lora_name": "minimax_h3_turbo_4step_ckpt500_pruned_comfyui.safetensors",
"strength_model": 1.0
}
},
"3": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
"type": "minimax",
"device": "default"
}
},
"4": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_video_vae_fp16.safetensors"
}
},
"5": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_audio_vae_fp32.safetensors"
}
},
"6": {
"class_type": "LoadImage",
"inputs": {
"image": "character.png",
"upload": "image"
}
},
"7": {
"class_type": "VHS_LoadVideo",
"inputs": {
"video": "motion.mp4",
"force_rate": 24,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff"
}
},
"8": {
"class_type": "MiniMaxH3ReferenceToVideo",
"inputs": {
"clip": ["3", 0],
"vae": ["4", 0],
"audio_vae": ["5", 0],
"ref_images.ref_image_0": ["6", 0],
"ref_videos.ref_video_0": ["7", 0],
"ref_video_audios.ref_video_audio_0": ["7", 2],
"prompt": "The character from <Picture 1> performs the exact same movements and pose as the person in <Video 1>.",
"width": 480,
"height": 832,
"length": 53,
"ref_image_size": "match"
}
},
"9": {
"class_type": "BasicGuider",
"inputs": {
"model": ["2", 0],
"conditioning": ["8", 0]
}
},
"10": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 42
}
},
"11": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
}
},
"12": {
"class_type": "BasicScheduler",
"inputs": {
"model": ["2", 0],
"scheduler": "beta",
"steps": 6,
"denoise": 1.0
}
},
"13": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"noise": ["10", 0],
"guider": ["9", 0],
"sampler": ["11", 0],
"sigmas": ["12", 0],
"latent_image": ["8", 1]
}
},
"14": {
"class_type": "VAEDecode",
"inputs": {
"samples": ["13", 0],
"vae": ["4", 0]
}
},
"15": {
"class_type": "VAEDecodeAudio",
"inputs": {
"samples": ["13", 0],
"vae": ["5", 0]
}
},
"16": {
"class_type": "VHS_VideoCombine",
"inputs": {
"images": ["14", 0],
"audio": ["15", 0],
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "MiniMax_H3_Ref2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true
}
}
}