ComfyUI Extension: Comfyui-QwenPromptRewriter

Authored by lihaoyun6

Created

Updated

13 stars

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

Custom Nodes (0)

    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_retry: Maximum number of retries when an API call fails.
    • API_KEY: Your aliyun api key.
    • API_KEY_file: Read your API_KEY from api_key.txt instead of the input box (Highly Recommended!!!)
    • 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!