LivePortrait In ComfyUI - A Hedra AI Alike Talking Avatar In Local PC

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • LivePortrait In ComfyUI - A Hedra AI Alike Talking Avatar In Local PC
    We are diving into the use of LivePortrait In ComfyUI, an AI model that brings your photos to life with realistic movements. With LivePortrait, you can create animated portraits that resemble those magical moving pictures from the Harry Potter series.
    About LivePortrait : thefuturethink...
    *** Update : LivePortrait Video2Video Method Here : • LivePortrait In ComfyU...
    In this tutorial, I'll explain how LivePortrait works, utilizing implicit keypoints to understand and animate important parts of your face. We'll explore how it learns from real videos, allowing your photo to mimic the motions of the person in the video.
    I'll guide you through the installation process of the LivePortrait custom node in ComfyUI, including the download of the safe tensors model and the non-commercial face recognition library, InsightFace. We'll also discuss the necessary dependencies and components for this custom nodes project.
    Next, I'll demonstrate how to set up and configure the LivePortrait custom node, showcasing different examples and settings. We'll explore retargeting options for eyes and lips, and the impact they have on the animation. I'll share tips on achieving more natural and detailed facial movements by fine-tuning the settings.
    LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control
    liveportrait.g...
    github.com/Kwa...
    github.com/kij...
    If You Like tutorial like this, You Can Support Our Work In Patreon:
    / aifuturetech
    Discord : / discord
    #hedra #LivePortrait #talkingavatar

