Model reference · open weights
HunyuanD is an open-weight image model from Tencent-Hunyuan, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
Hunyuan-DiT : A Powerful Multi-Resolution Diffusion Transformer with Fine-Grained Chinese Understanding 混元-DiT: 具有细粒度中文理解的多分辨率Diffusion Transformer [[Arxiv]](https://arxiv.org/abs/2405.08748) [[project page]](https://dit.hunyuan.tencent.com/) [[github]](https://github.com/Tencent/HunyuanDiT) This repo contains the distilled Hunyuan-DiT in 🤗 Diffusers format. It supports 25-step text-to-image generation. Dependency Please install PyTorch first, following the instruction in https://pytorch.org Install the latest version of transformers with pip: Then install the latest github version of 🤗 Diffusers with pip: Example Usage with 🤗 Diffusers 📈 Comparisons In order to comprehensively compare the generation capabilities of HunyuanDiT and other models, we constructed a 4-dimensional test set, including Text-Image Consistency, Excluding AI Artifacts, Subject Clarity, Aesthetic. More than 50 professional evaluators performs the evaluation. 🎥 Visualization Chinese Elements Long Text Input 🔥🔥🔥 Tencent Hunyuan Bot Welcome to Tencent Hunyuan Bot, where you can explore our innovative products in multi-round conversation!
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | Tencent-Hunyuan |
|---|---|
| Type | Image models |
| Parameters (lead) | 1.5B |
| Variants | 1 |
| Runs with | diffusers |
| Released | 2024-06-14 |
| Popularity | 203k downloads / month |
| Likes | 18 |
| Licence | Commercial licence needed |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| HunyuanDiT-v1.1-Diffusers-Distilled | 1.5B | BF16 | ~3.5 GB | ✓ | Weights ↗ |
Using it via the API
Once AxForge deploys hunyuand for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (hunyuand below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"hunyuand","prompt":"a red bicycle","size":"1024x1024"}'
Licence
The weights are open but its licence needs a commercial agreement for business use. AxForge can arrange that licence and host the model for you — you pay AxForge, we settle with the model’s maker. Ask us for a quote. Read the licence ↗