CoolFace
Apppublic

anvilinteractiv/PolyGeniixAI5.0

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

中文阅读 日本語で読む

<p align="center"> <img src="./assets/images/teaser.jpg">

</p>

<div align="center"> <a href=https://3d.hunyuan.tencent.com target="blank"><img src=https://img.shields.io/badge/Official%20Site-black.svg?logo=homepage height=22px></a> <a href=https://huggingface.co/spaces/tencent/Hunyuan3D-2 target="blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Demo-276cb4.svg height=22px></a> <a href=https://huggingface.co/tencent/Hunyuan3D-2 target="blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a> <a href=https://3d-models.hunyuan.tencent.com/ target="blank"><img src= https://img.shields.io/badge/Page-bb8a2e.svg?logo=github height=22px></a> <a href=https://discord.gg/GuaWYwzKbX target="blank"><img src= https://img.shields.io/badge/Discord-white.svg?logo=discord height=22px></a> <a href=https://github.com/Tencent/Hunyuan3D-2/blob/main/assets/report/TencentHunyuan3D20.pdf target="_blank"><img src=https://img.shields.io/badge/Report-b5212f.svg?logo=arxiv height=22px></a> </div>

[//]: # ( <a href=# target="_blank"><img src=https://img.shields.io/badge/Report-b5212f.svg?logo=arxiv height=22px></a>)

[//]: # ( <a href=# target="_blank"><img src= https://img.shields.io/badge/Colab-8f2628.svg?logo=googlecolab height=22px></a>)

[//]: # ( <a href="#"><img alt="PyPI - Downloads" src="https://img.shields.io/pypi/v/mulankit?logo=pypi" height=22px></a>)

Join our [Wechat](#find-us) and [Discord](#find-us) group to discuss and find help from us.

<p align="center"> “ Living out everyone’s imagination on creating and manipulating 3D assets.” </p>

🔥 News

Abstract

PolyGenixAI: Fast and High-Quality 3D Asset Generation We present PolyGenixAI, an advanced system for rapidly generating high-resolution textured 3D assets. This system comprises two core components: a high-speed shape generation model, PolyGenixAI-DiT, and a robust texture synthesis model, PolyGenixAI-Paint.

PolyGenixAI-DiT, a scalable flow-based diffusion transformer, delivers precise geometry aligned with input images in seconds, enabling efficient creation of 3D models for diverse applications. PolyGenixAI-Paint leverages strong geometric and diffusion priors to produce vibrant, high-resolution texture maps for both generated and user-provided meshes.

Additionally, PolyGenixAI Studio offers a user-friendly platform that simplifies 3D asset creation and manipulation. It empowers both professionals and enthusiasts to quickly generate, edit, and animate 3D models with ease. PolyGenixAI outperforms state-of-the-art models, delivering superior geometry details, condition alignment, and texture quality. Optimized for speed, it ensures fast model generation without compromising quality, making it ideal for real-time and production workflows.

<p align="center"> <img src="assets/images/system.jpg"> </p>

☯️ Hunyuan3D 2.0

Architecture

Hunyuan3D 2.0 features a two-stage generation pipeline, starting with the creation of a bare mesh, followed by the synthesis of a texture map for that mesh. This strategy is effective for decoupling the difficulties of shape and texture generation and also provides flexibility for texturing either generated or handcrafted meshes.

<p align="left"> <img src="assets/images/arch.jpg"> </p>

Performance

We have evaluated Hunyuan3D 2.0 with other open-source as well as close-source 3d-generation methods. The numerical results indicate that Hunyuan3D 2.0 surpasses all baselines in the quality of generated textured 3D assets and the condition following ability.

ModelCMMD(⬇)FID_CLIP(⬇)FID(⬇)CLIP-score(⬆)
Top Open-source Model13.59154.639289.2870.787
Top Close-source Model13.60055.866305.9220.779
Top Close-source Model23.36849.744294.6280.806
Top Close-source Model33.21851.574295.6910.799
Hunyuan3D 2.03.19349.165282.4290.809

Generation results of Hunyuan3D 2.0: <p align="left"> <img src="assets/images/e2e-1.gif" height=250> <img src="assets/images/e2e-2.gif" height=250> </p>

Pretrained Models

ModelDateHuggingface
Hunyuan3D-DiT-v2-02025-01-21Download
Hunyuan3D-Paint-v2-02025-01-21Download

🤗 Get Started with Hunyuan3D 2.0

You may follow the next steps to use Hunyuan3D 2.0 via code or the Gradio App.

Install Requirements

Please install Pytorch via the official site. Then install the other requirements via

bash
pip install -r requirements.txt
# for texture
cd hy3dgen/texgen/custom_rasterizer
python3 setup.py install
cd hy3dgen/texgen/differentiable_renderer
bash compile_mesh_painter.sh

API Usage

We designed a diffusers-like API to use our shape generation model - Hunyuan3D-DiT and texture synthesis model - Hunyuan3D-Paint.

You could assess Hunyuan3D-DiT via:

python
from hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline

pipeline = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained('tencent/Hunyuan3D-2')
mesh = pipeline(image='assets/demo.png')[0]

The output mesh is a trimesh object, which you could save to glb/obj (or other format) file.

For Hunyuan3D-Paint, do the following:

python
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')

Please visit minimal_demo.py for more advanced usage, such as text to 3D and texture generation for handcrafted mesh.

Gradio App

You could also host a Gradio App in your own computer via:

bash
python3 gradio_app.py

Don't forget to visit Hunyuan3D for quick use, if you don't want to host yourself.

📑 Open-Source Plan

  • [x] Inference Code
  • [x] Model Checkpoints
  • [x] Technical Report
  • [ ] ComfyUI
  • [ ] TensorRT Version

🔗 BibTeX

If you found this repository helpful, please cite our reports:

bibtex
@misc{hunyuan3d22025tencent,
    title={Hunyuan3D 2.0: Scaling Diffusion Models for High Resolution Textured 3D Assets Generation},
    author={Tencent Hunyuan3D Team},
    year={2025},
}

@misc{yang2024tencent,
    title={Tencent Hunyuan3D-1.0: A Unified Framework for Text-to-3D and Image-to-3D Generation},
    year={2024},
    author={Tencent Hunyuan3D Team},
    eprint={2411.02293},
    archivePrefix={arXiv},
    primaryClass={cs.CV}
}

Acknowledgements

We would like to thank the contributors to the DINOv2, Stable Diffusion, FLUX, diffusers, HuggingFace, CraftsMan3D, and Michelangelo repositories, for their open research and exploration.

Find Us

Wechat GroupXiaohongshuXDiscord

Star History

<a href="https://star-history.com/#Tencent/Hunyuan3D-2&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Tencent/Hunyuan3D-2&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Tencent/Hunyuan3D-2&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Tencent/Hunyuan3D-2&type=Date" /> </picture> </a>