prithivMLmods/Qwen-Image-2.1-PE-T2I-GGUF
316k
Qwen-Image-2.1-PE-T2I-GGUF
Qwen-Image-2.1-PE-T2I is the text-to-image prompt-rewriting model for Qwen-Image-2.1, a fine-tuned Qwen3.5-VL-9B that turns a brief image request in any language into a detailed, expanded English prompt paired with a recommended aspect ratio, acting as the bridge between casual multilingual user requests (e.g., a short Chinese phrase describing a corgi playing guitar in the rain) and the precise, richly-detailed instructions the downstream 7B-parameter DiT-based Qwen-Image-2.1 generator needs for best results. After a<think>reasoning block, it outputs a structured JSON object containing therewritten_promptand awh_ratiovalue (e.g.,16:9), which maps directly to standard render resolutions when passed into the DiffusersQwenImage21Pipeline. It's usable via standard Hugging FaceAutoModelForCausalLMloading, is intended purely as a preprocessing step ahead of image generation rather than a general-purpose chat model, and is released under the Qwen Research License Agreement.
[!NOTE]
System Prompt — https://huggingface.co/Qwen/Qwen-Image-2.1-PE-T2I/blob/main/system_prompt.txt
Model Files
llama.cpp
LLM inference in C/C++ — https://github.com/ggml-org/llama.cpp
