Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance and restore facial features in images using advanced AI models for realistic and refined results.
The Restore Face (mtb) node is designed to enhance and restore facial features in images using advanced AI models like GFPGan. This node is particularly useful for AI artists who want to improve the quality of faces in their artwork, making them appear more realistic and refined. By leveraging sophisticated face restoration techniques, the node can correct imperfections, enhance details, and provide a more polished final image. This tool is essential for anyone looking to elevate the quality of facial features in their digital creations, ensuring that faces are not only clear but also aesthetically pleasing.
This parameter accepts an image tensor that contains the faces you want to restore. The image should be in a format that the model can process, typically a tensor representation of the image.
This parameter specifies the face enhancement model to be used for restoration. The model should be a pre-trained face enhancement model compatible with the node, such as GFPGan or RestoreFormer.
This boolean parameter indicates whether the input faces are aligned. Aligned faces mean that the faces are pre-processed to be in a standard orientation, which can improve the restoration quality. The default value is False
.
This boolean parameter determines whether only the center face in the image should be restored. This is useful when you want to focus on the most prominent face in a multi-face image. The default value is False
.
This float parameter allows you to adjust the weight of the restoration effect. A higher weight means a stronger restoration effect, while a lower weight means a subtler effect. The default value is 0.5
.
This boolean parameter specifies whether to save intermediate steps of the restoration process. This can be useful for debugging or understanding the restoration process. The default value is True
.
This optional boolean parameter indicates whether to preserve the alpha channel of the image. Preserving the alpha channel is important for images with transparency. The default value is True
.
The output is an enhanced image tensor where the faces have been restored and improved. This output can be used directly in your artwork or further processed as needed. The restored image will have clearer and more refined facial features, making it more visually appealing.
weight
parameter to find the optimal balance between subtle and strong restoration effects.only_center_face
parameter when working with images containing multiple faces to focus on the most important face.save_tmp_steps
if you want to analyze the intermediate steps of the restoration process for better understanding and debugging.<path>
© Copyright 2024 RunComfy. All Rights Reserved.