ComfyUI > Nodes > ComfyUI_Animation_Nodes_and_Workflows > Video for LivePortrait

ComfyUI Node: Video for LivePortrait

Class Name

MakeDrivingVideoForLivePortrait

Category
image
Author
Isi-dev (Account age: 1732days)
Extension
ComfyUI_Animation_Nodes_and_Workflows
Latest Updated
2026-03-25
Github Stars
0.03K

How to Install ComfyUI_Animation_Nodes_and_Workflows

Install this extension via the ComfyUI Manager by searching for ComfyUI_Animation_Nodes_and_Workflows
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Animation_Nodes_and_Workflows in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Video for LivePortrait Description

Generates dynamic driving videos from static portraits for lifelike animations.

Video for LivePortrait:

The MakeDrivingVideoForLivePortrait node is designed to generate dynamic driving videos for live portrait animations. This node is particularly useful for creating engaging and lifelike animations by transforming static portrait images into animated sequences. By leveraging advanced video processing techniques, it allows you to animate facial features and expressions, providing a more immersive and realistic portrayal of characters. The primary goal of this node is to enhance the visual storytelling experience by adding motion to otherwise static images, making it an invaluable tool for AI artists looking to bring their digital portraits to life.

Video for LivePortrait Input Parameters:

camera_pose

The camera_pose parameter determines the type of camera movement applied to the video. Options include "Static", "Pan Up", "Pan Down", "Pan Left", "Pan Right", "Zoom In", "Zoom Out", "Anti Clockwise (ACW)", and "ClockWise (CW)". The default is "Static". This parameter affects how the camera navigates around the portrait, influencing the overall dynamic feel of the animation.

width

The width parameter specifies the width of the output video in pixels. It ranges from a minimum of 16 to a maximum defined by the system's maximum resolution, with a default value of 832. This parameter impacts the horizontal resolution of the video, affecting its clarity and detail.

height

The height parameter defines the height of the output video in pixels. Similar to the width, it ranges from 16 to the system's maximum resolution, with a default of 480. This parameter influences the vertical resolution, contributing to the overall aspect ratio and quality of the video.

length

The length parameter indicates the number of frames in the video. It ranges from 1 to the system's maximum resolution, with a default of 81. This parameter determines the duration of the animation, affecting how long the video will play.

speed

The speed parameter controls the speed of the animation, ranging from 0 to 10.0, with a default of 1.0. This optional parameter allows you to adjust how fast or slow the animation plays, providing flexibility in the pacing of the video.

fx

The fx parameter is an advanced setting that adjusts the horizontal focal length of the camera, ranging from 0 to 1, with a default of 0.5. This optional parameter can be used to fine-tune the perspective and depth of the animation.

fy

The fy parameter is another advanced setting that modifies the vertical focal length of the camera, also ranging from 0 to 1, with a default of 0.5. Like fx, this optional parameter helps in adjusting the perspective and depth of the video.

cx

The cx parameter sets the horizontal center of the camera's view, ranging from 0 to 1, with a default of 0.5. This optional parameter allows for precise control over the camera's horizontal alignment in the animation.

cy

The cy parameter defines the vertical center of the camera's view, ranging from 0 to 1, with a default of 0.5. This optional parameter provides control over the camera's vertical alignment, ensuring the subject is centered as desired.

Video for LivePortrait Output Parameters:

face_video_pixels

The face_video_pixels output parameter represents the processed video frames of the animated portrait. This output is crucial as it contains the pixel data that forms the animated sequence, allowing you to visualize the transformation from a static image to a dynamic video.

pose_video_latent

The pose_video_latent output parameter contains the latent representation of the pose video. This data is essential for understanding the underlying structure and motion dynamics of the animation, providing insights into how the portrait's movements are encoded.

Video for LivePortrait Usage Tips:

  • Experiment with different camera_pose settings to find the most dynamic and engaging animation style for your portrait.
  • Adjust the speed parameter to match the mood and pacing of your project, whether you want a slow, dramatic effect or a fast-paced, energetic animation.
  • Use the fx, fy, cx, and cy parameters to fine-tune the camera's perspective and ensure your subject is framed perfectly.

Video for LivePortrait Common Errors and Solutions:

"Video frame offset exceeds video length"

  • Explanation: This error occurs when the specified video_frame_offset is greater than the total number of frames in the input video.
  • Solution: Ensure that the video_frame_offset is set to a value less than the total frame count of the input video to avoid this error.

"Invalid resolution settings"

  • Explanation: This error arises when the width or height parameters are set outside the allowable range.
  • Solution: Verify that the width and height parameters are within the specified range and adjust them accordingly to resolve this issue.

Video for LivePortrait Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Animation_Nodes_and_Workflows
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.