This script helps you prepare your photos and raster illustration artworks for uploading to image stocks.
The script reads every image in the directory provided and generates descriptions and keywords for each picture using GPT-4 Vision.
This project uses
poetry
for the dependency management. Install Poetry before you proceed to the next steps.
poetry install
Generate descriptions and keywords for each image in the directory and then save the output as output.csv
:
poetry run python keywords.py /path/to/directory/containing/images --openai YOUR_API_KEY
More information:
poetry run python keywords.py
gpt-4-vision-preview
Add an issue or open a pull request on GitHub. This software is maintained by Vladimir Ignatev.