Mastering ComfyUI: How to use ReActor for Face Swap - TUTORIAL

  Рет қаралды 34,469

DreamingAI

DreamingAI

7 ай бұрын

In this video, I'll walk you through the process of creating flawless faceswaps using the ReActor node. We'll cover installation, model selection, and how to achieve professional-quality results. So, grab your favorite images and let's dive into the future of AI-powered faceswaps together! Don't forget to like, subscribe, and leave your questions in the comments!
** Links from the Video Tutorial **
- ComfyUI ReActor Node: github.com/Gourieff/comfyui-r...
- Video by Freepik: www.videvo.net/video/pretty-y...
- ComfyUI-N-Suite (for the video nodes): github.com/Nuked88/ComfyUI-N-...
- Workflow** : www.patreon.com/posts/tutoria...
** Let me be EXTREMELY clear: I don't want you to feel obligated to join my Patreon just to access this workflow. My Patreon is there for those who genuinely want to support my work. If you're interested in the workflow, feel free to watch the video - it's not that long, I promise! 🙏
❤️❤️❤️Support Links❤️❤️❤️
Patreon: / dreamingaichannel
Buy Me a Coffee ☕: ko-fi.com/C0C0AJECJ

Пікірлер: 177
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Hey guys, only a little update: The portable enviroment of ComfyUI has been updated to python 3.11 so make sure ,if you have this new enviroment, to select the correct version of Insightface!
@godofdream9112
@godofdream9112 5 ай бұрын
hai insightface problem...!!
@SetMeFree
@SetMeFree 2 ай бұрын
I loved the AI distinguished gentleman voice saying, "I'm just sorry that this type of operation is not usable for anime style models, which is my FAVORITE style."
@britebay
@britebay 9 күн бұрын
You always provide the most accurate and relevant information. Thank you!
@_B3ater
@_B3ater 4 ай бұрын
I wasted 3 hours for reactor with no results, thanks to you i managed to do the job in minutes.Thanks a lot man.
@WupsteR
@WupsteR 4 ай бұрын
After checking 20+ of ReActor guids this is the first one that actaully work, Great Job!
@stevenradley4810
@stevenradley4810 2 ай бұрын
This is the best and most detailed tutorial I've found about installing ReActor, thank you!
@haishengchi3333
@haishengchi3333 6 ай бұрын
you dont believe it, i try to fix this problem all day, your video saved me, thanks a lot, love you!
@won3lev917
@won3lev917 6 ай бұрын
Very good! Thanks a lot. You actually helped me a lot with the face swap I tried to do by myself. Keep going with these tutorials. Cool!
@johnriperti3127
@johnriperti3127 6 ай бұрын
such a good video, simple and informative. Thanks!
@ImAlecPonce
@ImAlecPonce 6 ай бұрын
THANKS!!!! I've been racking my brains for almost a month on this!!!! subscribed :)
@juukaa648
@juukaa648 3 ай бұрын
thx, your Step by Step-Explanation is awesome !
@happyme7055
@happyme7055 6 ай бұрын
Asolute fantastic video... simple, understandable and friendly
@Vectoriouxs-tz6ox
@Vectoriouxs-tz6ox 4 ай бұрын
This is the first guide that works for me, I was using python 3.11 so if your also using 3.11 do everything as described but, use the other prebuilt Insightface package
@achimstromberger
@achimstromberger 6 ай бұрын
like the concept and the style! keep em comming :)
@StargateMax
@StargateMax 6 ай бұрын
This video has been super useful, thank you so much!
@reallifekaizen
@reallifekaizen Ай бұрын
Man you're AWESOME! Thanks a million!
@kargulo
@kargulo 5 ай бұрын
thank You for that video , I use it and final video looks so good
@danielaffinity8432
@danielaffinity8432 5 ай бұрын
Thank you!!! I'v been trying to install it for a long time and got stuck with the errors.... Also, thanks for explaining the nodes so clearly, really amazing.
@hmmrm
@hmmrm 5 ай бұрын
this is the only place fixed my problem !! thanks
@SikasByAI
@SikasByAI 3 ай бұрын
Thanks for your sharing.
@fseang
@fseang 6 ай бұрын
simplicity and clarity
@ganknujnal
@ganknujnal Ай бұрын
Thank you so much for making this video! After following several videos of installing Insightface, only yours works. Seems like it has to be installed directly into python_embeded folder instead of the root folder as many instructed.
@EmmaFitzgerald-dp4re
@EmmaFitzgerald-dp4re 6 ай бұрын
Thank you very much for this. I am unable to find load video when searching as you did in this tutorial. Do I need to install other components? **Update: I should of read your description, all good now :)
@The_Python_Turtle
@The_Python_Turtle 6 күн бұрын
awesome video, do you mind sharing what AI voice you are using? It sounds great
@2PeteShakur
@2PeteShakur 6 ай бұрын
nice very good! btw how to search for nodes in comfyui than the slow manual way? thx update: i found out now, just double-click on an empty space of comfy! :)
@laststarfighterz
@laststarfighterz 5 ай бұрын
Thank you so much, finally got Reactor to run😀. Had to use Python 3.11 , 3.10 wouldn't load for me.
@outspan87
@outspan87 5 ай бұрын
Great video, thanks! How would you batch process all the images in a given folder to faceswap them, without having to select them one by one?
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
Uhm you can use LoadFramesFromFolder node, it's in my suite
@giusparsifal
@giusparsifal 21 күн бұрын
Hello and thanks so much for the video. There is a way to improve the face AFTER the Swap? I mean, in A1111 the swapping is the last thing then you can't do anything else. The result is ok but the face is often poor realistic as in the example here in your video. Is there a way in ComfyUi to correct this? Thanks!
@DreamingAIChannel
@DreamingAIChannel 11 күн бұрын
Hi! You can try using the facedetailer node but I wouldn't want that to distort the swapped face too much!
@Darkfire12345678
@Darkfire12345678 4 ай бұрын
Thank you for your tutorial, but how can i make videos with AUDIO ?
@hatuey6326
@hatuey6326 6 ай бұрын
great tuto thanks but few question : what are the custom models for the video nodes plz ? And is 12 gb Vram enough for that ?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Hi, is in the description! And yes, i have 10 GB of VRAM and it run perfectly!
@hatuey6326
@hatuey6326 6 ай бұрын
@@DreamingAIChannel excellent news thanks
@renanarchviz
@renanarchviz 22 күн бұрын
the following error appears with the Load Video node: Error occurred when running LoadVideo [n-suite]: 'NoneType' object has no 'shape' attribute Would you help me?
@Satscape
@Satscape 6 ай бұрын
Great stuff as usual. Do you think this will work with 4GB VRAM? I can get AnimateDiff to work if I lower the res and stick with 24 frames. I suppose if it works on ONE frame at a time it could work 🤞🏻
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Yes, I think it will work!
@MakkiStudio
@MakkiStudio 2 ай бұрын
very best..
@TheRMartz12
@TheRMartz12 3 ай бұрын
Amazing tutorial! Thank you very much! Is there a way to further perfect the face swapping? Some results I get turn out like bad photoshop and in the good cases the end result looks more like a merger of the faces, not really a swap. :( Also, when I tried the video one my results didn't have the initial audio. Will this always be the case? Thank you again for your amazing content!
@DreamingAIChannel
@DreamingAIChannel 3 ай бұрын
Hi! Perhaps you can refine the face after the swap with ImpactPack's Facedetailer custom node.Also the audio is only removed when rendering part of the video, but if you are rendering the entire video the audio is preserved.
@Thomasalbertini
@Thomasalbertini 5 ай бұрын
Great video, I get the following error while installing the troubleshooting file for python .10 "ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform." Any idea how to fix that?
@Drewx2x2
@Drewx2x2 4 ай бұрын
Me to. The installation file doesn't appear after pip install in the comfyui directory and while exhausting all options try the webui directory, get the same error as you. Cancel that - I re did the first step and it worked .. in under 30 seconds lol
@2PeteShakur
@2PeteShakur 6 ай бұрын
cheers working fine now video node - btw, how do you find out how many frames a video footage/clip has for total duration?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Usually if you know the framerate you can do framerate*total duration(in seconds), otherwise you can just start the queue once and in the console the LoadVIdeo node will say something like "xxx frames have been extracted from the video and saved in ..."
@gordonbrinkmann
@gordonbrinkmann 6 ай бұрын
Am I doing something wrong or does it just not work great with SDXL? My problem is, when I'm generating an image in 1024×1024 amd use the face swap, the replaced image is relatively blurry, or not only the face but also everything within the bounding box of the replaced area. Are there any settings to make it as sharp as the original image? I'm also experimenting with the Insight FaceSwap Bot on Discord, this produces much sharper results although it should be the same model...
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
nope, it doesn't matter the model you use since is acting after the generation of the image, did you enabled the facerestore model?
@gordonbrinkmann
@gordonbrinkmann 6 ай бұрын
@@DreamingAIChannel Yes, I tried with and without. Of course I know the model doesn't actually matter, it's just that nowadays with SDXL most people are generating larger images than with the older models. And I've read somewhere this inswapper checkpoint or whatever this is (don't know all the technical terms) was trained on 128×128 pixels... which surely wouldn'tbe great for a standard 1024×1024 SDXL image I assume... unless the face is just in a very small area of the image, which is when I experienced less blurriness as most other times.
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
@@gordonbrinkmann i dont know the images that i've used in this video are 1024x1024 for the face and 1024x1600 for the output, i've made a mesurament now of the face of the output and is like 259x349, so maybe it could be that, as you said, if the face is too big the model is not acting correctly!
@gordonbrinkmann
@gordonbrinkmann 6 ай бұрын
@@DreamingAIChannel So okay, it doesn't seem I could do anything about it apart from accepting it's not working as I hoped for. I have an image where the face area is about 140×230, there it's not noticeable, but I had a series of images with face being more like 600×750 or so (not the face alone, the rectangular part replaced by face swap), then it's very visible. The worst part is not the face itself - I can use another face restore afterwards - but the face swap just replaces a rectangular part of the image around the face, which the face restore will of course not repair - because it's no face. I found it very comfortable to put the face swap dafter the k sampler to directly swap the face in one go, seems like I have to go back to saving two images, one before swapping and one afterwards and replace the face manually to retain the unblurred surrounding of the face.
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
damn, i'm sorry man! I hope you'll find a different solution!
@jaimeortega8939
@jaimeortega8939 4 ай бұрын
Great tutorial. I always get "this video has X frames per second, reducing to 12 frames per second", though. Do you know if there's a way to do a full fps convert? I guess you could do some interpolation, save the images and then mix a final video on your computer or something. But maybe there's an easier way?
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
If I understand correctly you want to use all the frame of the original video right? If so just put "Original" in the framerate of the videoload node
@jaimeortega8939
@jaimeortega8939 4 ай бұрын
@@DreamingAIChannel Thanks! I did and it looks a bit weird and blocky when playing it back. Might just be my settings, will test it further. Thank you for the amazing tutorials!
@nelson714
@nelson714 5 ай бұрын
thanks for nice tutorial, it work great, i only have 1 issue, the video can't play on "load video" and "save video", but i can found it on my out folder, anyone know what plugin or custom node is missing?
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
Hi! Update the Animatediff node to the last version
@nelson714
@nelson714 5 ай бұрын
@@DreamingAIChannel i did updated, looks link ComfyUI-N-Nodes Conflicted Nodes: LoadVideo [comfyui-animatediff]
@badterry
@badterry 6 ай бұрын
hey my queue gets stuck on the LoadVideo node after it extracts the frames to the temp folder if its plugged in to the ReActor node. it seems to work fine if i do LoadFramesFromFolder to ReActor. any idea on how to fix this?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
i don't think that is stuck, maybe you are sending too many images at a time, did you put an images_limit or at least a batch_size?
@badterry
@badterry 6 ай бұрын
@@DreamingAIChannel thanks! i stupidly left the image limit at 0
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
@@badterry 👍
@badterry
@badterry 6 ай бұрын
@@DreamingAIChannel hey another question. do you know how i can do longer videos for faceswap? lets say i have 300 frames but i have to image_limit of 30 for it ot work, is there a way i can queue it up in 30 frame chunks?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Yes, just use batch_size and put 30 there!
@BrunoRicardoCunha
@BrunoRicardoCunha 6 ай бұрын
Could you create a video about outpaint on comfyui using sdxl?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
I need to try that first! If everything goes well then I will make a video for sure!
@user-hs8bu9dn5p
@user-hs8bu9dn5p 3 ай бұрын
Hello, does anybody knows how to run this same functionality in Python or Diffusers? Thanks!
@PrRog-ai
@PrRog-ai 6 ай бұрын
Thank you for this wonderful tutorial. You made it all sound so easy. I am facing this error in console when I have "save video" option as TRUE under SaveVideo node. Error: Video Path already deleted
@PrRog-ai
@PrRog-ai 6 ай бұрын
Nbm, the above error was not an issue. I have a different question. I couldn't find any help on "frame interpolation". I am wondering how does the multiplier work? Could you please explain? Thanks in advance.
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
So I've explained it a little bit in the "Video to Video"... Video 🤣 Essentially it recreates a number of frames equals to the multiplier per the number of frames per second, for example if you have 4 fps, with a multiplier of 4 you will bring the video to 16 fps.All thanks to a technique ai based called RIFLE. Be aware that the more frames you will try to recreate the more artifacts will appear in the final video.
@PrRog-ai
@PrRog-ai 6 ай бұрын
Thank you :)@@DreamingAIChannel
@mattm7319
@mattm7319 6 ай бұрын
after installing I could not find the facedetection folder inside the models folder, any ideas why?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Yes, you need to create i!
@zawill4378
@zawill4378 5 ай бұрын
Please help!! When I clicked "install.bat", it said "Embedded python not found. Please install manually". But when I tried to install "insightface-0.7.3-cp310-cp310-win_amd64.whl" into "ComfyUI_windows_portable\python_embeded", it said "ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform". What should I do to fix this?
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
Hi! If you are using the latest portable edition of comfyui you should use the cp311 and not the 310 of insightface
@forestrebock3545
@forestrebock3545 6 ай бұрын
These video tutorials are great. Love the generated narration, his voice sounds irritated sometimes when explaining some stuff. What tool did you use to generate the voice narration?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Hi! I'm using Bark + RVC + A Lot of patience! xD I will make a video sooner or later!
@forestrebock3545
@forestrebock3545 6 ай бұрын
Thanks for letting me know, I'll have to check it out@@DreamingAIChannel
@daliaslay
@daliaslay 5 ай бұрын
I get a very weird python error: ComfyUI\execution.py line 154, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) TypeError: '>=' not supported between instances of 'int' and 'str' During Interpolation step. Tried to remove the interpolator and same error spawns on SaveVideo
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
Hi! I need the full log!
@harshitpruthi4022
@harshitpruthi4022 6 ай бұрын
GREAT TUTORIALA . BUT FROM WHERE CAN I FIND THE FACE RESTORER MODEL LINK . I CANT SEE IT ON THE GIT HUB PAGE
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Hello! Just press on the text with the arrow that says "Standalone (Portable) ComfyUI for Windows" under the "Installation" section
@harshitpruthi4022
@harshitpruthi4022 6 ай бұрын
thanks . you are a life saver ! @@DreamingAIChannel
@user-sm6yw4cl6p
@user-sm6yw4cl6p 6 ай бұрын
sir can you do tutorial how to face swap batch of images ? grate video thanks sir
@StargateMax
@StargateMax 6 ай бұрын
2:04 I don't have that facerestore_models folder. I did all the previous steps and fixed the errors too.
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
So you need to manually create it!
@randymonteith1660
@randymonteith1660 5 ай бұрын
One of latest ComfyUI updates stopped Reactor from working. Follow the instructions under this heading " If you see errors with building "future-0.18.3" package, do the following: " (( whether you get this error or not!!! ( This is were I wasted lots of time)) The Reactor should work again.
@marcproudlove5140
@marcproudlove5140 4 ай бұрын
Can't get insight face to work anymore, I've installed visual studio 2022 and its up to date, I've installed VS C++ Build Tools and its up to date, I've also updated python and tried to use both versions of insightface. It just doesn't show up in Comfy as a node.
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
without an error to analyze is really hard to help you!
@marcproudlove5140
@marcproudlove5140 4 ай бұрын
@@DreamingAIChannel I managed to fix it by putting the insightface model into the python embeded folder and then opening the console and using this command python -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl I'm not sure why because I had everything installed but I kept getting an error saying no insightface found and I couldn't get reactor to load in Comfy but now I can. Now I'm trying to do video to video but I just get 4 second videos. Your guide was great, its the only one I've found so far that works other than the one step I had to change.
@AlexC-O_O
@AlexC-O_O 4 ай бұрын
Where are the face models though? I cannot find the links
@omarbromar
@omarbromar 5 ай бұрын
I keep on getting this error: Error occurred when executing ReActorFaceSwap: 'NoneType' object has no attribute 'get'
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
Like this one? github.com/Gourieff/comfyui-reactor-node/issues/11
@malaka686535
@malaka686535 Ай бұрын
Anyone else having issues with face reactor recently ? Mine stopped working, Ive reinstalled it and even gotten an updated version of comfyui but it still dose not load. It use to work fine but just stopped working recently.
@carlankrum7137
@carlankrum7137 3 ай бұрын
Hello!! Thanks for this tutorial. I was able to install everything with no issues. I was able to make a face swap. But now when I load the workflow, SaveVideo is missing. I'm not sure what could've caused this. I've done some other installs, but didn't know I'd erase a node.
@DreamingAIChannel
@DreamingAIChannel 3 ай бұрын
Hi! That's because I did an update like 1 weeks ago and I had to change the name of the node, so you should search it again in the menu, is called SaveVideo [n-suite]
@carlankrum7137
@carlankrum7137 3 ай бұрын
@@DreamingAIChannel ok. now I get a 'tuple index out of range' error
@DreamingAIChannel
@DreamingAIChannel 3 ай бұрын
In which node? Because it is possible that ReActor is simply not recognizing any face in the image
@carlankrum7137
@carlankrum7137 3 ай бұрын
@@DreamingAIChannel i was missing one of your nodes. I got it to work. Thanks!!!
@DreamingAIChannel
@DreamingAIChannel 3 ай бұрын
@@carlankrum7137 👍
@What_the_f4ck_is_a_kilometer
@What_the_f4ck_is_a_kilometer 6 ай бұрын
Comfyui-N-Nodes do not work together with Reactor-Nodes. For some reason when I put Reactor, the N-Nodes disappear
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Uhm, weird... Do you see some errors in the console?
@What_the_f4ck_is_a_kilometer
@What_the_f4ck_is_a_kilometer 6 ай бұрын
@@DreamingAIChannel I'm sorry to bother you, I somehow managed to fix it by downloading an old version of opencv-python, I honestly don't know how I did it as I'm very bad at it.
@Nuked
@Nuked 6 ай бұрын
@@What_the_f4ck_is_a_kilometer don't worry! The important thing is that now is working for you!
@Nibot2023
@Nibot2023 3 ай бұрын
I do not have a facestore_models folder...I made one so fingers crossed...and it didn't work. I don't see the option for Reactor. I think where I went wrong, I used download manager to install it prior to all this.
@DreamingAIChannel
@DreamingAIChannel 3 ай бұрын
there should be an error in the terminal when you start ComfyUI, what does it say?
@Nibot2023
@Nibot2023 3 ай бұрын
@@DreamingAIChannel in the command window it says "[ReActor] - STATUS - Running v0.4.1-b8 in ComfyUI" which show it is okay. Inside comfy download manager it is red saying import failed. I had it working prior. Then closed comfyui. I got the video loader. I noticed my vid 2 vid failer in the download manger is red out then I noticed Reactor missing. I tried reinstalling too. Not sure what made it go away. Update I got it working. I decided to get the Visual C++ build tools and open comfy ui and hit install. bat on the on the reactor file and hit refresh inside the download manager and it works again!
@ezdeezytube
@ezdeezytube Ай бұрын
When trying to face swap two faces simultaneously, it now creates 2 separate videos with 1 different swapped face each. Any idea why that is?
@DreamingAIChannel
@DreamingAIChannel Ай бұрын
What did you put in the source_faces_index field? If I'm remembering correctly you should put something like 0,1 if for example you have two faces to swap , "0,1,2" if you have three of them, and so on!
@ezdeezytube
@ezdeezytube Ай бұрын
I put "0,1". So what it will do is faceswap face 0 alone and ignore face 1, then do the entire video again with face 1 and ignore face 0. Both videos will be output in a single file, and the 2nd will not have audio. The only solution I found is to make batch=1. Weird
@ansontse4137
@ansontse4137 4 ай бұрын
hi my comfyui missing "farmelnterpolator" what can i do?🙏
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
hi! you should look at the console, you probably have some errors there. If you want you can open an issue on GitHub with the full log that you have in your console
@EonsAway
@EonsAway 6 ай бұрын
I get the error: Error occurred when executing ReActorFaceSwap: 'NoneType' object has no attribute 'get
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Hi! You should check this: github.com/Gourieff/sd-webui-reactor#v-invalid_protobuf--load-model-from-modelsinsightfaceinswapper_128onnx-failedprotobuf-parsing-failed-or-attributeerror-nonetype-object-has-no-attribute-get-or-attributeerror-faceswapscript-object-has-no-attribute-save_original (the "V" point)
@ehsankholghi
@ehsankholghi 3 ай бұрын
there is no FACERESTOR_MODEL folder.where can i find that?
@DreamingAIChannel
@DreamingAIChannel 3 ай бұрын
Hi! If you don't have it just create it ant it should be fine
@fseang
@fseang 6 ай бұрын
Hi, can you elaborate on ComfyUI N Nodes?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Yes, you need to watch my previous video: the video to video one and the GPT one :)
@natura.teraphy.8d
@natura.teraphy.8d 6 ай бұрын
i can't find image resize and frameinterpolator in the search bar. how should I proceed?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Hi! Image resize is from the WAS nodes, and the frame interpolator is from my custom nodes togheter with the video node (link in the description)
@natura.teraphy.8d
@natura.teraphy.8d 6 ай бұрын
ty @@DreamingAIChannel
@natura.teraphy.8d
@natura.teraphy.8d 6 ай бұрын
@@DreamingAIChannel Can we apply it to 2 people in a video with 2 pictures? Is this possible?
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
@@natura.teraphy.8d yes is possible! Forr the details you can refer to the reActor GitHub
@pascal5142
@pascal5142 28 күн бұрын
summary of errors and fixes in comments: Seems like it has to be installed directly into python_embeded folder instead of the root folder as many instructed. -- The portable enviroment of ComfyUI has been updated to python 3.11 so make sure ,if you have this new enviroment, to select the correct version of Insightface! ---- from my iphone (jpg) .I'll try to convert it to png then ------ there is no FACERESTOR_MODEL folder.where can i find that? if you dont have that folder then just create one ----- finally got Reactor to run. Had to use Python 3.11 , 3.10 wouldn't load for me. --- If you swap the model to "inswapping128", as default, it works ---
@feisimo5479
@feisimo5479 6 ай бұрын
In the same way you upscale the output images couldn't you use a IPAdapter to apply a anime style then recombine to final video
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Yes I think it will work, but it is not really a faceswap in that way. I need to know the starting anime face instead the only thing I can do is apply the IP adapter at the starting image hoping that the ipadapter will work in the same way even after the faceswap!
@anilmacwan
@anilmacwan 5 ай бұрын
Reactor in Comfyui now has a "face model in", it doesn't work without. Does anyone know how tocreate this model that I can load into the model loader?
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
why do you say " it doesn't work without"? i don't think is mandatory
@anilmacwan
@anilmacwan 5 ай бұрын
@@DreamingAIChannel The plugin has changed since the video. The default model doesn't work without a "load face model" connected that you need with a model as well. If you swap the model to "inswapping128", it works even without connecting a model.
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
Hi, I know that the plugin has changed but it didn't break any compatibility since the input variable "face_model" is placed as optional field in the source code of the node . I've just installed ReActor from zero to verify that, i don't know which other model do you have besize inswapping128 but know that inswapping128 is the default one. I'm thinking that maybe was the other model that you had that was causing the issue, but i'm not sure 😵‍💫
@anilmacwan
@anilmacwan 5 ай бұрын
@@DreamingAIChannel Hey that's great to hear. For me the default on different machines I installed it on was never inswapping128, so in case anyone has the same problem, this might be the solution. Keep up the great work!
@DragonEspral
@DragonEspral 6 ай бұрын
Embedded python not found. Please install manually. Pressione qualquer tecla para continuar. . .
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
?
@chriswalker6725
@chriswalker6725 5 ай бұрын
i got this too@@DreamingAIChannel
@A.Raf-Viz66
@A.Raf-Viz66 6 ай бұрын
how can i have "Load video" node in my comfyUi.. because i dont have it and it doesnt show in Manager either. Please if anyone can help me with this??
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
The link is in the description!
@2PeteShakur
@2PeteShakur 6 ай бұрын
@@DreamingAIChannel yah same issue, installed comfyui-n-nodes but there is no loadvideo node - looked everywhere for it - is it possible to upload your workflow with the video node so we can just install missing nodes from comfy manager if we don't have? thx
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
there is no missing node if you installed comfyui-n-nodes and reActor node, also i don't have submitted comfyui-n-nodes to comfyui manager yet so you will not find it there! :D
@2PeteShakur
@2PeteShakur 6 ай бұрын
@@DreamingAIChannel installed both comfy-n-nodes and reactor mode - no issues with reactor, just when installed comfy-n-nodes, restarted comfyui and there is no loadvideo in comy-n-nodes section [searched loadvideo] nothing comes up, only loadimage, and i'm not the only one with this issue, strange.
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
Well yes you are the only one for what I know 😅 and I cannot help you since you are not giving me any information, what environment are you using? In the console when comfyui is booting up,if my node is not loaded correctly there should be reported some errors.
@Jackson_Hsu
@Jackson_Hsu 4 ай бұрын
having this error Error occurred when executing ReActorFaceSwap: File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 78, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node odes.py", line 112, in execute script.process( File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts eactor_faceswap.py", line 96, in process result = swap_face( ^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts eactor_swapper.py", line 195, in swap_face source_faces = analyze_faces(source_img) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts eactor_swapper.py", line 114, in analyze_faces face_analyser = copy.deepcopy(getAnalysisModel()) ^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts eactor_swapper.py", line 69, in getAnalysisModel ANALYSIS_MODEL = insightface.app.FaceAnalysis( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node eactor_log_patch.py", line 59, in patched_faceanalysis_init assert 'detection' in self.models ^^^^^^^^^^^^^^^^^^^^^^^^^^
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
Hi, this is really an advanced error and is pretty impossible to me tell you exactly why is this happening, i can say that maybe there are some problems with face detection in the input image or in the one where the face should be placed but i'm not totally sure.Try to use some other images and see if it is keep happening, otherwise there are some problem with the model used... are you using the inswapper_128 or some other models? Tf you still can't solve it go ahead and post in the official reactor repository here: github.com/Gourieff/comfyui-reactor-node/issues
@omarguerreropro
@omarguerreropro 5 ай бұрын
Is it possible to install ReActor on Linux?
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
I think that this will answer to your question: github.com/Gourieff/comfyui-reactor-node/issues/107
@monbritt
@monbritt 6 ай бұрын
i cant find the code former file
@DreamingAIChannel
@DreamingAIChannel 6 ай бұрын
You need to look in the "installation" section of the reActor github readme and click on the arrow where it says "Standalone (Portable) ComfyUI for Windows"
@DWISKETCH
@DWISKETCH 4 ай бұрын
can you make tutorial how to instal comfyui?
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
Hi! Here kzbin.info/www/bejne/n5y8pYNmic2Ba6M
@hleet
@hleet 6 ай бұрын
love your videos and explanation. sometimes there’s a glitch in your voice. It kind of add a scifi touch as if you were in another dimension .... okay keep dreaming 😊
@aniketwaghmare3817
@aniketwaghmare3817 5 ай бұрын
having this error Error occurred when executing SaveVideo: list index out of range File "E:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 60, in slice_dict d_new[k] = v[i if len(v) > i else -1] ~^^^^^^^^^^^^^^^^^^^^^^^^^
@DreamingAIChannel
@DreamingAIChannel 5 ай бұрын
Hi! I need to see the rest of the log
@aniketwaghmare3817
@aniketwaghmare3817 5 ай бұрын
@@DreamingAIChannel I've found the solution. By the way great video
@4689alex
@4689alex 4 ай бұрын
Hi NUKED, How are you! I am really exciting that your video can help to install ReActor Node. But after I follow up all your instruction When install batch file appear; note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. After restart ComfyUI appear: ModuleNotFoundError: No module named 'insightface' Cannot import F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'insightface' (IMPORT FAILED): F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node Over try one week. Still can’t fix. Do know where to go! Cheers!
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
Hi,I'm fine, busy but fine! And you? I think you just need to install the right insightface because you probably have python version 3.11!
@4689alex
@4689alex 4 ай бұрын
Yes, I have python version 3.11! Where to get right insightface ? Thanks for your help! Cheers!
@4689alex
@4689alex 4 ай бұрын
Also I did this "python_embeded\python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl"
@DreamingAIChannel
@DreamingAIChannel 4 ай бұрын
This is correct, it's giving you some errors?
@4689alex
@4689alex 4 ай бұрын
@@DreamingAIChannel Hi NUKED,Thanks for your reply. After I hit “install batch file” appear: Installing... Status: The 'insightface==0.7.3' distribution was not found and is required by the application Collecting insightface==0.7.3 Using cached insightface-0.7.3.tar.gz (439 kB) Building wheel for insightface (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [225 lines of output] error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 [end of output] After I restart “run_nvidia_gpu” appear: 0.0 seconds (IMPORT FAILED): C:\DISK D\AI\Stable Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node THANKS FOR YOUR HELP AGAIN!
@StefanPaunVideo
@StefanPaunVideo Ай бұрын
reactor is a fu**ing nightmare to install (mac and windows), tried and retried but nothing...
@silence8806
@silence8806 5 ай бұрын
Hard to judge, if this is actually a "flawless faceswap" process, because you are using the face of a general model as a source that does not really have recognisable features.
@KimiMorgam
@KimiMorgam 5 ай бұрын
cython error...
@Potts2k8
@Potts2k8 21 сағат бұрын
"ERROR: insightface-0.7.3-cp311-cp311-win_amd64.whl is not a supported wheel on this platform."
@YOGESHH1
@YOGESHH1 6 ай бұрын
showing this error ERROR: insightface-0.7.3-cp310-cp310-win_amd64 (1).whl is not a valid wheel filename.
@robertpaulson4960
@robertpaulson4960 5 ай бұрын
ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform. Edit: like stated in the update he pinned, used python 3.11 and it fixed my issues (also make sure you got the 3.12 pre built (works on 3.11)
@renanarchviz
@renanarchviz 22 күн бұрын
Error occurred when executing LoadVideo [n-suite]: 'NoneType' object has no attribute 'shape' File "C:\Users\Usuário\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Usuário\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\Usuário\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Usuário\ComfyUI\custom_nodes\ComfyUI-N-Nodes\py\video_node_advanced.py", line 474, in encode width, height = calc_resize_image(FRAMES[0], size, resize_by) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Usuário\ComfyUI\custom_nodes\ComfyUI-N-Nodes\py\video_node_advanced.py", line 159, in calc_resize_image height, width = image.shape[:2] ^^^^^^^^^^^
@DreamingAIChannel
@DreamingAIChannel 11 күн бұрын
uhm, it's like it can't break down the video into pictures, can you try with another video?
@PHUONGNGUYEN-vp3lt
@PHUONGNGUYEN-vp3lt 3 ай бұрын
@DreamingAI hi bro , by any chance u can take a look at my log? Error occurred when executing LoadImage: not a TIFF file (header b'n' not valid) File "H:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_portable\ComfyUI odes.py", line 1486, in load_image for i in ImageSequence.Iterator(img): File "H:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\PIL\ImageSequence.py", line 56, in __next__ self.im.seek(self.position) File "H:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\PIL\MpoImagePlugin.py", line 149, in seek self._reload_exif() File "H:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\PIL\Image.py", line 1459, in _reload_exif self.getexif() File "H:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\PIL\Image.py", line 1443, in getexif self._exif.load(exif_info) File "H:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\PIL\Image.py", line 3734, in load self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\PIL\TiffImagePlugin.py", line 513, in __init__ raise SyntaxError(msg)
@DreamingAIChannel
@DreamingAIChannel 3 ай бұрын
Hi! Well I think that your image is just invalid, use another image or convert this one in another format!
@PHUONGNGUYEN-vp3lt
@PHUONGNGUYEN-vp3lt 3 ай бұрын
@@DreamingAIChannel tks so much for your help bro. the image went straight from my iphone (jpg) .I'll try to convert it to png then , tks again.
@Nuked
@Nuked 3 ай бұрын
@@PHUONGNGUYEN-vp3lt 👍
@SparkingGreatness
@SparkingGreatness 6 ай бұрын
Amazing video, thank you for the lessons. I am trying to install reactor node in Colab/ComfyUI, would you be able to write the prompt to donwload it automatically. e.g to download a lora you use " !wget - c [link to download from civitai] -o ./models/ loras.... Thanks!
@SparkingGreatness
@SparkingGreatness 6 ай бұрын
I have managed to get this done, but I can not see the option of "LOADVIDEO" any help with this? @dreamingAIChannel? Thank you
REACTOR - Face Swap for A1111 - Full Guide! Better than Roop!
11:58
Olivio Sarikas
Рет қаралды 88 М.
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 139 МЛН
КАКОЙ ВАШ ЛЮБИМЫЙ ЦВЕТ?😍 #game #shorts
00:17
How to use PuLID in ComfyUI
20:53
Latent Vision
Рет қаралды 20 М.
Use Any Face EASY in Stable Diffusion. Ipadapter Tutorial.
10:30
Sebastian Kamph
Рет қаралды 103 М.
ComfyUI Multi Person Masking With IPADAPTER Workflow
12:31
Grafting Rayman
Рет қаралды 6 М.
Lora Training using only ComfyUI!!
11:15
AIFuzz
Рет қаралды 14 М.
ComfyUI ReActor Face Swap Image & Video
12:17
Data Leveling
Рет қаралды 12 М.
Two Methods for Fixing Faces in ComfyUI
15:55
How Do?
Рет қаралды 5 М.
AnimateDiff and (Automatic 1111) for Beginners
6:49
goshnii AI
Рет қаралды 47 М.
Ultimate Guide to Seamless AI Animations (Even on Low-End PCs!)
26:38
Nika ate all my fish🥲 #cat #cats
0:19
Princess Nika cat
Рет қаралды 125 МЛН
How to sign the letter J?❤️
0:47
Signature_1m
Рет қаралды 42 МЛН