/lightroom-alt-text-plugin

Lightroom Classic plugin that uses ChatGPT to generate alt text for photos in the library.

Primary LanguageLua

This is a plugin for Lightroom Classic that generates alt text for photos using ChatGPT-4o and saves it to the caption field in the photo's metadata.

To use it:

  1. Clone this repo
  2. Get an OpenAI API key at https://platform.openai.com/api-keys (make sure it has access to the gpt-4o model)
  3. Open Lightroom Classic, go to File > Plug-in Manager > Add, and select the lightroomalttextplugin.lrplugin folder in this repo
  4. Paste the OpenAI API key in the settings section, and click "done"
  5. Select an image, go to Library > Plug-in Extras > Generate Alt Text with ChatGPT
  6. Wait a few seconds, a message will let you know when the alt text has been generated
  7. Inspect the alt text in the photo's metadata, and edit as needed