POST https://openapi.akool.com/api/open/v3/content/analysis/sentiment
Request Headers
Parameter
Value
Description
x-api-key
API Key
Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded.
Authorization
Bearer {token}
Your API Key used for request authorization.Get Token.
Body Attributes
Parameter
Type
Value
Description
url
String
The video url or image url.
type
Number
1: image 2:video
language
String
When type=2, the language of the video needs to be provided。 Supplying the input language in ISO-639-1 format
GET https://openapi.akool.com/api/open/v3/content/analysis/infobyid?_id=662df7928ee006bf033b64bf
Request Headers
Parameter
Value
Description
x-api-key
API Key
Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded.
Authorization
Bearer {token}
Your API Key used for request authorization.Get Token.
Interface returns business status code(1000:success)
msg
String
OK
Interface returns status information
data
Object
{ status:1, _id:"", result:"" }
video_status: the status of video:【1:queueing, 2:processing, 3:completed, 4:failed】 result: sentiment analysis result【POSITIVE related information, NEGATIVE related information】 _id: Interface returns data