Documentation Index
Fetch the complete documentation index at: https://docs.moodmnky.com/llms.txt
Use this file to discover all available pages before exploring further.
Tencent Hunyuan 3D Local Setup
Tencent Hunyuan3D is an open-source 3D asset generation system that produces high-resolution textured 3D models from text or images. Running it locally gives you a private API that Blender MCP can use to generate 3D models from Cursor or Claude and import them into Blender.Hunyuan3D is from Tencent. The official repo is Tencent-Hunyuan/Hunyuan3D-2. Blender MCP (ahujasid/blender-mcp) adds Hunyuan3D support by calling a local API server you run yourself.
How It Fits With Your Setup
- Hunyuan3D API server — You run Tencent’s
api_server.pyon your machine (defaulthttp://localhost:8081). It loads the Hunyuan3D models and handles image-to-3D and text-to-3D requests. - Blender MCP — Already configured in Cursor; it talks to Blender’s addon over the socket. When you use Hunyuan3D from Cursor, the MCP server sends generation requests to your local Hunyuan3D API and then can import the resulting mesh into Blender.
System Requirements
| Requirement | Minimum | Recommended |
|---|---|---|
| OS | Windows 10/11 64-bit, macOS, Linux | — |
| RAM | 16 GB | 32 GB |
| GPU | NVIDIA GPU, 6 GB VRAM | 8 GB+ for texture generation; A100 40GB for full quality |
| GPU driver | NVIDIA, version > 550 (March 2024+) | — |
| Storage | 50 GB+ free | — |
| Python | 3.9–3.12 | 3.10 or 3.11 |
Option A: Full Local Install (Clone + Python)
Use this when you want the latest code and control over the environment.1. Install system prerequisites (Windows)
- Python 3.10 or 3.11 — From python.org; add to PATH.
- CUDA Toolkit 12.4+ — From NVIDIA. Verify with
nvcc --version. - Visual Studio Build Tools — For compiling C++ extensions. Install with “Desktop development with C++”.
2. Clone the repository
3. Create a virtual environment and install PyTorch
Use a venv or conda with Python 3.9–3.12. Example with venv:4. Install project dependencies
5. Build texture-generation extensions
Texture generation requires two native modules. Custom rasterizer:6. Download models from Hugging Face
Models are downloaded automatically on first use when you usetencent/Hunyuan3D-2 (or the mini/mv repos) in code. To pre-download with the CLI if available:
api_server.py or the Gradio app will pull from Hugging Face. Log in if required:
| Repo / subfolder | Use case | VRAM |
|---|---|---|
tencent/Hunyuan3D-2mini | Smallest; good for low VRAM | Lower |
tencent/Hunyuan3D-2mv | Multiview image-to-shape | Medium |
tencent/Hunyuan3D-2 | Full quality (DiT + Paint) | ~6 GB shape, ~16 GB with texture |
hunyuan3d-dit-v2-0-turbo, hunyuan3d-dit-v2-mini-turbo).
7. Start the API server
From theHunyuan3D-2 directory, with your venv activated:
Shape only (no texture, lower VRAM):
--low_vram_mode if you have limited GPU memory. Leave this server running while you use Blender MCP with Hunyuan3D.
Option B: Windows portable bundle (no clone)
For a quicker Windows setup without cloning and building:- Hunyuan3D-2-WinPortable — Community bundle; check releases for a prebuilt package that includes dependencies and optionally the API server.
- Hunyuan3D-2-for-windows — Windows-oriented fork with install notes.
Using Hunyuan3D from Blender MCP
- Start the Hunyuan3D API server (see above) and keep it running.
- Start Blender and enable the Blender MCP addon; click Connect to Claude in the BlenderMCP sidebar.
- In Cursor, ensure the Blender MCP server is enabled (and that it’s configured to use your local Hunyuan3D API URL if you changed it).
- In Cursor, you can ask the AI to generate a 3D model via Hunyuan3D (text or image); the MCP will call your local API and can then import the result into Blender.
http://localhost:8081 (or your custom host/port).
Alternative: Tencent Blender addon only
Tencent also provides a Blender addon that talks to the same local API. You can use either:- Tencent addon — UI inside Blender to trigger generation, or
- Blender MCP — Trigger generation from Cursor/Claude and have the MCP handle import into Blender.
api_server.py (or compatible API) running.
Gradio app (no API server)
If you only want to try Hunyuan3D in the browser without Blender MCP:api_server.py for that.
Troubleshooting
| Issue | Suggestion |
|---|---|
| Out of memory (OOM) | Use tencent/Hunyuan3D-2mini or Turbo models, --low_vram_mode, or shape-only (no --enable_tex). |
| Build errors (rasterizer/renderer) | Ensure Visual Studio Build Tools (Windows) or build-essential (Linux) are installed; check Python and CUDA versions. |
| Blender MCP doesn’t generate with Hunyuan | Confirm the Hunyuan3D API server is running on port 8081 and that Blender MCP (or addon) is configured to use that URL. |
| Models not found | Run huggingface-cli login if the repo is gated; allow first-run download or use a pre-download script. |
References
- Tencent Hunyuan3D-2: GitHub | Hugging Face
- Blender MCP: Blender MCP doc | ahujasid/blender-mcp
- Windows bundle: Hunyuan3D-2-WinPortable
- Online demo (no install): Hunyuan3D Studio | Hugging Face Space