LivePortrait + AnimateDiff backgrounds V 0.2
5.0
1 reviewsDescription
Easy workflow to create animatediff based animation with a Liveportrait. Create a nice prompt, select the subject that should be segmented and let this workflow do the rest.
Open this workflow, use Comfyui manager to download the missing nodes and you should be good to go. There are a few models needed for Controlnet but you can use this workflow without them
Node Diagram
Discussion
Exception during processing!!! ClipVision model not found.
Traceback (most recent call last):
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 511, in load_models
raise Exception("ClipVision model not found.")
Exception: ClipVision model not found.
this error shows
my ipadapter unified loader node not working
Make sure to use Comfyui manager and use it to download all the models you can find that are needed for IpAdapter, it will work nicely after
just run your workflow you will understand
see this
`Loading 1 new model
LivePortrait using fp16
Load appearance_feature_extractor done.
Load motion_extractor done.
Load warping_module done.
Load spade_generator done.
Load stitching_retargeting_module done.
!!! Exception during processing!!! LivePortraitProcess.process() missing 1 required positional argument: 'crop_info'
Traceback (most recent call last):
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: LivePortraitProcess.process() missing 1 required positional argument: 'crop_info'
Prompt executed in 23.44 seconds`
Just pushed a new version, let me know if it works
Node Details
Primitive Nodes (46)
DepthAnythingV2Preprocessor (1)
DownloadAndLoadLivePortraitModels (1)
Fast Groups Bypasser (rgthree) (1)
ImageConcatMulti (1)
LivePortraitComposite (1)
LivePortraitCropper (2)
LivePortraitLoadCropper (1)
LivePortraitLoadMediaPipeCropper (1)
LivePortraitProcess (1)
LivePortraitRetargeting (1)
Note (14)
PrimitiveNode (2)
Reroute (19)
Custom Nodes (97)
- ADE_LoopedUniformContextOptions (1)
- ADE_AnimateDiffLoaderGen1 (1)
ComfyUI
- LoraLoader (2)
- VAEEncode (2)
- VAEDecode (3)
- ControlNetApplyAdvanced (2)
- KSampler (2)
- ImageUpscaleWithModel (3)
- ImageScaleBy (2)
- CLIPTextEncode (4)
- CheckpointLoaderSimple (2)
- TomePatchModel (1)
- EmptyLatentImage (2)
- GrowMask (1)
- UpscaleModelLoader (3)
- PreviewImage (5)
- MaskToImage (1)
- LoadImage (1)
- SaveImage (1)
- KSamplerAdvanced (1)
- easy cleanGpuUsed (7)
- easy imageSize (5)
- MaskBlur+ (1)
- ImageDesaturate+ (1)
- ImageCompositeFromMaskBatch+ (1)
- MaskPreview+ (1)
- SAMLoader (1)
- IPAdapterUnifiedLoader (1)
- IPAdapterTiled (1)
- ControlNetLoaderAdvanced (2)
- Textbox (3)
- Int (1)
- VHS_VideoCombine (9)
- VHS_VideoInfo (2)
- VHS_LoadVideo (2)
- Unwrap Frame Set [DVB] (1)
- Linear Camera Zoom [DVB] (2)
- Create Frame Set [DVB] (1)
- Sine Camera Pan [DVB] (1)
- Sine Camera Zoom [DVB] (1)
- Linear Camera Pan [DVB] (1)
- GrowMaskWithBlur (1)
- CreateShapeMask (1)
- GetImageSizeAndCount (4)
- ImageResizeKJ (2)
- ConstrainImage|pysssss (1)
- Text _O (1)
- GroundingDinoSAMSegment (segment anything) (1)
- GroundingDinoModelLoader (segment anything) (1)
Model Details
Checkpoints (2)
sd15\level4_v50BakedVAEFp16.safetensors
sdxlTurbo\level4XL_alphaV03.safetensors
LoRAs (2)
AnimateLCM_sd15_t2v_lora.safetensors
uum4ns_01.safetensors