ComfyUI_Prompt-All-In-One
Prompt Generator for Video, Audio, Image, and Text. A node for ComfyUI. Including Deepseek, Alibaba Cloud Qwen, Google Gemini, and locally selected models, etc.
Nodes (15)
An API that drops a real image tensor back into your graph
The true multimodal node — hear, see, describe
Google's cheapest chat model as a ComfyUI text worker
Hand Gemini a file path, get analysis back
Make an LLM listen to your audio in ComfyUI
Reverse-prompt any image through DashScope
QvQ reads your image and shows its work
Caption a still, or a whole clip, through one node
Eight Alibaba models in one ComfyUI node
QwQ and DeepSeek-R1 reasoning, thinking output included
A reasoning model that hands you its homework
The no-drama API LLM for prompt work in ComfyUI
The community's default captioner, running locally in ComfyUI
A local reasoning audio tagger, if you're willing to fight for it
A glorified text box, and that's the point
ComfyUI Nodes for Generating Prompts for All Video, Audio, Image, and Text Creations
Added support for all Ollama models. Any Ollama model can run, including custom models. Locally generate any prompt, reverse-prompt images, videos, and more. Have fun!
Added audio/music reverse-prompting and tagging, a powerful tool for audio/music LoRA training. It's fast, effective, and even surpasses API performance.
Updated JoyCaption to the latest version, with NF4 support. A blessing for low VRAM users.
Currently supported APIs: DeepSeek-R1/V3, almost the entire Alibaba Cloud Qwen family, and the entire Google Gemini family. More useful APIs will be added successively.
Selected local models are provided separately for your convenience. Just download what you need.
📣 Updates
[2025-06-12]⚒️: Released version v2.0.0.
[2025-05-10]⚒️: Support for the latest Gemini model, gemini-2.5-pro-preview-05-06, which requires payment. Support for the latest Qwen3.
[2025-04-12]⚒️: Added support for JoyCaption.
[2025-04-01]⚒️: Released version v1.0.0.
-
Supports DeepSeek-R1/V3 model API. You need to apply for an API key on the DeepSeek official website. Then, create a new environment variable
DEEPSEEK_API_KEY = <your key>in your system's environment variables. For instructions, see Configure API Key through Environment Variables. Alternatively, you can skip using the system variable and enter the key directly into the node, but be careful to keep your key confidential and do not leak it with your workflow. On Windows, you may need to restart your computer for the environment variable to take effect. -
Supports Qwen API. Apply for an API key at Alibaba Cloud Bailian. Then, create a new environment variable
DASHSCOPE_API_KEY = <your key>in your system's environment variables. The method for adding and using it is the same as above. Be careful to keep your key confidential and do not leak it with your workflow. On Windows, you may need to restart your computer for the environment variable to take effect. Inference models with the "_R" suffix have a thought process. -
Supports Gemini API. Apply for an API key at Google AI Studio. Then, create a new environment variable
GOOGLE_API_KEY = <your key>in your system's environment variables. The method for adding and using it is the same as above. Be careful to keep your key confidential and do not leak it with your workflow. On Windows, you may need to restart your computer for the environment variable to take effect.
Usage
Audio/Music Reverse-Prompting:

Ollama Model Flux Prompt Generation:

Ollama Model Image/Video Reverse-Prompting:

JoyCaption Image Interrogation/Description:

-
images_dir: Path for batch-tagging images.
-
save_img_prompt_to_folder: Save path for images and prompts. If provided, batch-tagged images and their prompts will be saved to this folder. Otherwise, they are saved by default in
images_dirwith the same name as the image. If provided, even single images can be saved to this folder.
DeepSeek:

Qwen:

Gemini:

Model Download
You do not need to download all models. Only download what you need.
Manually download the entire folder for the following models into the LLM directory:
-
JoyCaption:
-
Ke-Omni-R-3B:
- https://hf-mirror.com/KE-Team/Ke-Omni-R-3B/tree/main.
- Note: The model is missing an index file. I have generated the index file
model.safetensors.index.json, which is in this repository. Please move it to the root directory of this model.
Ollama Models:
First, install ollama. Then, any Ollama model can be used, including custom models.
Highly recommended local consumer-grade models: powerful, fast, and versatile. Run the following commands to install:
ollama pull artifish/llama3.2-uncensoredUncensored llama3.2.
https://ollama.com/artifish/llama3.2-uncensored
ollama pull poluramus/llama-3.2ft_flux-prompting_v0.5Super powerful Flux prompt generation model.
https://ollama.com/poluramus/llama-3.2ft_flux-prompting_v0.5
ollama pull abedalswaity7/flux-promptAnother super powerful Flux prompt generation model.
https://ollama.com/abedalswaity7/flux-prompt
ollama pull qwen2.5vl:7bAlibaba's super powerful multimodal model, a great tool for image and video reverse-prompting. Multiple parameter versions are available; 7b is excellent, and 3b is ultra-fast.
https://ollama.com/library/qwen2.5vl
ollama pull fanyx/openbmb.MiniCPM4-8B-GGUF-Q8_0:latestA brand new hot release, the "Mini Cannon" from ModelBest (面壁智能), top six on Hugging Face trending, claiming to be the best and fastest model in its parameter class.
https://ollama.com/fanyx/openbmb.MiniCPM4-8B-GGUF-Q8_0
Thanks to the model authors for their selfless contributions.
Installation
cd ComfyUI/custom_nodes
git clone https://github.com/billwuhao/ComfyUI_Prompt-All-In-One.git
cd ComfyUI_Prompt-All-In-One
pip install -r requirements.txt
# For ComfyUI's embedded python
./python_embeded/python.exe -m pip install -r requirements.txt