Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

API4AI general image classification / labelling sample

This directory contains a minimalistic sample that sends requests to the API4AI General Classification API. The sample is implemented in PHP using cURL extension.

Overview

The General Classification API offers a complete solution for image classification. Its algorithm is trained on about a thousand different types of objects covering a significant part of potential image themes from household tools to a wide variety of animals

Getting started

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

About API keys

⚠️ This demo by default sends requests to free endpoint at demo.api4ai.cloud. Demo endpoint is rate limited and must not be used in real projects.

✅ The primary entry point for accessing API is the API4AI Developer Portal. Here, you can obtain your own API key to send requests, set up billing, and monitor usage. API is available on a pay-as-you-go model. Simply top up your balance and consume any API at any time you want.

🐙 An alternative way to access APIs is through Rapid API Hub (also known as Nokia API Hub), a well-known public API hub and marketplace where you can find solutions developed by the API4AI team, as well as from other vendors if you wish. To get started, register at RapidAPI, obtain an API key, and subscribe to the API. API at RapidAPI is available via a subscription-based model, with free plans also offered. Subscriptions are fully managed by RapidAPI.

Contact us in case of any questions or to request a custom pricing plan that better meets your business requirements.

Links