Home / News / Model

Qwen-Image-2.1-PE-T2I prompt rewriting model released

A new prompt rewriting model for Qwen-Image-2.1 enables text-to-image generation with language flexibility. It outputs rewritten prompts and aspect ratios.

Model
date Sep 20, 2026
source Qwen on Hugging Face
Qwen-Image-2.1-PE-T2I prompt rewriting model released
Image: Qwen on Hugging Face

Qwen-Image-2.1-PE-T2I is a text-to-image prompt rewriting model. It takes brief image requests in any language and generates detailed English prompts with recommended aspect ratios.

The model is a fine-tuned Qwen3.5-VL 9B. It outputs JSON containing rewritten_prompt and wh_ratio for image generation.

It supports multiple languages and integrates with Qwen-Image-2.1 for text-to-image creation.

Highlights

  • Compact and Efficient — A lightweight architecture with mixed-granularity attention and prefix KV cache reuse delivers strong image quality at low computational cost.
  • Versatile Editing — Support up to 10 reference images, specify local edits via circles, painted annotations, or separate masks, and preserve identity for people and products.
  • Realistic Textures and Refined Aesthetics — Improved typography, portrait lighting, and fine details for more visually compelling results.
  • rewrittenprompt — the expanded prompt to pass to the image generation model
  • whratio — the recommended aspect ratio for rendering