ComfyUI > Nodes > ComfyUI_Aniportrait

ComfyUI Extension: ComfyUI_Aniportrait

Repo Name

ComfyUI_Aniportrait

Author
FrankChieng (Account age: 449 days)
Nodes
View all nodes(6)
Latest Updated
2024-06-26
Github Stars
0.05K

How to Install ComfyUI_Aniportrait

Install this extension via the ComfyUI Manager by searching for ComfyUI_Aniportrait
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Aniportrait 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI_Aniportrait Description

ComfyUI_Aniportrait enables video generation through self-driven, face reenactment, and audio-driven methods using a reference image, leveraging the AniPortrait framework for dynamic and realistic animations.

ComfyUI_Aniportrait Introduction

ComfyUI_Aniportrait is an extension designed to enhance the capabilities of AI artists by providing advanced tools for video and image manipulation. This extension integrates seamlessly with ComfyUI, allowing users to create stunning animations and portraits with ease. Whether you are looking to generate videos from raw footage, create audio-driven animations, or perform face reenactments, ComfyUI_Aniportrait offers a comprehensive suite of features to meet your needs.

How ComfyUI_Aniportrait Works

At its core, ComfyUI_Aniportrait leverages advanced machine learning models to process and transform video and image data. The extension uses a combination of pre-trained models and custom nodes to perform tasks such as frame interpolation, pose estimation, and audio-to-video synchronization. By converting video files into a series of images and applying various transformations, ComfyUI_Aniportrait can generate high-quality animations and portraits that are both realistic and visually appealing.

ComfyUI_Aniportrait Features

Frame Interpolation

This feature speeds up the generation process by interpolating frames, allowing for smoother and more fluid animations. It is particularly useful for creating high-frame-rate videos from lower-frame-rate sources.

VHS Nodes Integration

ComfyUI_Aniportrait supports the VHS nodes from the ComfyUI-VideoHelperSuite. This integration allows for efficient video and image processing, including loading, resizing, and combining video frames.

Raw Video to Pose Video

This feature converts raw video footage into pose-based animations using a reference image. It is ideal for creating self-driven animations where the movement is guided by the pose of a reference image. pose2video

Audio-Driven Animations

This feature allows you to create animations driven by audio input. By combining audio with reference images or videos, you can generate dynamic animations that sync perfectly with the audio track. audio2video audio2video workflow

Face Reenactment

This feature enables you to perform face reenactments by mapping the facial expressions and movements from one video onto another. It is perfect for creating realistic and expressive animations. face_reenacment video2video workflow

ComfyUI_Aniportrait Models

ComfyUI_Aniportrait utilizes several pre-trained models to achieve its advanced functionalities. Here are the key models and their purposes:

  • StableDiffusion V1.5: Used for generating high-quality images and animations.
  • sd-vae-ft-mse: A variational autoencoder model that enhances image quality.
  • image_encoder: Encodes images into a format suitable for further processing.
  • wav2vec2-base-960h: A model for processing audio input, enabling audio-driven animations.
  • audio2mesh.pt: Converts audio input into mesh data for animation.
  • audio2pose.pt: Converts audio input into pose data for animation.
  • denoising_unet.pth: A denoising model that improves the quality of generated images.
  • reference_unet.pth: A model used for reference-based image generation.
  • pose_guider.pth: Guides the pose estimation process.
  • motion_module.pth: Handles motion estimation for animations.
  • film_net_fp16.pt: A model for film-like video generation.

What's New with ComfyUI_Aniportrait

Recent Updates

  • [2024/04/09]: Added raw video to pose video with reference image, audio-driven animations, and face reenactment features.
  • [2024/04/22]: Implemented the audio2pose model and pre-trained weights for audio-to-video generation. The face reenactment and audio-to-video workflows have been updated to support inference up to a maximum length of 10 seconds. These updates enhance the extension's capabilities, making it more versatile and user-friendly for AI artists.

Troubleshooting ComfyUI_Aniportrait

Common Issues and Solutions

  1. Video Size Issues: Ensure that the uploaded video is square-sized (e.g., 512x512). Non-square videos may produce distorted results.
  2. Model Loading Errors: Verify that all pre-trained models and weights are correctly downloaded and placed in the appropriate directories.
  3. Frame Rate Mismatch: If the output video appears choppy, check the frame rate settings and ensure they match the input video's frame rate.

Frequently Asked Questions

  • Q: How do I install ComfyUI_Aniportrait?
  • A: Clone the repository and install the required dependencies using pip install -r requirements.txt.
  • Q: Where can I find the pre-trained models?
  • A: The models can be downloaded from the provided links in the readme.
  • Q: How do I customize the animation settings?
  • A: You can adjust the settings in the workflow JSON files provided in the repository.

Learn More about ComfyUI_Aniportrait

For additional resources, tutorials, and community support, check out the following links:

ComfyUI_Aniportrait Related Nodes

RunComfy

Ā© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.