The Prompt Assistant is a very popular extension in ComfyUI. With the help of large model APIs provided by cloud service platforms such as SiliconCloud, it enables seamless prompt translation, expansion & refinement, and reverse-prompting from images directly within ComfyUI. It’s an essential tool for learning and using ComfyUI.
Prompt Translation: Instantly translate prompts between Chinese and English without manually setting source and target languages.Prompt Expansion & Refinement: Define different rules based on the characteristics of image-generation or video-generation models, and expand & refine prompts with one click.Image-to-Prompt Conversion: Use vision model APIs to convert image content into prompts with one click.Tag Presets: Save commonly used prompt tags and trigger words as presets for quick insertion.
ComfyUI Desktop App or Portable VersionSearch for “提示词小助手” or “Prompt-Assistant” in the Manager (make sure to change DB: local → DB: Channel(remote) in the Manager to find it), then select the latest version to install.Akiha Launcher VersionIn the launcher interface, go to “Version Management” → “Install New Extension.”
Enter https://github.com/yawiii/comfyui_prompt_assistant.git in the “Extension URL” field and click Install.Manual InstallationGo to the GitHub repository, download the source code, and place it into the custom_nodes directory.
After installing Prompt Assistant, go to ComfyUI Settings and find the “✨Prompt Assistant” option. On the right panel, click the API Manager button to enter the API configuration panel.
By default, the model field is pre-filled with the free Qwen/Qwen2.5-7B-Instruct model. For better performance and faster responses, click the SiliconCloud API Application link in the interface, go to the SiliconCloud homepage, choose a suitable model from the Model Hub, copy the model name, and paste it into the field.
Using Prompt Assistant is very simple—no need to add extra nodes or run additional startup steps. As long as a node contains a prompt input box or image content, the assistant will automatically appear.When you need to translate, expand, or reverse a prompt, simply click the corresponding button in the assistant’s UI to get it done effortlessly.For more detailed tips on using Prompt Assistant, visit the author’s homepage: 诶-阿伟哥.