Image Labeling

Tags and classifies visual content using machine learning at a glance.
curl --request GET \
--url 'https://api.apilayer.com/image_labeling/url?url={url}' \
--header 'apikey: dq2TlGLIDrBh1OHx0o7umAtVyyhNzFrE'
[{"confidence":0.793,"label":"pantry"},{"confidence":0.793,"label":"room"},{"confidence":0.642,"label":"light brown color"},{"confidence":0.6,"label":"beige color"},{"confidence":0.592,"label":"utensil"},{"confidence":0.511,"label":"shelf"},{"confidence":0.511,"label":"support"}]

Image Labeling API makes it easy to extract labels/tags from your images and detect for specific content out-of-the-box. Our pre-trained models enable you to analyze images for objects, colors, food, explicit content and other subjects for insights into your visual content.

We use deep learning algorithms to analyze images for scenes, objects, and other content. The response includes keywords that provide information about the content.

Example

Image Labeling API Sample
Photo by Annie Spratt on Unsplash

cURL command to analyze this photo for labeling is:

curl --request GET \
--url 'https://api.apilayer.com/image_labeling/url?url=IMAGE PATH' \
--header 'apikey: YOUR API KEY'

Response for this call is:

[
    {
        "label": "pantry",
        "confidence": 0.793
    },
    {
        "label": "room",
        "confidence": 0.793
    },
    {
        "label": "light brown color",
        "confidence": 0.642
    },
    {
        "label": "beige color",
        "confidence": 0.6
    },
    {
        "label": "utensil",
        "confidence": 0.592
    },
    {
        "label": "shelf",
        "confidence": 0.511
    },
    {
        "label": "support",
        "confidence": 0.511
    }
]