Hunyuan-PromptEnhancer/PromptEnhancer
A prompt rewriting tool that refines user prompts into clearer, structured versions to enhance the quality of text-to-image generation and image-to-image editing.
Core Features
Quick Start
pip install -r requirements.txtDetailed Introduction
PromptEnhancer is an innovative utility developed by Tencent Hunyuan, designed to significantly improve the output quality of text-to-image and image-to-image models. By employing a chain-of-thought prompt rewriting approach, it transforms ambiguous or simple user inputs into detailed, structured prompts. This process ensures that the core intent of the original prompt is maintained while providing clearer instructions to downstream generative AI models, leading to more accurate and higher-fidelity image generation and editing results. It supports various model deployments for broad applicability.