ComfyUI-GPT4V-Image-Captioner

ComfyUI-GPT4V-Image-Captioner
★ 27

图像标注GPT-4V自动预处理ComfyUI
ComfyUI-GPT4V-Image-Captioner 节点通过填写 KEY 和 URL 调用 GPT 视觉模型,自动识别并生成图像描述与标签,内置图像预处理无需手动缩放。
💡 在 ComfyUI 中快速调用 GPT 视觉模型自动生成图像描述与标签。
🍴 7 Forks💻 Python🔄 2025-04-06
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/9671236b7e59
📦 requirements.txt
scipy
matplotlib
Pillow
tqdm
requests
torch
📄 README

ComfyUI-GPT4V-Image-Captioner

你可以通过填写KEY和URL快捷地调用GPT视觉模型进行识别和打标。

该项目是我个人对 GPT4V-Image-Captioner repository(https://github.com/jiayev/GPT4V-Image-Captioner) 项目的移植。

感谢GPT4V-Image-Captioner的原作者们。

Input Image Processing:

The project automatically handles image processing, eliminating the need for manual scaling.

GPT4V Integration:

To utilize GPT4V for image annotation, you need to provide the API key and API URL.

Seed and OpenAI Labeling:

The seed value determines the consistency of the labeling process. If the seed and image remain unchanged, there will be no additional calls to OpenAI for labeling.

If you are not satisfied with the labeling results, you can modify the seed value to get different outputs.

Prompt Types:

There are two prompt types available: “generic” and “figure”.

Under the “figure” type, labels will exclude color terms, backgrounds, watermarks, signatures, etc., focusing only on the overall characteristics of the characters.

Weighted Labels:

The option to enable weights for labels is available.

When weights are enabled, corresponding weight values will be assigned to the labels.

Excluding Unwanted Words:

If there are specific words in the labels that you want to exclude, you can enter them in the “exclude_words” field.

The system will automatically exclude the specified words from the generated labels.