ComfyUI > Nodes > ComfyUI-SAM3DBody

ComfyUI Extension: ComfyUI-SAM3DBody

Repo Name

ComfyUI-SAM3DBody

Author
pznodes (Account age: 2240 days)
Nodes
View all nodes(16)
Latest Updated
2025-12-21
Github Stars
0.22K

How to Install ComfyUI-SAM3DBody

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

ComfyUI-SAM3DBody Description

ComfyUI-SAM3DBody enables robust 3D human mesh recovery from single images within ComfyUI, capturing detailed pose, shape, and hand features.

ComfyUI-SAM3DBody Introduction

ComfyUI-SAM3DBody is an innovative extension designed to integrate Meta's SAM 3D Body model into the ComfyUI environment. This extension allows you to recover a full-body 3D human mesh from a single image, making it a powerful tool for AI artists interested in 3D modeling and animation. By using this extension, you can transform 2D images into detailed 3D models, which can be particularly useful for creating realistic human figures in digital art and animation projects. The extension simplifies the complex process of 3D mesh recovery, making it accessible even to those without extensive technical expertise.

How ComfyUI-SAM3DBody Works

At its core, ComfyUI-SAM3DBody leverages the SAM 3D Body model, which is a promptable model for single-image full-body 3D human mesh recovery. The model uses an encoder-decoder architecture to estimate the human pose, including the body, feet, and hands. It supports auxiliary prompts like 2D keypoints and masks, allowing for user-guided inference. Imagine it as a sophisticated artist that can take a flat image and sculpt a 3D figure from it, understanding the nuances of human anatomy and pose. This process involves analyzing the image to detect key features and then reconstructing a 3D mesh that represents the human form in the image.

ComfyUI-SAM3DBody Features

  • Load SAM 3D Body Model: This feature allows you to load the SAM 3D Body model from HuggingFace or a local checkpoint. It serves as the starting point for processing images and generating 3D meshes.
  • Process Image: With this feature, you can reconstruct a 3D mesh from an image. It offers optional modes for mask/detection, including full, body, and hand modes, giving you flexibility in how you want to process the image.
  • Process Image (Advanced): This feature provides full control over detection, segmentation, and field of view (FOV) estimation, allowing for more precise and customized 3D mesh recovery.
  • Visualize Mesh: Once a 3D mesh is generated, this feature lets you render it as an overlay on the original image, helping you visualize the transformation from 2D to 3D.
  • Export Mesh: You can save the generated 3D mesh as an OBJ or PLY file, making it easy to use in other 3D modeling software or share with others.
  • Get Mesh Info: This feature displays statistics about the generated mesh, providing insights into its complexity and structure.

ComfyUI-SAM3DBody Models

The extension uses the SAM 3D Body model, which is available in different configurations. Each model is designed to handle specific tasks and can be selected based on your needs. For instance, the DINOv3-H+ model is known for its high accuracy in diverse conditions, making it suitable for complex scenes. Choosing the right model can affect the quality and performance of the 3D mesh recovery, so it's important to consider the specific requirements of your project.

Troubleshooting ComfyUI-SAM3DBody

If you encounter issues while using ComfyUI-SAM3DBody, here are some common problems and solutions:

  • Model Loading Errors: Ensure that the model files are correctly downloaded from HuggingFace and that the paths are correctly set in the extension settings.
  • Mesh Visualization Issues: If the mesh does not appear correctly, check the image quality and ensure that the image is well-lit and clear, as poor image quality can affect the mesh recovery process.
  • Export Problems: If you have trouble exporting the mesh, verify that you have write permissions in the directory where you are trying to save the files. For more detailed troubleshooting, consider visiting community forums or the extension's GitHub page for support from other users and developers.

Learn More about ComfyUI-SAM3DBody

To further explore the capabilities of ComfyUI-SAM3DBody, you can access additional resources such as tutorials and community forums. These resources can provide valuable insights and tips for using the extension effectively. The SAM 3D Body GitHub page and the project paper (https://ai.meta.com/research/publications/sam-3d-body-robust-full-body-human-mesh-recovery/) are excellent starting points for understanding the underlying technology and its applications. Engaging with the community can also help you learn from the experiences of other AI artists and developers.

ComfyUI-SAM3DBody Related Nodes

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.