This topic describes parameters for video AI features, including automated review, smart thumbnail, video fingerprinting, and smart tagging.
AITemplateInfo
Parameter | Type | Required | Description |
TemplateId | String | Yes | The ID of the template. |
TemplateType | String | Yes | The type of the template. Valid values:
|
TemplateName | String | Yes | The name of the template. |
TemplateConfig | String | Yes | The detailed configurations of the template. The value is a JSON string. For more information, see the AITemplateConfig section of this topic. |
Source | String | Yes | The source of the template. Valid values:
|
IsDefault | String | No | Indicates whether the default template is used. Valid values:
|
CreationTime | String | Yes | The time when the template was created. The time is displayed in UTC. |
ModifyTime | String | Yes | The time when the template was modified. The time is displayed in UTC. |
AITemplateConfig
Condition: TemplateType is set to AIMediaAudit
Field | Type | Required | Description |
AuditItem | String[] | Yes | The item checked during automated review. Valid values:
Note
|
AuditRange | String[] | Yes | The checking scope for automated review. Valid values:
|
AuditContent | String[] | Yes | The checking content for automated review. Valid value: screen. |
AuditAutoBlock | String | Yes | Indicates whether to automatically block the video if the video fails the automated review. Valid values:
|
Condition: TemplateType is set to AIImage
Field | Type | Required | Description |
Format | String | Yes | The format of the smart thumbnail. Valid values:
|
SetDefaultCover | String | Yes | Indicates whether to set a thumbnail. Valid values:
|
AIMediaAuditResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for review results. Valid values:
|
AbnormalModules | String | No | The content that violates the regulations. Separate multiple values with commas (,). Valid values:
|
Label | String | Yes | The category of the content that violates the regulations in the review results. Separate multiple values with commas (,). Valid values:
|
VideoResult | No | The results of video review. | |
CoverResult Note ImageResult is returned instead of CoverResult in the response to the GetAIMediaAuditJob operation. | No | The review results of the video thumbnail. | |
TitleResult Note TextResult is returned instead of TitleResult in the response to the GetAIMediaAuditJob operation. | No | The review results of the video title. | |
AudioResult | No | The results of audio review. | |
ImageResult Note This field is returned only after you call the SubmitAIImageAuditJob operation. | No | The results of image review. |
VideoResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for review results. Valid values:
|
Label | String | Yes | The category of the content that violates the regulations in the review results. Separate multiple values with commas (,). Valid values:
|
TerrorismResult | No | The results of terrorist content review. | |
PornResult | No | The results of pornographic content review. | |
AdResult | AdResult[] | No | The results of ad review. |
LiveResult | No | The results of undesired content review. | |
LogoResult | No | The results of logo review. |
TerrorismResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for terrorist content review results. Valid values:
|
Label | String | Yes | The category of terrorist content review results. Valid values:
|
MaxScore | String | Yes | The highest score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
AverageScore | String | Yes | The average score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
CounterList | Yes | The categories of terrorist content review results and the number of video snapshots in each category. | |
TopList | Yes | The information about the top 10 video snapshots that have the highest scores in the category. |
TerrorismCounterList
Field | Type | Required | Description |
Label | String | Yes | The results of terrorist content review. Valid values:
|
Count | Integer | Yes | The number of video snapshots. |
TerrorismTopList
Field | Type | Required | Description |
Label | String | Yes | The results of terrorist content review. Valid values:
|
Score | String | Yes | The score of the video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Timestamp | String | Yes | The timestamp of the snapshot in the video. Unit: milliseconds. |
Url | String | Yes | The URL of the video snapshot. |
PornResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for pornographic content review results. Valid values:
|
Label | String | Yes | The results of pornographic content review. Valid values:
|
MaxScore | String | Yes | The highest score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
AverageScore | String | Yes | The average score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
CounterList | Yes | The categories of the pornographic content review results and the number of video snapshots in each category. | |
TopList | Yes | The information about the top 10 video snapshots that have the highest scores in the category. |
PornCounterList
Field | Type | Required | Description |
Label | String | Yes | The results of pornographic content review. Valid values:
|
Count | Integer | Yes | The number of video snapshots. |
PornTopList
Field | Type | Required | Description |
Label | String | Yes | The results of pornographic content review. Valid values:
|
Score | String | Yes | The score of the video snapshot that hits the label. Valid values: [0, 100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Timestamp | String | Yes | The timestamp of the snapshot in the video. Unit: milliseconds. |
Url | String | Yes | The URL of the video snapshot. |
AdResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for ad review results. Valid values:
|
Label | String | Yes | The results of ad review. Valid values:
|
MaxScore | String | Yes | The highest score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
AverageScore | String | Yes | The average score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
CounterList | Yes | The categories of the ad review results and the number of video snapshots in each category. | |
TopList | Yes | The information about the top 10 video snapshots that have the highest scores in the category. |
AdCounterList
Field | Type | Required | Description |
Label | String | Yes | The categories of the ad review results. Valid values:
|
Count | Integer | Yes | The number of video snapshots. |
AdTopList
Field | Type | Required | Description |
Label | String | Yes | The categories of the ad review results. Valid values:
|
Score | String | Yes | The score of the video snapshot that hits the label. Valid values: [0, 100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Timestamp | String | Yes | The timestamp of the snapshot in the video. Unit: milliseconds. |
Url | String | Yes | The URL of the video snapshot. |
LiveResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for undesired content review results. Valid values:
|
Label | String | Yes | The results of undesired content review. Valid values:
|
MaxScore | String | Yes | The highest score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
AverageScore | String | Yes | The average score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
CounterList | Yes | The categories of the undesired content review results and the number of video snapshots in each category. | |
TopList | Yes | The information about the top 10 video snapshots that have the highest scores in the category. |
LiveCounterList
Field | Type | Required | Description |
Label | String | Yes | The categories of undesired content review results. Valid values:
|
Count | Integer | Yes | The number of video snapshots. |
LiveTopList
Field | Type | Required | Description |
Label | String | Yes | The categories of undesired content review results. Valid values:
|
Score | String | Yes | The score of the video snapshot that hits the label. Valid values: [0, 100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Timestamp | String | Yes | The timestamp of the snapshot in the video. Unit: milliseconds. |
Url | String | Yes | The URL of the video snapshot. |
LogoResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for logo review results. Valid values:
|
Label | String | Yes | The results of logo review. Valid values:
|
MaxScore | String | Yes | The highest score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
AverageScore | String | Yes | The average score of a video snapshot that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
CounterList | Yes | The categories of the logo review results and the number of video snapshots in each category. | |
TopList | Yes | The information about the top 10 video snapshots that have the highest scores in the category. |
LogoCounterList
Field | Type | Required | Description |
Label | String | Yes | The categories of logo review results. Valid values:
|
Count | Integer | Yes | The number of video snapshots. |
LogoTopList
Field | Type | Required | Description |
Label | String | Yes | The categories of logo review results. Valid values:
|
Score | String | Yes | The score of the video snapshot that hits the label. Valid values: [0, 100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Timestamp | String | Yes | The timestamp of the snapshot in the video. Unit: milliseconds. |
Url | String | Yes | The URL of the video snapshot. |
CoverResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for the video thumbnail review results. Valid values:
|
Label | String | Yes | The categories of the video thumbnail review results. Separate multiple values with commas (,). Valid values:
|
Type | String | Yes | The reviewed content. Valid value: cover. |
Url | String | Yes | The URL of the video thumbnail. |
Result | Yes | The review results of the video thumbnail. |
CoverResultItem
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for the video thumbnail review results. Valid values:
|
Label | String | Yes | The categories of the video thumbnail review results. Valid values if Scene is porn:
Valid values if Scene is terrorism:
Valid values if Scene is ad:
Valid values if Scene is live:
Valid values if Scene is logo:
|
Score | String | Yes | The score of the video thumbnail that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Scene | String | Yes | The review type for the video thumbnail. Valid values:
|
TitleResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for text review results. Valid values:
|
Label | String | Yes | The categories of the text review results. Valid values:
|
Score | String | Yes | The score of the image that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Scene | String | Yes | The review type. Valid value: antispam. |
Type | String | Yes | The type of the text. Valid value: title. |
AudioResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for audio review results. Valid values:
|
Label | String | Yes | The categories of the audio review results. Valid values:
|
Score | String | Yes | The score of the audio that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Scene | String | Yes | The review type. Valid value: antispam. |
ImageResult
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for image review results. Valid values:
|
Label | String | Yes | The categories of the image review results. Separate multiple values with commas (,). Valid values:
|
Url | String | Yes | The URL of the image. |
Result | Yes | The results of image review. |
ImageResultItem
Field | Type | Required | Description |
Suggestion | String | Yes | The recommendation for image review results. Valid values:
|
Label | String | Yes | The categories of the image review results. Valid values if Scene is porn:
Valid values if Scene is terrorism:
Valid values if Scene is ad:
Valid values if Scene is live:
Valid values if Scene is logo:
|
Score | String | Yes | The score of the image that hits the label. Valid values: [0,100]. The value is accurate to 10 decimal places. The score indicates the probability that the video snapshot is classified with the correct label. A higher value indicates a higher hit accuracy. |
Scene | String | Yes | The review type for the image. Valid values:
|
AIMediaDNAResult
Parameter | Type | Required | Description |
VideoDNA | VideoDNA[] | No | The video fingerprint recognition results. |
VideoDNA
Parameter | Type | Required | Description |
PrimaryKey | String | Yes | The ID of the video that has a similar fingerprint. |
Similarity | String | Yes | The similarity between the fingerprints of the input video and the matched video. |
Detail | Yes | The details about similar videos, including the video location and duration. |
VideoDNADetail
Parameter | Type | Required | Description |
Input | Yes | The start time and duration of the input video. | |
Duplication | Yes | The start time and duration of the matched video in the media fingerprint repository. |
VideoDNADetailItem
Parameter | Type | Required | Description |
Start | String | Yes | The start time of the video. |
Duration | String | Yes | The duration of the video. |
AIVideoTagResult
Field | Type | Required | Description |
Person | No | The figure tags. | |
Time | No | The time tags. | |
Location | No | The location tags. | |
Keyword | No | The keyword tags. | |
Category | No | The video categories. | |
OrigASRData | No | The original results of automated speech recognition (ASR). This field is returned only when the values of AnalyseTypes include ASR and OrigASRData is set to true. AnalyseTypes and OrigASRData are included in the request parameter Config that you must specify when you call SubmitAIJob. |
AIVideoTagResultItem
Field | Type | Required | Description |
Tag | String | Yes | The video tags. |
Times | String[] | No | The time when the tag is displayed. Unit: milliseconds. |
FaceUrl | String | No | The URL of the profile photo. This parameter is returned only when a figure tag was used. |
AIASRData
Field | Type | Required | Description |
Duration | String | Yes | The duration of the audio. Unit: milliseconds. |
AsrTextList | AsrText[] | No | The results of speech recognition. Each element in the array is a sentence. For more information, see AsrText. |
AsrText
Field | Type | Required | Description |
StartTime | Long | Yes | The start time offset of the sentence. Unit: milliseconds. |
EndTime | Long | Yes | The end time offset of the sentence. Unit: milliseconds. |
Text | String | Yes | The recognition results of the sentence. |
ChannelId | Int | Yes | The sound channel number. |
SpeechRate | Int | Yes | The average speech rate of the sentence. Unit: words per minute. |