Qwen-Image-2.1 Prompt Enhancer

by hugging-appsco.huggingface.hugging-apps/qwen-image-2-1-prompt-enhancer

  • Remote endpoint
  • 3 tools

Tools

  • qwen_image_2_1_prompt_enhancer_bench
  • qwen_image_2_1_prompt_enhancer_bench_i2i
  • qwen_image_2_1_prompt_enhancer_enhance Rewrite an image prompt with the official Qwen-Image-2.1 prompt-enhancement models. Routes to Qwen-Image-2.1-PE-I2I when input images are supplied and to Qwen-Image-2.1-PE-T2I otherwise. Both models stay resident on the GPU worker. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: A tuple of (rewritten prompt, recommended aspect ratio or "", raw model output,, resolved seed, elapsed seconds).

As the server's own listing gives them. We never call a tool.