# AI Video Label Detection API

## About

This Utility API uses AI to identify entities with descriptive labels within videos.

This API leverages machine learning algorithms to analyse visual data to locate labels. For instance, in a video featuring a train at a crossing, labels like "train," "transportation," and "railroad crossing" are returned.

The atoms cost is subjected to change depending on the size of the input file and the provider selected. The list of providers and the atoms cost for each provider is given below:

| Provider (requested_service) | Atoms |
| --- | --- |
| Azure | 500 |
| Google | 500 |

_**Note**: In order to test the API on API Playground, just click on "Show optional inputs" and enter the Authentication token for the provider before clicking on Send request. The output response structure and the result of the AI utility APIs depend on the service provider and it may vary depending on which service provider is selected._

Select API Endpoints

Input

file

url

## API Playground

ApyHub AI

file *

requested_service *

Show optional inputs

azure_region

azure_account_id

azure_access_token

google_credential_file

Send Request

## API Documentation

input file: output json

POST

`https://api.apyhub.com/ai/video/detect/label/file`

#### Request example

```bash
curl --location --request POST 'https://api.apyhub.com/ai/video/detect/label/file' \
--header 'apy-token: {{token}}' \
--form 'file=@
