ComfyUI-Image-Captioner:本地运行的图像描述生成工具,支持多模型与自然语言指令

无需外部服务,在本地为图像生成描述。支持多种视觉语言模型,可通过自然语言指令生成标题、关键词、问答等,支持批量处理,无内容过滤。【此简介由AI生成】

Branch1Tags0

ComfyUI ImageCaptioner

A ComfyUI extension for generating captions for your images. Runs on your own system, no external services used, no filter.

Uses various VLMs with APIs to generate captions for images. You can give instructions or ask questions in natural language.

Try asking for:

  • captions or long descriptions
  • whether a person or object is in the image, and how many
  • lists of keywords or tags
  • a description of the opposite of the image

workflow

Installation

  1. git clone https://github.com/neverbiasu/ComfyUI-ImageCaptioner into your custom_nodes folder
    • e.g. custom_nodes\ComfyUI-ImageCaptioner
  2. Open a console/Command Prompt/Terminal etc
  3. Change to the custom_nodes/ComfyUI-ImageCaptioner folder you just created
    • e.g. cd C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-ImageCaptioner or wherever you have it installed
  4. Run pip install -r requirements.txt

Usage

Add the node via image -> ImageCaptioner

Supports tagging and outputting multiple batched inputs.

  • image: The image you want to make captions.
  • api: The API of dashscope.
  • use_prompt: The prompt to drive the VLMs.

Requirements

U need to get the API of dashscope from the document

See also

Introduction

无需外部服务,在本地为图像生成描述。支持多种视觉语言模型,可通过自然语言指令生成标题、关键词、问答等,支持批量处理,无内容过滤。【此简介由AI生成】

Customize your domain