The EveryPixel website provides you with a completely free image analysis API. You can send an image from the command prompt via a URL to the server of the environment. After the scan, you will have a complete report in JSON format. The information obtained is: a list of suggested keywords, the aesthetic quality score, etc. This library uses the AI algorithm and a large amount of data to identify different elements (objects and living beings) in the photo and rate it.
How to Use the API to Get Detailed Information from a Photograph?
You can use the platform as an online tool, or embed it in your website or in a program of your creation. To embed it in a site, you only have to copy a few lines of code found on EveryPixel and paste them into your website or program.
To use EveryPixel's services, you will need to register on their system (you will get a free account). After logging in, you can copy your "ID" and your "client secret". This data will be your credentials to call the API from the command prompt window.
With This Syntax You Will Get a Rain of Keywords:
Now you will start building the API call URL. Here is the syntax of the URL so you can enter it in the CMD:
Syntax:
curl --user "<YOUR ID>:<YOUR CLIENT SECRET>" "https://api.everypixel.com/v1/keywords?url=ImageURL&num_keywords=10"
Example:
curl --user "rT5rbxxxxxxCkb:iMeJa5xxxxxxxxxxxdTS5kkdjz" "https://api.everypixel.com/v1/keywords?url= https://old.neoteo.com/wp-content/uploads/2018/12/bettie.jpg&num_keywords=10"
With This Syntax You Will Get the Quality Score:
Syntax:
curl --user "<YOUR ID>:<YOUR CLIENT SECRET>" "https://api.everypixel.com/v1/quality?url=ImageURL&num_keywords=10"
Example:
curl --user "NEOTEOID:NEOTEOCLIENTSECRET" "https://api.everypixel.com/v1/quality?url=https://old.neoteo.com/wp-content/uploads/2018/12/bettie.jpg&num_keywords=10"
This way you can analyze the image and get a suggested list of keywords along with an aesthetic quality score based on AI. With the free plan of the platform you will make one hundred daily requests.