Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

HunyuanDiT

by Tencent Hunyuan

Tencent's diffusion-transformer text-to-image model with fine-grained Chinese and English prompt understanding.

AI image generators Open source

GitHub repoWebsite

2. Commercial use: huggingface.co

“is greater than 100 million monthly active users in the preceding calendar month, You must request a license from Tencent”

Allowed under the Tencent Hunyuan Community License if you follow the Acceptable Use Policy, stay under 100 million monthly users and, under the code repository license, stay outside the EU.

huggingface.co

License checked Oct 25, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

Hunyuan-DiT: open image model for Chinese and English prompts

Hunyuan-DiT is an open AI model from Tencent that draws pictures from a written description in Chinese or English. It is known for understanding Chinese culture and long, detailed prompts, and a helper model can refine a picture over several chat turns. You run it on your own NVIDIA graphics card; business use is free under Tencent's own license with some rules.

Where you can use it

Pictures from Chinese prompts

Make illustrations from prompts written in Chinese, including Chinese art styles and cultural details that many other models miss.

Quicker drafts with the fast version

Use the distilled model with fewer steps when you need many draft pictures, for example to pick a direction for a poster.

Refine a picture by chatting

Describe a picture, then ask for changes in follow-up messages; a helper model rewrites the prompt each turn.

Follow a pose or outline

Give it an edge sketch, a pose or a depth picture, and it draws a new image that keeps that layout.

Teach it your own style

Train a small add-on on your own pictures, such as a product line or a house style, and reuse it in every prompt.

Visuals for Chinese-speaking customers Idea

Make banners and social images for a shop or app aimed at Chinese-speaking customers, written straight from Chinese briefs.

As reported by Tencent Hunyuan: SDXL scored 42.7 overall in the makers' own human review; Hunyuan-DiT scores 59.0 overall in that review; The distilled version is about 50% faster on NVIDIA cards.

HunyuanDiT popularity

24 / 100
Gid Score, same scale as developer tools
4,292
GitHub stars
HunyuanDiT: GitHub starsTencent-Hunyuan/HunyuanDiT 4,292

How the Gid Score is calculated

How to start

Tell your AI assistant

“On my Linux machine with an NVIDIA card of 11 GB or more, install diffusers and generate a 1024x1024 image with HunyuanDiTPipeline from Tencent-Hunyuan/HunyuanDiT-v1.2-Diffusers for a Chinese prompt, and mark the saved image as AI-generated where we publish it.”

Or install it yourself. On Linux with an NVIDIA card of at least 11 GB, install PyTorch 2.0 or newer and the diffusers library.

pip install diffusers
Show codeStep 1 or Step 2

Load the v1.2 model in Diffusers format and draw a picture from a Chinese or English prompt.

pipe = HunyuanDiTPipeline.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-Diffusers", torch_dtype=torch.float16)
pipe.to("cuda")

Mistakes to avoid

HunyuanDiTPipeline.from_pretrained("Tencent-Hunyuan/HunyuanDiT")
HunyuanDiTPipeline.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-Diffusers", torch_dtype=torch.float16)

The official Diffusers example loads the -Diffusers model page; the original page holds files for the project's own scripts in t2i/ and dialoggen/ folders.

Loading the prompt helper and the image model together on a 16 GB card
Start with --no-enhance, or load the helper in 4-bit with --load-4bit

DialogGen plus Hunyuan-DiT needs about 32 GB; the image model alone needs 11 GB.

Publishing generated pictures on a site or social account with no AI label
Mark them clearly as machine-generated, for example in the caption or alt text

The Acceptable Use Policy in the license requires it for public content.

Running the GitHub code for users in the European Union without checking the license
Check where your users are; the license in the code repository is limited to a territory that excludes the EU

Use outside the territory is unlicensed.

Shipping the model files in your product without the license and Notice file
Give recipients the license and include the Notice text file

The license makes both a condition of distribution.

License

Tencent Hunyuan Community License. Free to use, also in paid products, under the Tencent Hunyuan Community License. Very large services need Tencent's permission, and the license file published with the code does not cover the European Union. Pictures you make are yours, but posted AI pictures must be marked as machine-made.

Commercial use
With conditions

“is greater than 100 million monthly active users in the preceding calendar month, You must request a license from Tencent” huggingface.co

Credit
Not needed

“All distributions to Third Parties (other than through a Hosted Service) must be accompanied by a “Notice” text file” huggingface.co

Inside your app or game
With conditions

“You must provide all such Third Party recipients of the Tencent Hunyuan Works or products or services using them a copy of this Agreement” huggingface.co

Pass the files on to your users
With conditions

Share the weights only with the license, the Notice file and a clear note on files you changed.

“You must cause any modified files to carry prominent notices stating that You changed the files;” huggingface.co

Monetized YouTube
With conditions

“Tencent claims no rights in Outputs You generate. You and Your users are solely responsible for Outputs and their subsequent uses.” huggingface.co

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is HunyuanDiT free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with HunyuanDiT. Paste them into your prompt or AGENTS.md.

License rules
- HunyuanDiT (AI image generators). Tencent's diffusion-transformer text-to-image model with fine-grained Chinese and English prompt understanding. Price: free; commercial use with conditions; no credit needed; ship inside your app with conditions.
  Connect: download from https://huggingface.co/Tencent-Hunyuan/HunyuanDiT (no API).
  Rule: Products with over 100 million monthly active users need a separate license from Tencent.
  Rule: Follow the Acceptable Use Policy; do not use outputs to improve other large language models.
  Rule: Give recipients a copy of the license and ship the Tencent Hunyuan Notice file with redistributed weights.
  License: https://huggingface.co/Tencent-Hunyuan/HunyuanDiT/blob/main/LICENSE.txt (checked 2026-10-25; details: https://agentgid.com/assets/hunyuandit/)
Can an agent use it by itself?
No.
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Powered by Tencent Hunyuan
This card for machines

Alternatives

HunyuanDiT This page

Free With conditions Download

Stable Diffusion XL base 1.0

Pick Stable Diffusion XL for a widely used open image model with a large add-on ecosystem; it works alone or with its refiner.

Free With conditions Download

FLUX.1 [dev]

Pick FLUX.1 [dev] for an open-weight model from Black Forest Labs; it is free only for non-commercial use.

Free Non-commercial Download

Z-Image-Turbo

Pick Z-Image-Turbo for an efficient open-weights image model built on a single-stream diffusion transformer.

Free Commercial OK Download

InvokeAI

Free open-source, self-hosted AI image generation app with a layer-based canvas and node-based workflows.

Free Commercial OK Download

DeepFloyd IF

Open-source text-to-image diffusion model with a T5 text encoder and three cascaded stages, producing up to 1024x1024 px images.

Free With conditions PyPI

All ai image generators

Questions

Can I use the pictures in a paid product?

Yes. Tencent claims no rights in the pictures you make, and commercial use is allowed below 100 million monthly users, if you follow the usage rules.

Does it understand English prompts?

Yes. It reads both Chinese and English; its strength is fine detail in Chinese prompts.

Will it run on a smaller graphics card?

The makers released scripts for cards with 6 GB of memory; the standard setup needs 11 GB.

Can I use it in the European Union?

Unclear. The license in the GitHub code repository excludes the EU, but the license files on the v1.0 and v1.2 model pages have no such clause.