Provider (requested_service) | Atoms |
---|---|
Azure | 500 |
500 |
https://api.apyhub.com/ai/video/detect/object/file
Provider (requested_service) | Atoms |
---|---|
Azure | 500 |
500 |
POST
multipart/form-data
Attribute | Type | Mandatory | Description |
---|---|---|---|
file | file | Yes | Provide the source video file. |
requested_service | String | Yes | Enter the name of service provider for example azure ,google . |
azure_access_token | String | Yes (if azure is selected in requested_service) | Enter the access token provided by azure. |
azure_account_id | String | Yes (if azure is selected in requested_service) | Enter the account id provided by azure. |
azure_region | String | Yes (if azure is selected in requested_service) | Enter the region provided by azure. |
google_credential_file | file | Yes (if google is selected in requested_service) | Enter the credential file provided by google it must contain the required Google Credential JSON . |
Attribute | Type | Mandatory | Description |
---|---|---|---|
type | String | Yes | the type provided by google in credential json file. |
project_id | String | Yes | the project_id provided by google in credential json file. |
private_key_id | String | Yes | the private_key_id provided by google in credential json file. |
private_key | String | Yes | the private_key provided by google in credential json file. |
client_email | String | Yes | the client_email provided by google in credential json file. |
client_id | String | Yes | the client_id provided by google in credential json file. |
auth_uri | String | Yes | the auth_uri provided by google in credential json file. |
token_uri | String | Yes | the token_uri provided by google in credential json file. |
auth_provider_x509_cert_url | String | Yes | the auth_provider_x509_cert_url provided by google in credential json file. |
client_x509_cert_url | String | Yes | the client_x509_cert_url provided by google in credential json file. |
universe_domain | String | Yes | the universe_domain provided by google in credential json file. |
requested_service | Support matrix and limitations |
---|---|
* Supported Formats .MOV .MPEG4 .MP4 .AVI * the file size limit is 1 GB. | |
Azure | * Supported Formats FLV (with H.264 and AAC codecs) (.flv) MXF (.mxf) GXF (.gxf) MPEG2-PS, MPEG2-TS, 3GP (.ts, .ps, .3gp, .3gpp, .mpg) Windows Media Video (WMV)/ASF (.wmv, .asf) AVI (Uncompressed 8bit/10bit) (.avi) MP4 (.mp4, .m4a, .m4v)/ISMV (.isma, .ismv) Microsoft Digital Video Recording (DVR-MS) (.dvr-ms) Matroska/WebM (.mkv) WAVE/WAV (.wav) QuickTime (.mov) * the file size limit is 1 GB. |
Status Code | Description |
---|---|
200 | The request was successful. |
400 | Invalid input - the file is corrupt or the supported inputs are not provided. |
401 | Required authentication information is either missing or not valid for the resource. |
500 | If any unexpected error occurs while processing the request. |
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token
as the header parameter to pass the token.Authorization
header to send the basic authentication credentials.