This directory contains a minimalistic sample that sends requests to the API4AI Alcohol Label Recognition API.
The sample is implemented in PHP
using cURL extension.
This ready-to-use API takes an images as inputs and gives you the kind of the drink, brand and other drink-specific information.
PHP version 7.x
or greater and php-curl
extension is required to run this script.
Try sample with default args:
php index.php
Try sample with your local image:
php index.php image.jpg
This demo by default sends requests to free endpoint at demo.api4ai.cloud
.
Demo endpoint is rate limited and should not be used in real projects.
To get API key for unlimited access you may buy API at RapidAPI marketplace or use contact us directly.
Use RapidAPI marketplace to get the API key. The marketplace offers both free and paid subscriptions.
Contact us in case of any questions or to request a custom pricing plan that better meets your business requirements.
- 📩 Email: hello@api4.ai
- 🔗 Website: https://api4.ai
- 🤖 Telegram demo bot: https://t.me/a4a_alco_rec_bot
- 🔵 Our API at RapidAPI marketplace: https://rapidapi.com/api4ai-api4ai-default/api/alcohol-label-recognition/details