Hi, is it possible to import/add metadata from a call to a droplet or do some kind of import of metadata?
I've written a small tool that reads an image (JPEG), sends it to a local LLM, generates keywords and description, and writes them to a sidecar file beside the input image. For example, if I have an image named test.cr3/test.jpg, it creates a test.md file which contains an description and keywords and translations of it. I want to automate this process by using PM to place metadata on the files and places like I do it in the Metadata View. Currently, I have to open the text file, copy manually the description and keywords to the image in PM. This process takes 2-3 minutes to analyse the image, so I'm looking for two possible solutions: process a single image from within PM and wait for it to finish, or batch process the images externally and import the results.
I shoot in RAW/DNG, and generate JPEG thumbnails beside the RAW's which are used in this process.
The question here is, is it possible to integrate/automate this somehow in PM?
Regards,
Ingo