Genshin Artifact Rater
Use “opencv-python-headless” if you don’t need the GUI.
There are lots of open source and free APIs.