How to Bring Portraits to Life Using AI | ComfyUI LivePortrait Tutorial

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 68

  • @MDMZ
    @MDMZ  Před měsícem +10

    Few tips:
    1- if you encounter this error: [Errno 2] No such file or directory....Download these models bit.ly/3LrGFVx
    and place under ComfyUI\models\liveportrait\base_models (you'll need to create the base_models folder)
    2- You can actually use a non-square video, I recommend you use an image with the same aspect ratio
    if you come across other issues, please comment below👇or head over to my discord for more help: bit.ly/4bRF0DB

    • @Omniversal-Entertainment
      @Omniversal-Entertainment Před měsícem

      Brother, thank you for this. Grateful I found this comment

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

      Hi there, I fixed several errors but in the end after installing inswapper_128.onnx manually I still got this error AttributeError: 'INSwapper' object has no attribute 'taskname'
      Cannot move beyond that, please help

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

      @@borisrin3775 hey, at which part did you decide you needed to install inswapper_128.onnx manually ? I don't remember having to do that

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

      @@MDMZ in insightface troubleshooting it says to ake it if you have another error (that I also had) so I downloaded it and was able to move to next node where I got this mistake( I went through 3 different tutorials to no avail

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

      @@borisrin3775 can you share your workflow and the input files on discord? i will look into it

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

    Please make more tutorials on this for videos as well, this is truly amazing

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

      More to come!

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

    This is pure awesome. Thank you!

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

      You're very welcome!

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

    Man this is awesome, drop more sauce like this.

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

      Thanks! Will do!

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

    Top

  • @michaldemcak
    @michaldemcak Před 25 dny

    velmi komplikovane

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

    thanks, bro. Make vid2vid version, please, it will be good continue

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

    Need the v2v tutorial....that stuff is juicy

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

      Noted!

  • @Antilopax
    @Antilopax Před 27 dny

    This is a great tutorial! Thank you so much! But I have one question: What is the advantage of using Comfy UI with Life Portrait? Why not just Life Portrait itself?

    • @MDMZ
      @MDMZ  Před 23 dny +1

      it's really just a choice, there are many people like me who have comfyui and like using it, you can also customize the workflow to your liking and get much more creative

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

    Please please please do a video to video workflow!

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

      noted!

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

    MDMZ Thank you! Is it possible to film yourself with the webcam and move the avatar in real time?

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

      I haven't explored that yet, i'm sure something like that will be available soon, if not already

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

    I’m looking for video clips with different facial expressions from your videos, please.

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

    We need tutorial Bro❤❤❤❤

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

      You're watching it 😂

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

    Thanks for great video tutorial!!! But, i have some errors...

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

      hi, check the pinned comment

  • @DwaynePaisleyMarshall
    @DwaynePaisleyMarshall Před 28 dny

    Anyone else getting
    Error occurred when executing LivePortraitNode:
    Torch not compiled with CUDA enabled

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

    I pressed Clear button and everything is different now! how do i get this setup back?

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

      simply re-import the workflow

  • @orionconstellation2
    @orionconstellation2 Před 12 dny

    the missing nodes doesnt show in the manager, how i fix this?

    • @MDMZ
      @MDMZ  Před 5 dny

      make sure your comfyui is up to date

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

    Hey I saw a lot of people having the settings for eyeretargeting etc in the LIVEPortrait Process tab. But I don't have this setting with webcam^^

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

      they were probably using a different workflow, will see if i can make videos on more advanced use cases of LivePortrait

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

      @@MDMZ Yeah thx^^ but I will wait until there is a way to get it to run in realtime with webcam. The auto queing already works good but it's not usable for streams etc. At least for now :D

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

    I don't need a video with changing expressions; I need a photo with a changed expression. Is this also possible?

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

      I think you're describing what the video is about, did you watch ?

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

      Yes I watched, Currently, when you input a face photo and a video with different facial expressions, the output is a video, right?
      What I'm asking is if you can input a face photo and another photo with a different facial expression, can the output be a photo with the changed facial expression?

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

    How to make in mobile please one more video

  • @CoreyMcKinneyJr
    @CoreyMcKinneyJr Před 13 dny

    Why is there always one node missing :(
    the Liveportraitnode stays red and when i install and update that node with the manager and restart it still comes out red. I followed the directions. idk what i did :(

    • @alirezakhademi6093
      @alirezakhademi6093 Před 6 dny +1

      same here

    • @MGKday
      @MGKday Před 4 dny

      Same here, tried to update, install again the module, but doesn't work... Unsure what to do.

    • @MGKday
      @MGKday Před 4 dny

      So it looks as if the repo is down, or have a python conflict in local machine. But this module in particular cannot be installed properly. If anyone finds a solution please share

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

    Hey Brother... I did the same but I'm facing this error - 'NoneType' object is not subscriptable
    I dont know how to counter it... tried reinstalling older transformers (someone on reddit advised ) but that didn't help

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

      can you share the video and image you're trying to use as input? drop them on discord

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

    Can Mac do this? Or what spec pc can make it work?

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

      Installing comfyui and getting it to work on mac is very tricky, that being said some people do manage to get it to work, but i heard it's very slow, if you plan to use it much, u almost definitely need and nvidia gpu

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

    Could make a tutorial for Mac users?

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

      I avoided covering this on the channel because it doesn't always work for everyone, i dont recommend running comfyui on a mac

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

    Hello! Please tell me how to fix the error.
    (Error occurred when executing LivePortraitProcess:
    LivePortraitProcess.process() missing 1 required positional argument: 'crop_info')
    Thank you

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

      hi, I didnt come across this one yet, check the pinned comment

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

      @@MDMZ Thanks for your reply. Your scheme works.
      Have a nice day.Thanks for your reply. Your scheme works.
      Have a nice day.

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

    Bro, Change your youtube cover to CR7 screenshot and you sure get more views!

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

      U mean the thumbnail ? I'm running an A/B test, the cr7 version isn't really winning 😅

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

    Error occurred when executing LivePortraitNode:
    No face detected in the source image!
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\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 "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 65, in map_node_over_list
    results.append(getattr(obj, func)(**input_data_all))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait
    odes\live_portrait.py", line 382, in run
    live_portrait_pipeline.execute(args)
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait
    odes\LivePortrait\src\live_portrait_pipeline.py", line 83, in execute
    crop_info = self.cropper.crop_single_image(img_rgb,src_face=crop_info)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait
    odes\LivePortrait\src\utils\cropper.py", line 137, in crop_single_image
    raise Exception("No face detected in the source image!")

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

      the error says "No face detected in the source image!"

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

    NoneType' object is not subscriptable , Any one?

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

      can u share more info on discord? including your workflow and input files

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

    Can you share workflow file json

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

      hey, I explain where to find it in the video

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

    Buddy, you know your links don't work?

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

      they work for me, plz try another browser and lmk