ComfyUI-ReActor
Run ComfyUI Easily with InstaSD
Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:
- One-click deployment
- Any model, any node
- Powerful GPUs for rapid iteration
Available Nodes
ReActorFaceBoost
ReActorFaceBoost Node Documentation
Overview
The ReActorFaceBoost node is a component of the ComfyUI framework designed to improve the quality of swapped faces in images. It operates by applying face restoration models to enhance details and features of the swapped face before it is integrated back into the target image. This approach can improve the final visual output of face-swapping activities by refining the facial elements prior to the final composition.
Input Parameters
The ReActorFaceBoost node accepts the following inputs:
-
Enabled
- Type: Boolean
- Default Value: True
- Description: Activates or deactivates the face boost feature. When set to "ON," the node processes the input based on other settings.
-
Boost Model
- Type: Selection (Model Names)
- Description: Specifies the face restoration model to be used for enhancing the face. Available models are pre-trained and can be selected based on the desired output quality.
-
Interpolation
- Type: Selection (Nearest, Bilinear, Bicubic, Lanczos)
- Default Value: Bicubic
- Description: Determines the algorithm for resizing or scaling the face images during processing.
-
Visibility
- Type: Float
- Range: 0.1 to 1.0
- Default Value: 1
- Description: Controls the degree of restoration applied to the face. A higher value results in more visible face restoration effects.
-
Codeformer Weight
- Type: Float
- Range: 0.0 to 1.0
- Default Value: 0.5
- Description: Specifies the weight for blending restoration effects using the CodeFormer model. Adjusting this can influence the fidelity of the restoration.
-
Restore with Main After
- Type: Boolean
- Default Value: False
- Description: Indicates whether the main face restoration should be applied after the boosting process. This can be useful for further refining results.
Outputs
The ReActorFaceBoost node generates the following output:
- FACE_BOOST
- Type: Composite Output
- Description: The output produced is composed of the processed face detail enhancements meant for integration into the main face swapping pipeline. This output can act as a stimulus in workflows where additional face enhancement is required.
Usage in ComfyUI Workflows
The ReActorFaceBoost node is a crucial component for optimizing face-swapping operations in ComfyUI workflows. It is typically utilized in the following manner:
-
Integration: Connect the ReActorFaceBoost node to the primary face swap node within the workflow. This connection ensures that the enhancement effects are applied during the face-swapping process.
-
Configuration: Set the appropriate model and parameters based on the desired output quality. Adjust interpolation and visibility settings to fine-tune the restoration effects.
-
Processing: Run the workflow to process input images. The face boost node will enhance the details of swapped faces, ensuring high-quality results.
-
Final Composition: Use the processed output in further nodes or storage operations for final delivery or additional editing.
Special Features and Considerations
-
Model Variety: The node supports multiple face restoration models, offering flexibility in selecting the best fit for specific requirements.
-
Dynamic Configuration: Users can manipulate visibility and interpolation methods to adapt the restoration strength and style.
-
Post-Processing: By enabling the "Restore with Main After" feature, users can achieve a two-step restoration process, ensuring comprehensive face enhancement.
Overall, the ReActorFaceBoost node is an essential tool for users looking to achieve high-fidelity results in their face-swapping workflows within the ComfyUI environment.