Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficient face swapping node with advanced algorithms for high-quality results, ideal for AI artists seeking creative compositions.
ReActorFaceSwap is a powerful and efficient node designed for seamless face swapping in images. This node leverages advanced face detection and swapping algorithms to replace faces in a target image with those from a source image, ensuring high-quality and realistic results. It is particularly useful for AI artists looking to create unique and creative compositions by merging facial features from different images. The node supports various customization options, including gender-specific adjustments and face restoration enhancements, making it versatile for a wide range of artistic applications. By automating the face swapping process, ReActorFaceSwap saves time and effort, allowing you to focus on the creative aspects of your work.
The source image containing the face(s) to be swapped into the target image. This parameter is crucial as it provides the facial features that will be transferred. Ensure the source image is clear and well-lit for optimal results.
The target image where the face(s) from the source image will be swapped. This image should have a clear view of the face(s) to ensure accurate detection and swapping.
An index or list of indices specifying which faces from the source image should be used for swapping. This allows you to select specific faces if the source image contains multiple faces. The default value is 0, indicating the first detected face.
An index or list of indices specifying which faces in the target image should be replaced. This helps in targeting specific faces in the target image for swapping. The default value is 0, indicating the first detected face.
The path to the face swap model used for the swapping process. This model determines the quality and style of the face swap. Ensure the model path is correctly specified to avoid errors.
A parameter indicating the gender of the source face. This helps in ensuring gender-specific adjustments during the face swap. The value can be 0 (unspecified), 1 (male), or 2 (female).
A parameter indicating the gender of the target face. This helps in ensuring gender-specific adjustments during the face swap. The value can be 0 (unspecified), 1 (male), or 2 (female).
The face model used for detecting and processing faces in the images. This model is essential for accurate face detection and swapping.
An order parameter that specifies the sequence in which faces should be processed. This can be useful when dealing with multiple faces in the images.
A boolean parameter that enables or disables face boosting. When enabled, it enhances the swapped face for better quality. The default value is False.
The model used for restoring the face after swapping. This helps in improving the visual quality of the swapped face.
A parameter that controls the visibility of the restored face. This can be adjusted to blend the restored face seamlessly with the target image.
A weight parameter for the CodeFormer model used in face restoration. This controls the influence of the CodeFormer model on the final result.
A parameter that controls the interpolation method used during face swapping. This affects the smoothness and quality of the transition between the swapped face and the target image.
The final image with the face(s) swapped. This output image will have the faces from the source image seamlessly integrated into the target image, reflecting all the specified adjustments and enhancements.
<face_num>
© Copyright 2024 RunComfy. All Rights Reserved.