Sign In

GPTCaption - Image Caption Tool using ChatGPT API

33
119
7
Updated: Nov 10, 2023
toolchatgptcaption
Type
Other
Stats
119
Reviews
Published
Nov 10, 2023
Base Model
SD 1.5
Hash
AutoV2
D3DF916B51
Civitai Festive 2024 Contest Winner
MN
mnemic

This is a captioning tool using ChatGPT (API) to describe images.

https://github.com/MNeMoNiCuZ/GPTCaption

Usage

  1. Add your OpenAI API-key in the settings.ini-file.

  2. Run main_gui.py.

  3. Paste a bunch of URLs to images you wish to caption, one per line. Supports JPG, JPEG, PNG.

  4. Optional: Edit the image analysis prompt.

  5. Press Generate Captions

It will make a rough estimate of the API call costs and ask if you want to continue.

It will output everything in a date-folder, with an additional time-stamped folder each time you use the tool. Inside this folder there's also one caption with the same name as the folder that includes all captions.

Image Hosting

You can use any service as long as the URL is public.

You can upload a batch of images (max 1000) on https://PostImages.org and get a list of URLs.

Be sure to select "Direct Link" as URL type.

Captioning

Don't forget to edit the prompt to ChatGPT based on how you want to instruct it. It can give you the caption back in many different ways and styles.