AGEofLLMs.com
Search

Live Portrait AI: Facial Expressions Wizzard

Calculating... Comments

Live Portrait AI is an advanced tool that brings static images to life with incredibly realistic facial expressions and movements. This groundbreaking technology can transfer emotions and expressions from a reference video to a still image, creating animations that are almost indistinguishable from real videos. LivePortrait AI was developed by Kwai Technology, also known as Kuaishou Technology. Kwai is the same company that created another AI video tool called Kling.

live portrait example blonde woman
Live Portrait Example

Live Portrait technology also exists inside the ComfyUI framework. This integration is achieved through custom nodes created by developers like Kijai.

Live Portrait AI Key Features

  1. Free and open-source
  2. Realistic facial expression transfer
  3. Compatible with various image styles (realistic, cartoon, oil paintings, etc.)
  4. No need for high-end GPU

How to Access and Use Live Portrait AI

There are three main ways to access this tool online for free:

  1. Hugging Face: A simple interface where you upload your source image and a driving video
  2. Replicate: Another online platform offering the Live Portrait AI tool
  3. Google Colab: A notebook that allows you to run the tool without local installation
live-portrait-interface-screenshot
Hugging Face's Interface for Live Portrait AI, Screenshot

Step-by-Step Guide

  1. Choose one of the online methods (e.g., Hugging Face)
  2. Upload your source image
  3. Select or upload a driving video with desired expressions
  4. Click the "Animate" button
  5. Wait for the AI to process and generate the output video

Live Portrait can handle artsy and cartoonish representations of human faces. In practice, it will sometimes animate human-like monsters, surreal humanoid creatures, but the results tend to be underwhelming, or maybe it was just my luck.

Works best with clearly outlined, evenly lit faces. Will sometimes struggle with cinametic lighting or low quality images with poor resolution. 

live-portrait-image-selection
Selecting Suitable Image for Animation

Distance matters: too close can sometimes lead to failing to detect a face. Usually best to include some shoulders, or upload a loose close-up.

The model can detect multiple faces, and is claimed to have the ability to animate several persons at once, but online versions so far are limited to one face only. Perhaps on local installations with some settings modification it can do both 'Ma and Pa' from "American Gothic':

multiple-faces-liveportrait-logs
Tried to Animate 2 Faces with Live Portrait
live portrait animated american gothic painting
Pa from American Gothic Painting in Live Portrait

Another use of live portrait model is eyes and lips retargeting. Retargeting is a technique in the LivePortrait framework to animate static portrait images by controlling the movement of eyes and lips independently. On the same Hugging Face page, just below the video section, there is retargeting option which will allow you to clos-open eyes and lips of your chosen portrait.

LivePortrait Retargeting Module
LivePortrait Retargeting Module

Applications and Implications

Live Portrait AI is clearly a major leap forward in image-to-video animation technology. Its ability to create lifelike expressions and movements from static images opens up new creative possibilities for both amateur and professional content creators.

Live Portrait AI has significant potential in various fields:

  • AI filmmaking
  • Personalized video messages
  • Digital content creation 

While the technology offers exciting possibilities, like many other newest tech advancements, it has a potential for misuse, such as creating deepfakes for malicious purposes. This raises ethical issues around consent, privacy, and the authenticity of digital content.

My Live Portraits

I went over to Hugging Face and tried animating the portraits from doodles I've generated earlier. It's pretty amazing, all right!

live-portrait-interface-screenshot
Hugging Face's Live Portrait Generation from Sketch

So this one I've just tested it using Replicate's interface with some of my previously generated Midjourney headshots:

liveportrait source-images redhead girl headshots
Source Headshots for Live Portrait Video

Short Live Portrait Test

Here is the generated video with facial expressions of my two static headshot pictures.

Related Posts

Visitor Comments

Please prove you are human by selecting the tree.