MiniMax H3 Face Refine Stitch Audit / 脸部回贴审计 (Advanced):
The MiniMaxH3FaceRefineStitchAuditT8Advanced node is designed to enhance the quality of face refinement in video processing by creating a review candidate that adheres to source-bound geometry and local color matching. This node is particularly beneficial for ensuring that the refined face regions maintain consistency with the original source material, as it incorporates per-frame fallback mechanisms and conducts a bit-exact audit of pixels outside the mask. Importantly, it does not overwrite or accept the source material, nor does it modify any audio components, making it a non-destructive tool for face refinement. This node is experimental and serves as an output node, indicating its role in producing final results for review.
MiniMax H3 Face Refine Stitch Audit / 脸部回贴审计 (Advanced) Input Parameters:
base_frames
The base_frames parameter represents the original frames of the video that are used as the foundation for face refinement. It is crucial for maintaining the integrity of the source material during the refinement process. There are no specific minimum, maximum, or default values provided, as this parameter is dependent on the input video.
refined_crops
The refined_crops parameter contains the refined face regions that are to be integrated back into the base frames. This parameter is essential for ensuring that the refined areas are accurately placed and blended with the original frames. The values for this parameter are determined by the face refinement process.
face_plan
The face_plan parameter outlines the strategy for face refinement, including the areas to be refined and the methods to be used. This parameter is critical for guiding the refinement process and ensuring that it aligns with the desired outcomes. The specifics of this parameter depend on the refinement strategy employed.
paste_region
The paste_region parameter specifies the area within the base frames where the refined crops will be pasted. This parameter is important for ensuring that the refined areas are correctly positioned within the original frames. The values for this parameter are determined by the face refinement plan.
feather_source_px
The feather_source_px parameter controls the feathering of the source pixels around the edges of the refined crops. This parameter helps to create a smooth transition between the refined areas and the original frames, reducing visible seams. The specific values for this parameter depend on the desired level of feathering.
blend_strength
The blend_strength parameter determines the intensity of blending between the refined crops and the base frames. This parameter is crucial for achieving a natural and seamless integration of the refined areas. The values for this parameter can vary based on the desired blending effect.
color_match_strength
The color_match_strength parameter adjusts the degree of color matching between the refined crops and the base frames. This parameter is important for ensuring that the colors of the refined areas are consistent with the original frames. The values for this parameter depend on the level of color matching required.
max_face_mean_abs_delta
The max_face_mean_abs_delta parameter sets the maximum allowable mean absolute difference between the refined face regions and the original source. This parameter is essential for maintaining the quality and consistency of the refined faces. The specific values for this parameter are determined by the quality requirements of the refinement process.
fallback_neighbor_frames
The fallback_neighbor_frames parameter specifies the neighboring frames to be used as fallback options in case the refinement process encounters issues. This parameter is important for ensuring continuity and consistency in the face refinement process. The values for this parameter depend on the video and the refinement strategy.
processing_device
The processing_device parameter indicates the device on which the face refinement process will be executed. This parameter is crucial for optimizing the performance and efficiency of the refinement process. The values for this parameter can include options such as CPU or GPU, depending on the available hardware.
MiniMax H3 Face Refine Stitch Audit / 脸部回贴审计 (Advanced) Output Parameters:
result
The result parameter provides the final output of the face refinement process, which includes the refined frames ready for review. This parameter is important for assessing the quality and effectiveness of the refinement process.
changed_mask
The changed_mask parameter indicates the areas of the frames that have been altered during the refinement process. This parameter is useful for identifying the specific regions that have been refined and ensuring that the changes align with the desired outcomes.
fallback_mask
The fallback_mask parameter highlights the frames where fallback options were utilized during the refinement process. This parameter is important for understanding the continuity and consistency of the refinement process.
sum_fallback
The sum_fallback parameter provides a count of the total number of fallback frames used during the refinement process. This parameter is useful for evaluating the reliability and stability of the refinement process.
canonical_json
The canonical_json parameter contains a structured report of the refinement process, including details such as the plan SHA256, frame count, fallback frames, mean face delta, and processing device. This parameter is important for documenting the refinement process and ensuring transparency and accountability.
MiniMax H3 Face Refine Stitch Audit / 脸部回贴审计 (Advanced) Usage Tips:
- Ensure that the
base_framesandrefined_cropsare accurately aligned to achieve the best results in face refinement. - Adjust the
blend_strengthandcolor_match_strengthparameters to achieve a natural and seamless integration of the refined areas with the original frames.
MiniMax H3 Face Refine Stitch Audit / 脸部回贴审计 (Advanced) Common Errors and Solutions:
Stitch audit failed: pixels outside the paste mask changed
- Explanation: This error occurs when the audit detects changes in pixels outside the designated paste mask, indicating a potential issue with the refinement process.
- Solution: Review the
paste_regionandfeather_source_pxparameters to ensure that the refined areas are correctly defined and that no unintended changes occur outside the mask. Adjust the parameters as needed to resolve the issue.
