added integration of OpenAI Image Description

This commit is contained in:
Falko Zurell 2025-01-20 09:47:00 +01:00
parent 60acee3277
commit a2e93a625c
4 changed files with 98 additions and 7 deletions

View file

@ -11,3 +11,8 @@ Usage: `./pixelfed_batch_uploader ../../Downloads/Instagram-Backup/media/posts/2
Check the [package of this repo](https://repos.mxhdr.net/maxheadroom/insta-import-pixelfed/packages) to get pre-compiled binaries for macOS (Apple Silicon), Linux x86_64, Windows ARM
## OpenAI Integration for Image Description
Added OpenAI integration to generate image descriptions and put them into the ALT text for each image. If an `openai_api_key` is present in the `config.json` then the Image description is fetched from the OpenAI API.