Reactor face swap comfyui github. Open Source, Local & Free.

The result is totally black Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111, SD. The female face in a picture. py", line 10, in Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node I am trying to swap all the faces on a character sheet. This software is meant to be a productive contribution to the rapidly growing AI-generated media industry. Choose a face (image with desired face) and the target image/video (image/video in which you want to replace the face) and click on Start. I don't know what's going on behind the scenes but it would be great if someone knows how to build this workflow manually in ComfyUI. The Fast and Simple 'roop-like' Face Swap Extension Node for ComfyUI, based on ReActor (ex Roop-GE) SD-WebUI Face Swap Extension. Jul 12, 2024 · It won't be the same in this case (if we talk about the skin color of the resulting image), the resulting face will be as much close to the Source face as it's possible, and this is rather logical that if you swap a white skin face to a black one, the resulting face is not white Extension: ReActor Node for ComfyUI. You signed in with another tab or window. The desired scenario could be a silent ignore, allowing to process the fames containing the required faces while keeping the current frames as is. You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Implemented a cloud-based real-time face-swapping tool to swap faces in a video. When using multi-face swap on lengthy videos, it consumes the entire server CPU. In this instance, the largest at the bottom right. 6. The result is totally black You signed in with another tab or window. I load the following image, but the model only swaps out a single face. You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Restore Face: Using GFPGan to restore faces, works great in conjunction with Face Swap and supports Comfy native upscalers for the bg_upscaler image interpolation (animation) Warning The FILM nodes will be deprecated at some point after 0. Authored by Gourieff Sep 15, 2023 · While I keep my face restore models under the ComfyUI's "models" directory, having a copy of these models just so ReActor node can see them doesn't seem efficient to me. Seamlessly switch between workflows, as well as import, export workflows, reuse subworkflows, install models, browse your models in a single workspace You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Jul 4, 2024 · A segmentation fault (core dumped) occurs when I use the Restore Face node directly after starting ComfyUI. ai You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; The Fast and Simple 'roop-like' Face Swap Extension Node for ComfyUI, based on ReActor (ex Roop-GE) SD-WebUI Face Swap Extension. a100 64x CPU 126G RAM. reactor_swapper import swap_face File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper. tldr ReActor uses ComfyUI\custom_nodes\comfyui-reactor-node\models instead of using ComfyUI/models While many advanced users have Roop, it has now been discontinued and my and other people's efforts to install Face Swap Lab, or Gourieff's Reactor have completely failed after much effort and lots of advice. To me it looks like this is because the source_img doesn't have anything returned for its first analyze_faces pass, and this is the only time SOURCE_FACES gets set. reactor_faceswap import FaceSwapScript, get_models File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap. Executing python run. You can use different index order. 2. The result is totally black Writer, photographer, artist, engineer; ReActor Fast Face Swap Extension for SD WebUI and ComfyUI - Gourieff Dec 22, 2023 · You signed in with another tab or window. ReActor works much better for me, when I inpaint the faces. Oct 28, 2023 · Fast and Simple Face Swap Extension Node for ComfyUI - Issues · Gourieff/comfyui-reactor-node @Charuru negative, AFAIk (i could be entirely wrong of course) only reactor supports multiple faces in 'one node' . Relevant console log Fast and Simple Face Swap Extension Node for ComfyUI - GitHub - Gourieff/comfyui-reactor-node at hub. 0. Fast and Simple Face Swap Extension Node for ComfyUI - runshouse/test-reactor-node Oct 14, 2023 · I render an image in text2img, with ReActor enabled. Priorities are consistent images following my description and a reliable face swap that doen't change the generated image too much. 9, you are required to explicitly set the providers parameter when instantiati We would like to show you a description here but the site won’t allow us. Updating. py", line 13, in from scripts. I particularly like the face that Fooocus also maintains the hairstyle. During Reactor Node phase, it is Swap / You signed in with another tab or window. I love the extension and thanks for the feedback. You signed out in another tab or window. . The article also provides visual aids and links to further resources, making it a comprehensive guide for anyone interested in face swapping technology. Overall goal is keeping the face/looks (duh) I lover tinkering woth ComfyUI. py at main · Gourieff/comfyui-reactor-node Oct 24, 2023 · Reactor Node on Ubuntu, using shared venv with automatic1111 throws following error: Prompt outputs failed validation ReActorFaceSwap: - Value not in list: swap_model: 'None' not in [] The swap_model field in the node shows: null. Reload to refresh your session. ReActorBuildFaceModel Node got "face_model" output to provide a blended face model directly to the main Node: Basic workflow 💾. Nov 4, 2023 · Feature description. I am creating segs and masks to get the region of the female face and I would like to be able to tell the face swap node that this region/mask is where it should look for a face to swap. Can you help me? Steps to reproduce the problem You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Dec 10, 2023 · I have the same question. I am using my own blended model that I created. Jan 11, 2024 · You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Saved searches Use saved searches to filter your results more quickly Select the face numbers you wish to swap using the "Comma separated face number(s)" option for swap-source and result images. It seems to be a small issue, that could be solved if i sylink the file needed. But still: For some things I need to get a look at an existing and working workflow to integrate it into my "chaos". py", line 11, in import insightface ModuleNotFoundError: No module named 'insightface' You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Select the face numbers you wish to swap using the "Comma separated face number(s)" option for swap-source and result images. reactor_swapper import swap_face File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper. Thank you guys in i've been using ReActor for a while using auto1111, but first time cracking at it in comfyui, for whatever reason, my face always ends up blurry, if i take reactor out, then it looks clear and sharp, I have attached a copy of my workflow if anyone is gracious enough to assist. It introduces the use of the ReActor plugin and explains the setup process step-by-step. Below is my setup on comfyUI It is a 2 minute video. If you're using faceswap to generate scenes with a primary male and female character and the rest of the faces in the facemaps are for when you occasionally have "extra characters" in the scene, it won't work Jan 14, 2024 · I just figured out a workaround for this for anyone interested. These files can be loaded into InstaSwap for various scenarios while maintaining extremely compact models of the faces you work with. 0 with seemingly no errors on ComfyUI Portable. Nov 10, 2023 · **Hi everyone, I just got into faceswap and have a quick question on time taken to do a video face swap. Restore Face -> 2. Where do i find them or how do i add them now? thanks all! Wunjo CE: Face Swap, Lip Sync, Control Remove Objects & Text & Background, Restyling, Audio Separator, Clone Voice, Video Generation. The idea is to eventually create a lora. You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Oct 18, 2023 · You signed in with another tab or window. Let's say you want to use 4 face images as inputs for the reactor face model. I've only tested it twice but it worked both times. However, if I use the Fast Face Swap node first and then the Restore Face node, no segmentation fault occurs. Aug 26, 2023 · 14:03:24 - ReActor Node - STATUS - Working: source face index [0], target face index [0] 14:03:24 - ReActor Node - STATUS - Swap in 0 set det-size: (640, 640) set det-size: (640, 640)!!! Exception during processing !!! Traceback (most recent call last): File "E:\ComfyUI_windows_portable\ComfyUI\execution. Mar 25, 2024 · The current implementation for using multiple source faces requires face model creation, which requires running two different workflows when combining reactor with IP adapters face nodes for blending multiple faces together. Steps to reproduce the problem A ComfyUI workflows and models management extension to organize and manage all your workflows, models in one place. I understood that they should have been included with version 3. Thanks to everyone who finds bugs, suggests new features and supports this project! I did a git pull inside \custom_nodes\comfyui-reactor-node but the nodes haven't been updated. Open Source, Local & Free. Relevant console log We would like to show you a description here but the site won’t allow us. Next Hi, I just installed Reactor node 3. Jan 18, 2024 · Since you are going to add support for GPEN-BFR-512 in future updates, can you please create an additional node under reactor nodes just for face restoration? Since the original facerestore_cf node lacks options like face restore visibility and support for GPEN-BFR models, it would be nice to have all face-related nodes under reactor nodes. 0 ALPHA1. The Fast and Simple 'roop-like' Face Swap Extension Node for ComfyUI, based on ReActor (ex Roop-GE) SD-WebUI Face Swap Extension File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap. The best bone structure is achieved when we use IPAdapter (or even 2 IPAdapters: FaceID and fullface) to produce the image with the face very morphologically close to the original and then swap the face in the image with ReActor The other way is to make a node that will convert ReActor's models to the IPAdapter's format on the fly 🤔 Feb 14, 2024 · I am using the node to face swap videos. py", line 151, in recursive_execute Jan 27, 2024 · First, confirm I have read the instruction carefully I have searched the existing issues I have updated the extension to the latest version What happened? Whenever reactor face swap node is used in the workflow, it does not get unloaded You signed in with another tab or window. I have been using the Reactor fast face swap node with the inswapper_128. Disclaimer. I was testing the face swap and noticed that i have no options loaded for face-Restore-model. onnx (it's the only one that works for me) In some renders I only want to change the face, not the hair or hat, but the selection area is often too big or is feathered very much so the hair or hat is partly changed. You switched accounts on another tab or window. 0, Fannovel16 's interpolation nodes implement it and they rely on a pytorch implementation of FILM which You signed in with another tab or window. Then merge all 4 face models together into one. 4. workflow-of-comfyui-reactor-fast-face-swap. Please add the option for direct face swap using multiple source faces. Start by creating 4 separate reactor face models using the comfyui node, 1 from each face image. Sysinfo. 0 input_image is the main input of the Node, the input providing the image to be processed UPDATE : first of all "device = torch. Left image is coming from the ksampler, Dec 6, 2023 · What's new in the latest updates 0. md at main · Gourieff/comfyui-reactor-node Gourieff / comfyui-reactor [ReActor] 10:37:58 - STATUS - Swap in This is my workflows,input a video and a face image,swap the face of each video frame Nov 28, 2023 · You signed in with another tab or window. ComfyUI, combined with stock or your own videos, can transform your storyboarding and video projects. py command will launch this window: . chrome, windows 10. sh script from this Repo to the ComfyUI\custom_nodes directory and run it when you need to check for updates. Does anyone have an img2img workflow? Because the one in the other thread first generates the image and then changes the two faces in the flow. You have the option to save face models as safetensors files, which are stored in the ComfyUI\models\reactor\faces directory. Later on, a call to get_face_single() succeeds, but SOURCE_FACES doesn't get set, so a face_model isn't available later on for output. Upscale (-Uncheck- if you want vice versa)" option, but the aliasing remains. Since ORT 1. Fast and Simple Face Swap Extension Node for ComfyUI - comfyui-reactor-node/nodes. Next, Cagliostro) - GitHub - Soliver84/sd-webui-reactor: Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111, SD. e. This ORT build has ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'] enabled. Di This article, "How to swap faces using ComfyUI?", provides a detailed guide on how to use the ComfyUI tool for face swapping. Authored by Gourieff. Just put . Saved searches Use saved searches to filter your results more quickly Select the face numbers you wish to swap using the "Comma separated face number(s)" option for swap-source and result images. If in some frame the video contains no detected faces the whole process fail. The upscaler in ReActor is set to 4x-UltraSharp. And since I find these ComfyUI workflows a bit complicated, it would be interesting to have one with a simple face swap with a facerestore. To test it, I replaced the Reactor-Node folder with an older version I had as backu My main issue is: I am trying to make Reactor face swap work on a specific face. UI reworked; You can now load several source images (with reference faces) or set the path to the folder containing faces images First, confirm I have read the instruction carefully I have searched the existing issues I have updated the extension to the latest version What happened? I put in the image to be facelifted and th You can now save face models as "safetensors" files (ComfyUI\models\reactor\faces) and load them into ReActor implementing different scenarios and keeping super lightweight face models of the faces you use: Different fixes making this extension better. You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Jan 15, 2024 · DM/comment for question or your experiential needs. If the male is on the right, the male face will be male 0 (me), and the female face will be female 1 (one of my friends, not my wife). Fast and Simple Face Swap Extension Node for ComfyUI - comfyui-reactor-node/README. device('dml') doesn't even work here (AMD) because the device name is not "DML" but "privateuseone" with torchdirectml on windows Sep 12, 2023 · from scripts. However, given the way IPA works, what you could do (and what i think @cubiq is refering to, is that you could detect faces, pass them to an array, and then process them on by one using the standard method used with IPA). What's new in the latest updates 0. Face Masking feature is available now, just add the "ReActorMaskHelper" Node to the workflow and connect it as shown below: Mar 29, 2024 · After latest update face swap seems to have less resemblance to original input image Since applying the latest update the face swap output seems to have less resemblance to the original image input. Used CNN auto-encoder based deepfake algorithm and Google Cloud Platform (GCP) based services - Google App Engine (GAE), Google AI Platform for efficient deployment on cloud The Fast and Simple 'roop-like' Face Swap Extension Node for ComfyUI, based on ReActor (ex Roop-GE) SD-WebUI Face Swap Extension. Do I need to update ComfyUI as well? Steps to reproduce the problem. I also tried "1. Note: When you run this program for the first time, it will download some models ~1Gb in size. UI reworked; You can now load several source images (with reference faces) or set the path to the folder containing faces images Very fast and accurate face replacement (face swap) in images; Multiple faces support; Gender detection; Ability to save original images (made before swapping) Face restoration of a swapped face; Upscaling of a resulting image; Ability to set the Postprocessing order; 100% compatibility with different SD WebUIs: Automatic1111, SD. View Nodes. Github ; Documentation. And I have tried many versions of comfyui, but I still have this problem. Next, Cagliostro) You can now save face models as "safetensors" files (ComfyUI\models\reactor\faces) and load them into ReActor implementing different scenarios and keeping super lightweight face models of the faces you use: Ability to build and save face models directly from an image: However, the output face_model is None. Is there a way to restrict its usage? Additionally, the server crashes after analyzing images. Source is the image with a reference face Target is the image to swap This naming also goes in SD WebUI So, input_image - is the image to swap (target image) It's very simple I think and it also follows with the ComfyUI logic of inputs in pipes From 0. py", line 12, in from scripts. bat or . flowt. Steps to reproduce the problem. g. Nov 17, 2023 · Saved searches Use saved searches to filter your results more quickly You signed in with another tab or window. Reactor custom node seem to only do the face. Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node You can now save face models as "safetensors" files (ComfyUI\models\reactor\faces) and load them into ReActor implementing different scenarios and keeping super lightweight face models of the faces you use: Ability to build and save face models directly from an image: You can save face models as "safetensors" files (stored in <sd-web-ui-folder>\models\reactor\faces) and load them into ReActor, keeping super lightweight face models of the faces you use; "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful; Nov 6, 2023 · You signed in with another tab or window. sd ce aj ap hz nz hy op bl vh