Skip to content

codacube/ai-img-judge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-IMG-JUDGE

I have a lot of images that need to be sorted through, and I can't always pick the best one, so I'll let AI decide for me! It can compare two images, rate an image, and suggest improvements

Notes

DO NOT save your API key in any go/src files, ie. do not push to GitHub!

  • Setup an environment variable for the API Key, then in a terminal run export GEMINI_API_KEY="<your_api_key_here>"
  • You can also setup an .env file for the API key if you wish. Inside the .env file, add your key:
# This is a comment
GEMINI_API_KEY="<your_api_key_here>"
  • Be sure to add the .env file to .gitignore if you are storing on github

Installation

go get google.golang.org/genai
go get github.com/joho/godotenv
go mod tidy
go build

Usage

ai-img-judge --help

About

Let Gemini critique your photography

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages