ComfyUI > Nodes > ComfyUI-Sapiens2 > Sapiens2 Normals

ComfyUI Node: Sapiens2 Normals

Class Name

Sapiens2Normal

Category
Sapiens2
Author
kijai (Account age: 2864days)
Extension
ComfyUI-Sapiens2
Latest Updated
2026-05-06
Github Stars
0.05K

How to Install ComfyUI-Sapiens2

Install this extension via the ComfyUI Manager by searching for ComfyUI-Sapiens2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Sapiens2 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

Sapiens2 Normals Description

Generate high-quality normal maps from images using Sapiens2 model for realistic 3D graphics.

Sapiens2 Normals:

The Sapiens2Normal node is designed to generate normal maps from input images using the Sapiens2 model. Normal maps are crucial in 3D graphics as they provide detailed surface orientation information, which enhances the realism of rendered images by simulating the interaction of light with surfaces. This node leverages the capabilities of the Sapiens2 model to process images and produce high-quality normal maps, which can be used in various applications such as game development, animation, and virtual reality. By integrating seamlessly with the Sapiens2 framework, this node offers a powerful tool for artists and developers looking to enhance their visual content with realistic lighting effects.

Sapiens2 Normals Input Parameters:

image

This parameter accepts the input image from which the normal map will be generated. The quality and resolution of the input image can significantly impact the detail and accuracy of the resulting normal map.

sapiens2_model

This parameter requires the SAPIENS2_MODEL, which is a pre-trained model used to process the input image and generate the normal map. The model's capabilities determine the quality and features of the output.

frames_per_batch

This integer parameter specifies the number of frames processed per forward pass. It has a default value of 1, with a minimum of 1 and a maximum of 256. Adjusting this value can help manage memory usage and processing time, especially when dealing with large images or batch processing.

mask

An optional parameter that accepts a foreground mask. This mask determines which parts of the image are processed to generate the normal map. Areas where the mask equals zero will result in black output, allowing for selective processing of image regions.

Sapiens2 Normals Output Parameters:

normal

The output is an image representing the normal map generated from the input image. This map encodes surface orientation information, which can be used to simulate realistic lighting and shading effects in 3D rendering applications.

Sapiens2 Normals Usage Tips:

  • Ensure that the input image is of high quality and resolution to achieve detailed and accurate normal maps.
  • Adjust the frames_per_batch parameter to optimize performance based on your system's memory capacity. Lower values can prevent out-of-memory errors during processing.
  • Utilize the mask parameter to focus on specific areas of the image, reducing processing time and enhancing the relevance of the normal map for your application.

Sapiens2 Normals Common Errors and Solutions:

"Out of Memory Error"

  • Explanation: This error occurs when the system runs out of memory while processing the image.
  • Solution: Reduce the frames_per_batch value to decrease memory usage, or ensure that your system has sufficient memory available for processing.

"Invalid Model Error"

  • Explanation: This error indicates that the provided sapiens2_model is not valid or not properly loaded.
  • Solution: Verify that the correct SAPIENS2_MODEL is loaded and properly configured before executing the node.

"Mask Dimension Mismatch"

  • Explanation: This error occurs when the dimensions of the mask do not match the input image dimensions.
  • Solution: Ensure that the mask provided matches the dimensions of the input image to avoid processing errors.

Sapiens2 Normals Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Sapiens2
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.

Sapiens2 Normals