Instructions to use tencent/Hunyuan3D-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Hunyuan3D-2
How to use tencent/Hunyuan3D-2 with Hunyuan3D-2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
How to run locally or on Google colab
#13
by bermancheese - opened
Ima newb and cant figure it out
check this out
from hy3dgen.texgen import Hunyuan3DPaintPipeline
from hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline
let's generate a mesh first
pipeline = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained('tencent/Hunyuan3D-2')
mesh = pipeline(image='assets/demo.png')[0]
pipeline = Hunyuan3DPaintPipeline.from_pretrained('tencent/Hunyuan3D-2')
mesh = pipeline(mesh, image='assets/demo.png')