#5858th of 90 in Open modelsFor image, video and design, image and design

promptenhancer

Prompt-rewriting LLMs that expand short prompts for text-to-image and image editing

Stars
3.8k
License
custom license
Last commit
Aug 2026
Language
Python
Stars, last 29 weeks+149
25 Apr 2026: 3,659 stars2 May 2026: 3,663 stars9 May 2026: 3,669 stars16 May 2026: 3,673 stars23 May 2026: 3,681 stars30 May 2026: 3,689 stars6 Jun 2026: 3,692 stars13 Jun 2026: 3,700 stars20 Jun 2026: 3,702 stars27 Jun 2026: 3,709 stars4 Jul 2026: 3,715 stars11 Jul 2026: 3,719 stars18 Jul 2026: 3,724 stars25 Jul 2026: 3,729 stars1 Aug 2026: 3,739 stars8 Aug 2026: 3,746 stars15 Aug 2026: 3,749 stars22 Aug 2026: 3,752 stars29 Aug 2026: 3,759 stars5 Sept 2026: 3,764 stars12 Sept 2026: 3,767 stars19 Sept 2026: 3,772 stars26 Sept 2026: 3,776 stars3 Oct 2026: 3,780 stars10 Oct 2026: 3,784 stars17 Oct 2026: 3,786 stars24 Oct 2026: 3,797 stars31 Oct 2026: 3,800 stars7 Nov 2026: 3,804 stars14 Nov 2026: 3,808 stars

3,659 on 25 Apr 20263,808 on 14 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Tencent Hunyuan's PromptEnhancer rewrites short or vague image prompts into structured, detailed ones while keeping the original intent, using chain-of-thought rewriting. It ships 7B and 32B Transformers models, an Img2Img editing variant built on Qwen2.5-VL that reads the input image, and quantized 32B GGUF files that run through llama.cpp. Python classes expose a predict() call for each mode.

Who it is for: Developers adding prompt rewriting in front of image-generation models

Strengths

  • Covers both text-to-image prompts and image-editing instructions that use the input image as context
  • Offers 7B, 32B and GGUF Q8_0, Q6_K and Q4_K_M, with a stated memory figure for each
  • Includes the T2I-Keypoints-Eval dataset and evaluation script, plus a technical report on arXiv
  • Small Python API: one predict() call with temperature, top_p and max_new_tokens

Weaknesses

  • License is not detected by GitHub (NOASSERTION), so reuse terms need checking before adoption
  • 32B models need 20-64GB of memory; only the 7B fits typical consumer GPUs
  • Library only: no HTTP server, UI or Docker setup, so serving must be built separately
  • GGUF path handles text prompts only; image editing needs the 32B Transformers model

What it needs

  • RAM ≥ 8 GB
  • GPU optional
  • Needs PyTorch/Transformers, llama.cpp (GGUF), Hugging Face CLI
  • Models: PromptEnhancer-7B, PromptEnhancer-32B, PromptEnhancer-Img2Img-Edit (Qwen2.5-VL), GGUF Q8_0/Q6_K/Q4_K_M

Also in Open models

See all 90
Also in Open models
RankProjectScore
1ruviewWiFi CSI sensing on ESP32 for presence, breathing, heart rate and pose104.5k starsMIT94 out of 100
2layaSingle-pass multilingual classifier returning typed decisions with calibrated odds Live demo ↗ (opens in a new tab)35.6k starsApache-2.088 out of 100
3rf-detrReal-time transformer models for object detection, segmentation and keypoints Live demo ↗ (opens in a new tab)10.1k starsApache-2.082 out of 100
#4timesfmPretrained time-series foundation model for zero-shot forecasting from Google Research35.6k starsApache-2.080 out of 100
#5open_clipPyTorch library for training and running CLIP-style image-text models14.3k starscustom license79 out of 100