About the API:
Using Machine Learning models trained with over 400,000 wine labels, this API will predict the wine label on the given image.
Pass the image URL for the analysis, and receive a list of all possible wine labels with a confidence score.
This API could be useful for those wine sellers that need to sort their images by label or brand.
This is a good API for those who want to create dynamic content, this API will sort the image by brand or label and you will be ready to use it.
Besides API call limitations per month, there are no other limitations.
To use this endpoint you must pass the URL of an image in the parameter. It will also have an optional parameter where you can indicate the URL of the image.
You can also optionally upload an image in jpg, jpeg, png.
Get Wine Label - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] File Binary |
{"results":[{"status":{"code":"ok","message":"Success"},"name":"https://gopostr.s3.amazonaws.com/binary_file_test_584/254NKKXJmYAwxqp7Hbyaw6MZhMGUbRrGwMNC0XCu.jpg","md5":"f23f73cce85f89287bada35baba68c98","width":1440,"height":1080,"entities":[{"kind":"classes","name":"wine-image-classes","classes":{"grati poggio galiga chianti":0.6313126087188721,"grati poggio galiga chianti_1":0.6313126087188721,"cantine pellegrino pantelleria moscato liquoroso n.v.":0.6198444366455078,"cantine pellegrino pantelleria moscato liquoroso":0.6198444366455078,"cantine pellegrino pantelleria moscato liquoroso 2015":0.6198444366455078,"fleur du rhône cornalin":0.6091293096542358,"fleur du rhône cornalin 2017":0.6091292500495911,"fleur du rhône cornalin n.v.":0.6091292500495911,"marqués del real tesoro pedro ximénez 2007":0.5943363904953003,"marqués del real tesoro pedro ximénez 1995":0.5943363904953003}}]}]}
curl --location 'https://zylalabs.com/api/825/wine+label+recognition+api/584/get+wine+label' \
--header 'Content-Type: multipart/form-data' \
--form 'image=@"FILE_PATH"'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API returns a JSON response containing a list of predicted wine labels along with their confidence scores. Each result includes the image URL, dimensions, and a breakdown of recognized classes with their respective confidence levels.
Key fields in the response include "status" (indicating success), "name" (image URL), "md5" (image hash), "width" and "height" (image dimensions), and "entities" (which contains the predicted labels and their confidence scores).
The response data is structured as a JSON object. It contains a "results" array, where each entry includes metadata about the image and an "entities" array detailing the recognized wine labels and their confidence scores.
The endpoint accepts an image URL as a required parameter and allows for an optional image upload in jpg, jpeg, or png formats. Users can customize requests by providing either the URL or the uploaded image.
The API utilizes machine learning models trained on over 400,000 wine labels to ensure high accuracy. Continuous updates and retraining of models help maintain data quality and improve recognition capabilities.
Common use cases include wine retailers sorting images by label, developers creating dynamic content based on wine brands, and applications that require wine identification for inventory management or consumer information.
Users can analyze the confidence scores to determine the most likely wine labels. For example, a label with a score above 0.6 may be considered reliable, while lower scores may require further verification or additional context.
If results are partial or empty, users should check the image quality and clarity. Low-resolution or unclear images may hinder recognition. Users can also try different images or ensure the correct format is used for uploads.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
9,480ms
Service Level:
100%
Response Time:
13,622ms
Service Level:
100%
Response Time:
558ms
Service Level:
33%
Response Time:
1,452ms
Service Level:
100%
Response Time:
767ms
Service Level:
100%
Response Time:
634ms
Service Level:
100%
Response Time:
534ms
Service Level:
100%
Response Time:
1,301ms
Service Level:
100%
Response Time:
6,450ms
Service Level:
33%
Response Time:
4,478ms
Service Level:
100%
Response Time:
3,823ms
Service Level:
100%
Response Time:
1,414ms
Service Level:
100%
Response Time:
8,561ms
Service Level:
100%
Response Time:
11,333ms
Service Level:
100%
Response Time:
4,565ms
Service Level:
100%
Response Time:
534ms
Service Level:
100%
Response Time:
1,815ms
Service Level:
100%
Response Time:
1,209ms
Service Level:
100%
Response Time:
5,838ms
Service Level:
100%
Response Time:
2,373ms