With this API you can programmatically detect any alcoholic beverage in order to filter out any unsuitable content on your site or application: beer, wine, liquor, etc. You can also detect the percentage of alcohol present in each drink. This API will only return one result at a time, so make sure you have the correct image loaded before executing the query. It is simple to use: just pass the image’s URL to the API endpoint and it will return a JSON object containing any detected alcohol as well as the alcohol percentage.
The endpoints for this API are quite simple. The first endpoint is for detecting alcohol in an image, and it accepts a URL as its input and returns a JSON object with any detected alcohol and its percentage. It also has another endpoint called moderation that allows you to check if an image contains any harmful or inappropriate content. This endpoint accepts an image URL and returns true (if it’s a harmful image) or false (if it’s not). It also has a third endpoint called percentage that allows you to determine the percentage of alcohol present in an image. It also accepts an image URL as an input parameter, and it returns the percentage of alcohol present along with a JSON object identifying any beverage detected..
Be able to recognize any alcoholic beverages present in an image you pass to this API.
To make use of it, you must first:
1- Go to Alcohol Detection – Image Moderation API and simply click on the button “Subscribe for free” to start using the API.
2- After signing up in Zyla API Hub, you’ll be given your personal API key. Using this one-of-a-kind combination of numbers and letters, you’ll be able to use, connect, and manage APIs!
3- Employ the different API endpoints depending on what you are looking for.
4- Once you meet your needed endpoint, make the API call by pressing the button “run” and see the results on your screen.