Extensions/Comfyui-QwenPromptRewriter
ComfyUI Extension

Comfyui-QwenPromptRewriter

Enhance your prompts using the Qwen LLM to align the behavior and capabilities of the Qwen-Image/Edit online version.

By lihaoyun6·Created 12 months ago·Updated 10 months ago· 75
lihaoyun6/ComfyUI-QwenPromptRewriter
Nodes
On cloudLocal install
Stars75
Updated10 months ago
Readme

Comfyui-QwenPromptRewriter

Enhance your prompts using the Qwen LLM to align the behavior and capabilities of the Qwen-Image/Edit online version.
[中文版本]

Preview

Usage

  • prompt_style: Qwen-Image_Edit or Qwen-Image depending on your model.
  • llm_model: For "Qwen-Image-Edit" style, please use the "qwen-vl-xxx" series model.
  • max_retries: Maximum number of retries when an API call fails.
  • API_KEY: Your aliyun api key.
  • skip_rewrite: Don't rewrite the prompt word, just output it directly.

It is recommended to write your API_KEY into the api_key.txt file so you can share your workflow safely!