ComfyUI  >  Nodes  >  comfyui-mixlab-nodes >  ClipInterrogator

ComfyUI Node: ClipInterrogator

Class Name


shadowcz007 (Account age: 3323 days)
Latest Updated
Github Stars

How to Install comfyui-mixlab-nodes

Install this extension via the ComfyUI Manager by searching for  comfyui-mixlab-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-mixlab-nodes in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ClipInterrogator Description

AI-powered image analysis node generating descriptive prompts for creative purposes, adaptable interrogation modes.


The ClipInterrogator node is designed to analyze images and generate descriptive prompts based on their content. It leverages advanced AI models to interpret the visual elements within an image, providing you with detailed and contextually relevant prompts that can be used for various creative and artistic purposes. This node is particularly useful for AI artists who want to generate text descriptions or prompts that accurately reflect the visual characteristics of their images. By using different modes, you can control the depth and speed of the interrogation process, making it adaptable to your specific needs.

ClipInterrogator Input Parameters:


This parameter accepts an image input that you want to analyze. The image should be in a format that can be converted to RGB, such as JPEG or PNG. The quality and content of the image will directly impact the accuracy and relevance of the generated prompts.


This parameter allows you to select the mode of prompt generation. The available options are fast, classic, best, and negative. Each mode offers a different balance between speed and the depth of analysis:

  • fast: Provides quick results with a basic level of detail.
  • classic: Offers a balanced approach with moderate detail.
  • best: Delivers the most detailed and accurate prompts but takes longer to process.
  • negative: Generates prompts that describe what the image is not, useful for contrastive descriptions.


This parameter controls whether additional image analysis is performed. The options are off and on. When set to on, the node performs a more detailed analysis of the image, ranking various attributes such as medium, artist, movement, trending topics, and flavors. This can provide deeper insights but will increase processing time.

ClipInterrogator Output Parameters:


This output provides the generated prompt based on the selected mode and the content of the input image. The prompt is a text description that captures the essence of the image, which can be used for various creative applications such as storytelling, art generation, or as input for other AI models.


This output provides a list of randomly generated sentences based on the detailed analysis of the image. These sentences offer alternative descriptions and can be useful for exploring different creative directions or for generating diverse content.

ClipInterrogator Usage Tips:

  • For quick results, use the fast mode, especially if you need a prompt quickly and can compromise on the level of detail.
  • Use the best mode when you need the most accurate and detailed prompts, such as for high-quality art projects or detailed storytelling.
  • Enable image_analysis to gain deeper insights into the image's attributes, which can be particularly useful for understanding the artistic style or context of the image.
  • Experiment with the negative mode to generate prompts that describe what the image is not, which can be useful for creating contrastive descriptions or for certain creative applications.

ClipInterrogator Common Errors and Solutions:

clip_interrogator_model not found

  • Explanation: This error occurs when the required model for the ClipInterrogator is not found in the specified path.
  • Solution: Ensure that the model is downloaded from the provided link and placed in the correct directory. The model can be downloaded from

ModuleNotFoundError: No module named 'clip_interrogator'

  • Explanation: This error indicates that the clip_interrogator package is not installed.
  • Solution: Install the package using the command pip install clip-interrogator==0.6.0. Ensure that the installation is successful by checking the output of the installation command.

pls check transformers.__version__>=4.36.0:: AutoProcessor, BlipForConditionalGeneration

  • Explanation: This error suggests that the required version of the transformers library is not installed.
  • Solution: Update the transformers library to version 4.36.0 or higher using the command pip install transformers==4.36.0.

RuntimeError: CUDA out of memory

  • Explanation: This error occurs when the GPU runs out of memory during processing.
  • Solution: Reduce the image size or switch to a lower memory mode. Alternatively, run the node on a CPU by setting the device configuration to cpu.

ClipInterrogator Related Nodes

Go back to the extension to check out more related nodes.

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.