Home/APIs/Label Image
Computer VisionFree tier available

Identify themes and categories in images with AI

Automatically detect and categorize diverse themes within images. Get structured labels with confidence scores for content categorization, image understanding, and automated tagging.

Features

Theme Detection

Identify diverse themes and categories within images for comprehensive content understanding.

Confidence Scores

Each label includes a confidence score to help you filter and prioritize results.

Content Categorization

Automatically tag and categorize images for search, organization, and content management.

Flexible Input

Upload a file via multipart or pass a public image URL — both work seamlessly.

Fast Processing

Optimized model for low-latency processing. Get structured results in seconds.

Cloud-Based

No GPU needed on your end. Fully managed cloud infrastructure handles the processing.

API Reference

1 endpoint, simple integration. Here's everything you need.

Supported Content Types

multipart/form-dataapplication/x-www-form-urlencoded
POSThttps://label-image.p.rapidapi.com/detect-label

Identify and categorize themes within an image. Returns a list of detected labels with descriptions and confidence scores.

imagefilerequired

Image file (JPEG, PNG, etc.) — use with multipart/form-data

urlstringrequired

Public URL of the image to process — use with application/x-www-form-urlencoded

Send either image (file upload) or url (form-encoded), not both.

Response Schema
{
  "statusCode": 200,
  "body": {
    "labels": [
      {
        "description": "Nature",
        "score": 0.97
      },
      {
        "description": "Mountain",
        "score": 0.94
      },
      {
        "description": "Sky",
        "score": 0.91
      }
    ]
  }
}

Response

200

Returns JSON with an array of detected labels, each containing a description and confidence score.

Quick Start

Copy-paste code to get started in seconds. Replace YOUR_API_KEY with your RapidAPI key.

# File upload
curl -X POST "https://label-image.p.rapidapi.com/detect-label" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: label-image.p.rapidapi.com" \
  -F "image=@photo.jpg"

# URL input
curl -X POST "https://label-image.p.rapidapi.com/detect-label" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: label-image.p.rapidapi.com" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "url=https://example.com/photo.jpg"

Pricing

Start free, scale as you grow. All plans include full API access with no credit card required for the free tier.

Free

Basic

$0Free

30 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Pro

$12.99/mo

5,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support
Recommended

Ultra

$22.99/mo

10,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Mega

$92.99/mo

50,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Start Using Label Image Today

Sign up on RapidAPI to get your API key. The free tier includes generous monthly requests — no credit card required.