About the API:
This API will recognize if a given scene image is Indoor or Outdoor. Based on that it will classify the scene in one of our supported labels.
Pass the JSON object with the image URL of your choice and receive the classification in JSON as well.
This API is ideal for those companies that need to sort their image databases based on the scene. You will be able to sort by indoor or outdoor, and within those two labels, you will receive more information to work with.
Besides API call limitations per month:
Free Plan: 30 requests per minute.
{"Indoor":false,"categories":["lake/natural","mountain_snowy","valley","mountain","hot_spring"],"attributes":["open area","natural light","natural","far-away horizon","sunny","climbing","boating","still water","swimming"]}
curl --location --request POST 'https://zylalabs.com/api/803/scene+labeling+api/553/get+scene+classification' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://www.amateurphotographer.co.uk/wp-content/uploads/2022/03/Landscape-South-Island-New-Zealand-820x500.jpg"
}'
| 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 Scene Labeling API returns a JSON object containing classification results for the input image. This includes whether the scene is indoor or outdoor, a list of categories (e.g., "lake/natural"), and attributes describing the scene (e.g., "sunny," "natural light").
The key fields in the response data include "Indoor" (boolean), "categories" (array of scene types), and "attributes" (array of descriptive characteristics). These fields provide insights into the scene's classification and features.
The response data is structured as a JSON object. It includes a boolean indicating if the scene is indoor, an array of categories that classify the scene, and an array of attributes that describe specific characteristics of the scene.
The API provides information on whether a scene is indoor or outdoor, categorizes the scene into specific types (like "mountain" or "lake"), and lists attributes that describe the scene's features, such as lighting and activity.
The primary parameter for the endpoint is the image URL, which must point to a supported image format (JPG, JPEG, PNG). Users can customize their requests by providing different image URLs to classify various scenes.
Users can utilize the returned data by analyzing the "categories" and "attributes" to sort and filter images based on scene type and characteristics. For example, a user can group images by outdoor activities or specific environments like "beach" or "forest."
The API uses a scene categorization model trained on a diverse dataset of images. This model is designed to recognize various indoor and outdoor scenes, ensuring a broad coverage of common environments and objects.
Data accuracy is maintained through continuous model training and validation against a wide range of images. Quality checks are implemented to ensure that the model's classifications align with real-world scene characteristics, enhancing reliability.
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:
173ms
Service Level:
100%
Response Time:
2,429ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
105ms
Service Level:
100%
Response Time:
3,869ms
Service Level:
100%
Response Time:
299ms
Service Level:
100%
Response Time:
219ms
Service Level:
100%
Response Time:
935ms
Service Level:
100%
Response Time:
546ms
Service Level:
100%
Response Time:
83ms