ninja pybind11 diffusers einops opencv-python numpy torch transformers torchvision omegaconf tqdm trimesh pymeshlab pygltflib xatlas scikit-image accelerate pygit2 realesrgan

This is a custom\_node for ComfyUI. It converts an image into a 3D file you can import into Blender or whatever 3d software you use. It uses Hunyuan-3D-2 Hunyuan-3D-2.1 from Tencent.
Make sure you use an image with a transparent background.
This custom node might fail after the first restart. Restart ComfyUI again. Click on the panel ~~☐~~ to look for errors.
Supports v2.1, v2.0, multi view, mini, turbo models.
Your version of git may not support submodules. To install the submodules manually…
cd ComfyUI/custom\_nodes/ComfyUI-Hunyuan-3D-2/
rm -rf Hunyuan3D-2 Hunyuan3D-2.1
rmdir /s Hunyuan3D-2 Hunyuan3D-2.1
git clone https://github.com/Tencent-Hunyuan/Hunyuan3D-2
git clone https://github.com/Tencent-Hunyuan/Hunyuan3D-2.1
There are also pre-compiled .whl files in the releases page. If the custom\_rastizer, hy3dgen, mesh\_processor python modules fail to install.
Paint is not working.
For painting. You need to manually download the RealESRGAN weight to the ckpt folder using the following command:
wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ckpt
You will need to install Visual C++ build tools
If you installed ComfyUI with ComfyUI\_windows\_portable, it is using a version of python which is missing the libs and header files. The way around it is to either copy some folders or install the module from else where. See issue #3
If you are getting a has no attribute '_get_vc_env' error.
Run pip install setuptools==75.8.2 to downgrade setuptools.
See Issue #148877
sudo apt install python3-dev libgl-dev
Hunyuan-3D needs g++ 13, Suse has g++ 14+ by default
sudo zypper install g++-13 Mesa-libGL-devel python3-dev
Not recommended because ComfyUI-Manager will auto update when you press the update button. git will need manual updates for every custom\_node you have.
cd custom_nodes
git clone https://github.com/niknah/ComfyUI-Hunyuan-3D-2
pip install -r requirements.txt
cd ComfyUI-Hunyuan-3D-2
git submodule update --init # You need to get the submodules if you install from git
~/.cache/huggingface/hub0.9.6: Added Hunyuan 3D v2.1 support
0.9.4: Added mini, turbo models.