ComfyUI > Nodes > Faceless Node for ComfyUI > Face Swap (Video)

ComfyUI Node: Face Swap (Video)

Class Name

FacelessVideoFaceSwap

Category
faceless
Author
jeffy5 (Account age: 3596days)
Extension
Faceless Node for ComfyUI
Latest Updated
2026-04-03
Github Stars
0.06K

How to Install Faceless Node for ComfyUI

Install this extension via the ComfyUI Manager by searching for Faceless Node for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Faceless Node for ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Face Swap (Video) Description

Facilitates seamless face swapping in videos using advanced detection and recognition models for AI artists and creators.

Face Swap (Video):

The FacelessVideoFaceSwap node is designed to facilitate the seamless swapping of faces in video content, leveraging advanced face detection and recognition models. This node is particularly beneficial for AI artists and creators who wish to alter the identity of individuals in video footage while maintaining the natural appearance and expressions of the original content. By utilizing a combination of source images and target videos, the node applies sophisticated algorithms to detect, recognize, and swap faces, ensuring high-quality and realistic results. The primary goal of this node is to provide a user-friendly and efficient method for face swapping in videos, making it an essential tool for creative projects that require identity transformation or anonymization.

Face Swap (Video) Input Parameters:

source_image

The source_image parameter is a crucial input that specifies the image containing the face you wish to swap into the target video. This image serves as the reference for the face swap operation, and its quality and clarity can significantly impact the final result. The parameter accepts an image file, and it is essential to ensure that the face in the image is clearly visible and well-lit to achieve optimal swapping results.

target_video

The target_video parameter refers to the video content where the face swap will be applied. This video must be pre-processed to extract frames, as the node operates on individual frames to perform the face swap. The parameter requires a FACELESS_VIDEO type, which includes extracted frames and metadata necessary for processing. Ensuring that the video is properly prepared and frames are extracted is vital for the node's successful execution.

swapper_model

The swapper_model parameter allows you to select the specific model used for the face swapping process. Different models may offer varying levels of detail, speed, and accuracy, so choosing the appropriate model based on your project's requirements is important. Available options include models like blendswap_256, inswapper_128, and others, each with unique characteristics and performance profiles.

detector_model

The detector_model parameter specifies the model used for detecting faces within the video frames. Accurate face detection is critical for the success of the face swap operation, as it ensures that the correct regions of the video are targeted for swapping. Options include models such as face_detector_retinaface, face_detector_scrfd, and others, each offering different detection capabilities and performance.

recognizer_model

The recognizer_model parameter determines the model used for recognizing and aligning faces in the video frames. This step is essential for ensuring that the swapped face aligns correctly with the target face's features and expressions. Available models include face_recognizer_arcface_blendswap and face_recognizer_arcface_inswapper, which provide robust recognition capabilities to enhance the realism of the face swap.

Face Swap (Video) Output Parameters:

video

The video output parameter represents the processed video with the face swap applied. This output is of the FACELESS_VIDEO type and contains the modified video frames where the source face has been seamlessly integrated into the target video. The output video maintains the original video's quality and continuity, providing a realistic and coherent result that can be used for various creative and artistic purposes.

Face Swap (Video) Usage Tips:

  • Ensure that the source_image is of high quality and clearly shows the face to achieve the best swapping results.
  • Pre-process the target_video to extract frames before using the node, as this is a prerequisite for the face swap operation.
  • Experiment with different swapper_model, detector_model, and recognizer_model combinations to find the best fit for your specific project needs and desired output quality.

Face Swap (Video) Common Errors and Solutions:

target video must be extracted frames

  • Explanation: This error occurs when the target video has not been pre-processed to extract frames, which is necessary for the face swap operation.
  • Solution: Ensure that the target video is properly prepared by extracting frames before using the node. This can typically be done using video editing software or specific pre-processing tools designed for frame extraction.

Face Swap (Video) Related Nodes

Go back to the extension to check out more related nodes.
Faceless Node for ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.