Komentáře • 122

  • @dannii_L
    @dannii_L Před měsícem +3

    That girl doing the hyperactive facial movements has a very particular talent set indeed. It's actually crazy how nicely it translates to the model though and the model's smile gives it an almost anime like quality alongside the over-emphasised faces that anime characters love to pull.

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      I will try some anime image and test how smooth it can be. :)

    • @knightride9635
      @knightride9635 Před měsícem

      Do you think it can work on a 6gb GPU ?

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      @@knightride9635 na... don't put yourself in a difficult situation. You won't have mood to run AI with it.

    • @carterd2870
      @carterd2870 Před měsícem

      @@knightride9635 cant

  • @chunlingjohnnyliu2889
    @chunlingjohnnyliu2889 Před měsícem +1

    An image to image implementation of this can really help creating a more diverse facial expressions for all of the ai generations, definitely testing it out.

  • @MrDebranjandutta
    @MrDebranjandutta Před měsícem

    Man you are such a blessing! God bless you mate.

  • @WiLDeveD
    @WiLDeveD Před měsícem

    You're Awesome man ! Awesome... Best Comfy channel in CZcams is this channel. thanks for creating such a useful content 👍💯

  • @davimak4671
    @davimak4671 Před měsícem +2

    Bro, good continuation would be to explain how to use it - vid to vid. Can you explain this? I saw examples when guys making vid to vid using liveportait and this is awesome

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      U are in a right time😉 check out the Community tab in this channel

  • @user-gk7ty6yg5y
    @user-gk7ty6yg5y Před měsícem +1

    Wow. Thank you for video. Can you do a tutorial how use Wunjo open source?

  • @crazyleafdesignweb
    @crazyleafdesignweb Před měsícem

    Great one 👍 i have been play around with it this afternoon 😆

  • @WiLDeveD
    @WiLDeveD Před měsícem +2

    this node could be used in many AI Videos. Education , Fun , News , ...

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      saw a lots of AI software introductory channels , telling people to use some software like this to create Faceless channel, doing news, sports report. haha, well, it can be creative.

    • @WiLDeveD
      @WiLDeveD Před měsícem

      @@TheFutureThinker ❤💯

    • @WiLDeveD
      @WiLDeveD Před měsícem

      @@TheFutureThinker and some youtubers already use it for Faceless channel. including you 😊😊😊

  • @zimnelredoran9985
    @zimnelredoran9985 Před měsícem +1

    Hi there, thanks a lot for this, I've been tinkering with it for hours. I just got an issue when I bypass the image concatenate multi node, the output that I get from video combine is not the source image animated, I just get the source video again.

  • @LuckRenewal
    @LuckRenewal Před 21 dnem

    this is good! thanks for sharing!

  • @JaysterJayster
    @JaysterJayster Před měsícem +1

    I always have an error on my first step 😂 that first custom node you mentioned shows 2 node conflicts. I’m new to this so idk what to do next

  • @kopper1956
    @kopper1956 Před měsícem

    You need Resize and Concat nodes if you want to see ref and output videos side-by-side only

  • @UnsolvedMystery51
    @UnsolvedMystery51 Před měsícem

    this is awesome! thank you!

  • @justaguy-69
    @justaguy-69 Před 22 dny

    can you do a video of changing the mouth movement in a video?
    like input a video then change the video to say what you want , this would be good in a stand alone open source format.
    also something that works on AMD not just invidia

  • @BCCBiz-dc5tg
    @BCCBiz-dc5tg Před měsícem +1

    Awesome!

  • @DeFirm-
    @DeFirm- Před měsícem

    and i'm here, waiting for a1111 version :)))

  • @cerlinealviora
    @cerlinealviora Před 11 dny

    hi thank you so much, and how to make more than 8 second video? my input video is 13 sec but the ouput is just 8 sec. why is that?

  • @mohamedrizwan.m7755
    @mohamedrizwan.m7755 Před měsícem +1

    TypeError: LivePortraitProcess.process() missing 1 required positional argument: 'crop_info'
    This what i end up with, pls help

  • @DJVARAO
    @DJVARAO Před měsícem +1

    Awesome. Is there any similar node for static images? I want to copy the exact expression from a picture.

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      Well, you can change the Load Video to Load Image, I think. Because in theory its handle image frames as the face pose.

  • @TheGoodContent37
    @TheGoodContent37 Před měsícem

    Which would be the best hardware specs to use these tools?

  • @kalakala4803
    @kalakala4803 Před měsícem +2

    😆😆lets go make some fun faces

  • @DaveTheAIMad
    @DaveTheAIMad Před měsícem

    One thing with hedra though is you can create a talking avatar with just a single image and a wav/mp3 file.
    I wish we could do that in comfyui but everything i have tried is either broken or needs a video to guide it.
    The insane thing is over a decade ago I had a tool called crazy talk that did what hedra does... maybe not as well and you had to mask the avatar, set the eyes and mouth your self.... but it did it.

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      Oh yes, that reminds me. Some face swap alike software before.

    • @DaveTheAIMad
      @DaveTheAIMad Před měsícem

      @TheFutureThinker yeah used to be tons of mobile phone ones... which worked... to a point lol.. we are spoiled for what we have now, just occasionally you find something we just can't do.
      Sound+single image to talking avatar being one.
      Local music generation with lyrics would be the other major one. Suno and udio(though I found for my needs udio is really bad) have cornered the market there and not about to release the weights anytime soon.

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      @@DaveTheAIMad and SFX also one

    • @DaveTheAIMad
      @DaveTheAIMad Před měsícem

      @@TheFutureThinker I think my other reply got deleted, may have been the github link and the fact I am on a new channel. I found a possible one for avatar gen from sound and single image called EchoMimic by BadToBest. At work so havent tested it, and since the models it has you download are not safetensors it has me a bit nervous.

  • @ChandlerLawsonPlays
    @ChandlerLawsonPlays Před měsícem

    Can this also be added to Automatic 1111?

  • @tracingzimpossible
    @tracingzimpossible Před měsícem

    i tried this and its good but as shown in the source github page it works on video too but every time i tried this on video after processing for few mins it gives error ,,,,any idea how to solve this issue?

  • @SeanietheSpaceman
    @SeanietheSpaceman Před měsícem +1

    I wonder how long till we can use this with a live feed webcam

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +2

      I think this can be , there's a live cam node in Comfy, connect that one as ref. video, putting small batch of images into the LivePortraitProcess node. and trigger the rendering time like every second in ComfyUI (just like how the SDXL turbo do). In theory, this is doable.

  • @Official-PRIMZ
    @Official-PRIMZ Před měsícem

    What?!😮 Damn thats very good

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      More to come

    • @Official-PRIMZ
      @Official-PRIMZ Před měsícem

      @@TheFutureThinker Can't wait 💪😎

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      Combine AI video generator, this one, the Mimic Motion and some other new models, i think its possible to do a movie. I mean not the camera panning style.

    • @Official-PRIMZ
      @Official-PRIMZ Před měsícem

      @@TheFutureThinker 😃 Yess that would be awesome and for sure possible. Ai stuff is getting better so fast

    • @tracingzimpossible
      @tracingzimpossible Před měsícem

      @@TheFutureThinker well i work for films vfx and i believe with the mix of traditional methods along with Ai its doable (i mean movie with camera motion) and for last 1 or 2 months i have been doing research on it to get an workaround because i want to start something ...can you help ben? it will make the whole process much faster , i saw lot of potential for mimic motion n live portrait but i tried v2v with live portrait but its failing

  • @boyboy168
    @boyboy168 Před měsícem

    look smooth, but better to have an online version...

  • @erdbeerbus
    @erdbeerbus Před měsícem

    great technique ... but is there a node in comfy to set a live video as source ... on a Mac? thx in advance!

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      yes, I forgot the Github name of the livecam Comfy node. but it's possible to do so.

  • @reaperhammer
    @reaperhammer Před měsícem

    This is pretty funny 😂

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      😂😂😂 beautiful characters can have funny moment

  • @ImAlecPonce
    @ImAlecPonce Před měsícem

    animations like anime where they just animate the eyes and mouth XD

  • @Avalon19511
    @Avalon19511 Před měsícem

    How did you get just the target image?

  • @quotesspace1713
    @quotesspace1713 Před měsícem

    can we use it for commercial??

  • @darkreader01
    @darkreader01 Před měsícem

    Can you please make a video on how to run it in colab?

  • @littledovecitydust
    @littledovecitydust Před měsícem

    does this work on a MacBook

  • @Vashthareaper
    @Vashthareaper Před měsícem

    Kijai just updated the node to run it on cpu if anyone having problems with onnx like myself

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      Ha! Nice, how is the performance for Cpu running? Have anyone try?

    • @Vashthareaper
      @Vashthareaper Před měsícem +1

      @@TheFutureThinker it's pretty good tbh. Just as fast as gpu I'd say

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      @@Vashthareaper nice, and I am trying with v2v method in LivePortrait. Looks like the Comfy custom node did not have this feature implement. the sampler are supporting single image only. I have to mod the code.

    • @tracingzimpossible
      @tracingzimpossible Před měsícem

      @@TheFutureThinker i did try with cpu mode too although i didnt compare the timing with GPU but i use gpu mode

    • @tracingzimpossible
      @tracingzimpossible Před měsícem

      @@TheFutureThinker ohh here i got the answer pls do let me know if u get an workaround for v2v.

  • @d3nshirenji
    @d3nshirenji Před měsícem

    Can you and will you implement emotion speech controls to this?

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      Its just depends on the driving video and the audio to record your speech

    • @d3nshirenji
      @d3nshirenji Před měsícem

      @@TheFutureThinker My bad, I had multiple youtube windows open and wrote this comment accidentally here although it was meant to another video (so it really doesn't make sense here at all...) Cool stuff though, and thanks for replying :)

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      @@d3nshirenji no worry :) have fun

  • @batvanio
    @batvanio Před měsícem

    Isn't it available as a standalone app? I want to use it but it seems too complicated for me.

    • @carterd2870
      @carterd2870 Před měsícem +1

      It can input a json file,but cant use non-commercial in nature.

    • @batvanio
      @batvanio Před měsícem

      @@carterd2870 This is very unfortunate. I'd still like it to be something personal and not run in the cloud.

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      Standalone? Yes you can use their Github project. But even this one is complicated for you, then open source GitHub project is not for you. You should wait for an app and buy it later.

  • @user-zl9gl9cy3l
    @user-zl9gl9cy3l Před měsícem

    @TheFutureThinker Hello bro, Is it possible to use on real-time ? using webcam ?

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      Yes theres a livecam custom node in Comfyui. Maybe you can use that one, I forgot the name of it.
      Then generate small batch size image frames every second.
      Of course , the generation result will be a little delay with the livecam record

    • @user-zl9gl9cy3l
      @user-zl9gl9cy3l Před měsícem

      @@TheFutureThinker how to download custom node. I could not find it

  • @Vanced2Dua
    @Vanced2Dua Před měsícem

    Mantap bro... Saya sudah subscribe dan like
    Bolehkah saya meminta workflownya???

  • @CLZ1026
    @CLZ1026 Před měsícem +1

    Keep getting this result anyone has the same error?
    When loading the graph, the following node types were not found:
    DownloadAndLoadLivePortraitModels
    LivePortraitProcess
    Nodes that have failed to load will show as red on the graph.

    • @CLZ1026
      @CLZ1026 Před měsícem

      basically, comfyui cannot recongnize this costume node

    • @Vashthareaper
      @Vashthareaper Před měsícem

      same, any suggestions?

    • @liangmen
      @liangmen Před měsícem

      same , have not found a solution yet

    • @Vashthareaper
      @Vashthareaper Před měsícem

      @@liangmen you need to install insightface and that should fix it

  • @heymyfriend4445
    @heymyfriend4445 Před měsícem

    my generated output video only run for 1 second. Any option to increase the generated video length?

  • @Syndi_AI
    @Syndi_AI Před měsícem

    Forgive me, this tutorial appears to jump straight into comfyUI. How do I get that?! it's like missing the first step. I'm very interested in this but can anyone link to the missing part, the first part of this tutorial please?

    • @crazyleafdesignweb
      @crazyleafdesignweb Před měsícem +1

      Link to of the Github in video description.
      And how to get that? Show you already in here 01:40.

    • @Syndi_AI
      @Syndi_AI Před měsícem

      @@crazyleafdesignweb First....would be what is comfyUI and how do I get it not showing the custom node already open in....what I'm assuming is comfyAI but I don't know.

  • @seanknowles7987
    @seanknowles7987 Před měsícem

    is the data of your face being retained by these companies? Also is this possible outside of comfyui?

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      The AI Model can be run outside of Comfyui. The custom node is like an extension pack in ComfyUI to run this AI.

    • @seanknowles7987
      @seanknowles7987 Před měsícem

      @@TheFutureThinker Will you be doing a tutorial on running this outside of comfy? Or do you have something that helps explain it? Also what about the part about the companies retaining your data such as speech and face. Thank you for your earleir reply btw.

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      @@seanknowles7987 no, I don't. I can smell that you are trying to implement this on the backend of app ? And if you want to build an app around this, you should hire someone to do. There's nothing Free , like Jack Ma said. And InsightFace can sue you till you bankrupts if you use their library in your app backend. Just beware of that.

  • @zikwin
    @zikwin Před měsícem

    can do it video to video too ?

  • @luisellagirasole7909
    @luisellagirasole7909 Před měsícem

    Hello and thanks, will you publish a workflow on patreon? Thanks!

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      It have the workflow including in custom node pack. Doesn't need much customize for this AI.
      03:06 here

    • @luisellagirasole7909
      @luisellagirasole7909 Před měsícem

      @@TheFutureThinker Yes, but you made some changes and I wasn't able to do :)

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      Okay, i will create a new one in there.

  • @musicinthemachine
    @musicinthemachine Před 11 dny

    This is really not at all like Hedra. The main thing Hedra does is animate a photo and lip sync it with text to audio with an AI voice. This does none of that except animate a face and it needs an input video to even do that.

  • @manolomaru
    @manolomaru Před měsícem

    ✨👌😎😮😮😮😎👍✨

  • @mobinpourabbas
    @mobinpourabbas Před měsícem

    AAAAAAAAA GIVE ME WORKFLOW

  • @raphaild279
    @raphaild279 Před měsícem

    is this in real time?

  • @Instant_Nerf
    @Instant_Nerf Před měsícem

    What about the rest of the body

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      You need this : czcams.com/video/q816HyZiw18/video.html

  • @TsujioDragan-zz3bj
    @TsujioDragan-zz3bj Před měsícem

    What are you saying? The example with Jack Ma doesn't match AT ALL ! WTF

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      04:20 - no drama here. Or he will find you.
      That was a setting expirement when I compare the retargeting option On/Off.

    • @TsujioDragan-zz3bj
      @TsujioDragan-zz3bj Před měsícem

      @@TheFutureThinker I see your point, in context it didn't really translate that well because I was looking for the transformation to somewhat match the phonemes, but you're right if we consider timing only. Also, Jack Ma has already gone "missing" once, it can happen again 😂

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      @@TsujioDragan-zz3bj well... he is somewhere in some place, from a legendary entrepreneur to a mystery person now. XD

  • @angloland4539
    @angloland4539 Před měsícem

  • @ismgroov4094
    @ismgroov4094 Před měsícem

    workflow plz sir

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      Mentioned in the video sir, if you have pay attention get some information, don't just be a zombie geek click and download, you will able to find it, sir.

    • @ismgroov4094
      @ismgroov4094 Před měsícem

      @@TheFutureThinkersorry sir!

  • @realhamzabarami
    @realhamzabarami Před měsícem

    i know this is unrelated but give the Quran a read

  • @RhapsHayden
    @RhapsHayden Před měsícem

    Going to try it. Making a lookbook for YT and using this randomly to scare the crap out of people.

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem +1

      LOL haha yup :)

    • @RhapsHayden
      @RhapsHayden Před měsícem

      @@TheFutureThinker Oh yeah! Testing it now and uh its fun :) Really low VRAM usage so far but im not going with high frames atm

    • @TheFutureThinker
      @TheFutureThinker  Před měsícem

      Yup, it can gen 30 seconds with 1 queue from my test. I am not sure if this thing can handle a longer length video.