呼叫本介面取得智慧審核結果摘要資訊。
介面說明
使用說明
本介面僅支援新加坡地域。
QPS 限制
本介面的單一使用者 QPS 限制為每秒 20 次。超過限制時,API 呼叫會被限流,這可能會影響您的業務,請合理呼叫。更多資訊,請參閱 QPS 限制。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vod:GetMediaAuditResult |
get |
*全部資源。
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| MediaId |
string |
是 |
支援查詢影片 ID 和圖片 ID。 |
93ab850b4f6f*****54b6e91d24d81d4 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回結果資料。 |
||
| RequestId |
string |
請求 ID。 |
CB7D7232-1AB2-40FE-B8D5-**** |
| MediaAuditResult |
object |
審核結果。 |
|
| Suggestion |
string |
審核結果建議。取值:
|
pass |
| AbnormalModules |
string |
違規的審核內容。多個使用英文逗號(,)分隔,取值:
|
video |
| Label |
string |
審核結果分類。多個使用英文逗號(,)分隔,取值:
|
porn |
| AudioResult |
array<object> |
音訊審核結果。 |
|
|
object |
|||
| Score |
string |
命中 Label 音訊的分數。取值範圍: |
99.91 |
| Suggestion |
string |
審核結果建議。取值:
|
pass |
| Label |
string |
審核結果分類:
|
normal |
| Scene |
string |
審核場景。取固定值:antispam。 |
antispam |
| ImageResult |
array<object> |
圖片審核結果。 |
|
|
array<object> |
|||
| Type |
string |
圖片分類。取值:cover(封面)。 |
cover |
| Url |
string |
圖片的地址。 |
http://www.test.com/****.jpg |
| Suggestion |
string |
審核結果建議。取值:
|
pass |
| Label |
string |
圖片審核結果分類。多個使用英文逗號(,)分隔,取值:
|
porn |
| Result |
array<object> |
圖片審核結果詳情。 |
|
|
object |
|||
| Score |
string |
命中 Label 的圖片的分數。取值範圍: |
100.00000 |
| Suggestion |
string |
審核結果建議。取值:
|
pass |
| Label |
string |
審核結果分類。 當 scene 為 porn 時,取值:
當 scene 為 terrorism 時,取值:
當 scene 為 ad 時,取值:
當 scene 為 live 時,取值:
當 scene 為 logo 時,取值:
|
porn |
| Scene |
string |
審核場景。取值:
|
porn |
| TextResult |
array<object> |
文字審核結果。 |
|
|
object |
|||
| Type |
string |
文字分類。取值:title(標題)。 |
title |
| Suggestion |
string |
審核結果建議。取值:
|
pass |
| Score |
string |
命中 Label 的文字截圖的分數。取值範圍: |
100.00000 |
| Label |
string |
審核結果分類。取值:
|
ad |
| Content |
string |
審核文字內容。 |
Hotline 123**** |
| Scene |
string |
審核場景。取固定值:antispam。 |
antispam |
| VideoResult |
object |
影片審核結果。 |
|
| Label |
string |
審核結果分類。取值:
|
porn |
| Suggestion |
string |
審核結果建議。取值:
|
pass |
| PornResult |
object |
鑑黃審核結果。 |
|
| Suggestion |
string |
鑑黃審核建議。取值:
|
pass |
| AverageScore |
string |
命中 Label 的影片截圖的平均分數。取值範圍: |
100 |
| Label |
string |
鑑黃審核結果。取值:
|
porn |
| MaxScore |
string |
命中 Label 的影片截圖的最高分數。取值範圍: |
100 |
| CounterList |
array<object> |
審核結果各分類及其影片截圖的張數。 |
|
|
object |
|||
| Label |
string |
鑑黃審核結果。取值:
|
porn |
| Count |
integer |
影片截圖張數。 |
1 |
| TopList |
array<object> |
命中 Label 下分數最高的影片截圖資訊。 |
|
|
object |
|||
| Url |
string |
影片截圖的地址。 |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
命中 Label 的影片截圖的分數。取值範圍: |
100.0000 |
| Timestamp |
string |
影片截圖在影片中的位置。單位:毫秒。 |
3005 |
| Label |
string |
鑑黃審核結果。取值:
|
porn |
| AdResult |
object |
廣告審核結果。 |
|
| Suggestion |
string |
審核結果建議。取值:
|
block |
| AverageScore |
string |
命中 Label 的影片截圖的平均分數。取值範圍: |
100 |
| Label |
string |
廣告審核結果分類。取值:
|
ad |
| MaxScore |
string |
命中 Label 的影片截圖的最高分數。取值範圍: |
100 |
| CounterList |
array<object> |
審核結果各分類及其影片截圖的張數。 |
|
|
object |
|||
| Label |
string |
廣告審核結果分類。取值:
|
ad |
| Count |
integer |
影片截圖張數。 |
12 |
| TopList |
array<object> |
命中 Label 下分數最高的影片截圖資訊。 |
|
|
object |
|||
| Url |
string |
影片截圖的地址。 |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
命中 Label 的影片截圖的分數。取值範圍: |
100 |
| Timestamp |
string |
影片截圖在影片中的位置。單位:毫秒。 |
10 |
| Label |
string |
廣告審核結果分類。取值:
|
ad |
| LogoResult |
object |
Logo 審核結果。 |
|
| Suggestion |
string |
審核結果建議。取值:
|
block |
| AverageScore |
string |
命中 Label 的影片截圖的平均分數。取值範圍: |
100 |
| Label |
string |
Logo 審核結果分類。取值:
|
TV |
| MaxScore |
string |
命中 Label 的影片截圖的最高分數。取值範圍: |
100 |
| CounterList |
array<object> |
審核結果各分類及其影片截圖張數。 |
|
|
object |
|||
| Label |
string |
Logo 審核結果分類。取值:
|
TV |
| Count |
integer |
影片截圖張數。 |
1 |
| TopList |
array<object> |
命中 Label 下分數最高的影片截圖資訊。 |
|
|
object |
|||
| Url |
string |
影片截圖的地址。 |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
命中 Label 的影片截圖的分數。取值範圍: |
100 |
| Timestamp |
string |
影片截圖在影片中的位置。單位:毫秒。 |
16 |
| Label |
string |
Logo 審核結果分類。取值:
|
TV |
| LiveResult |
object |
不良內容審核結果。 |
|
| Suggestion |
string |
審核結果建議。取值:
|
block |
| AverageScore |
string |
命中 Label 的影片截圖的平均分數。取值範圍: |
100 |
| Label |
string |
審核結果分類。取值:
|
smoking |
| MaxScore |
string |
命中 Label 的影片截圖的最高分數。取值範圍: |
100 |
| CounterList |
array<object> |
包括不良審核結果的分類及其影片截圖張數。 |
|
|
object |
|||
| Label |
string |
審核結果分類。取值:
|
smoking |
| Count |
integer |
影片截圖張數。 |
2 |
| TopList |
array<object> |
命中 Label 下分數最高的影片截圖資訊。 |
|
|
object |
|||
| Url |
string |
影片截圖的地址。 |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
命中 Label 的影片截圖的分數。取值範圍: |
100 |
| Timestamp |
string |
影片截圖在影片中的位置。單位:毫秒。 |
10 |
| Label |
string |
審核結果分類。取值:
|
smoking |
| TerrorismResult |
object |
暴恐涉政審核結果。 |
|
| Suggestion |
string |
暴恐涉政審核建議。取值:
|
pass |
| AverageScore |
string |
命中 Label 的影片截圖的平均分數。取值範圍: |
100 |
| Label |
string |
暴恐涉政審核結果。取值:
|
normal |
| MaxScore |
string |
命中 Label 的影片截圖的最高分數。取值範圍: |
100 |
| CounterList |
array<object> |
包含暴恐涉政結果各分類及其影片截圖張數。 |
|
|
object |
|||
| Label |
string |
暴恐涉政審核結果。取值:
|
outfit |
| Count |
integer |
包含暴恐涉政結果的影片截圖張數。 |
1 |
| TopList |
array<object> |
命中 Label 下分數最高的影片截圖資訊。 |
|
|
object |
|||
| Url |
string |
影片截圖的地址。 |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
命中 Label 的影片截圖的分數。取值範圍: |
100.000 |
| Timestamp |
string |
影片截圖在影片中的位置。單位:毫秒。 |
3005 |
| Label |
string |
暴恐涉政審核結果。取值:
|
normal |
| GreenEnhancedResult |
object |
選擇 GreenEnhanced 路徑審核結果。 |
|
| Suggestion |
string |
畫面審核結論,由 frameResult.riskLevel 對應:high→block,medium/low→review,none→pass。 |
|
| Label |
string |
命中的 Green 原生標籤聯集(逗號拼接,如 pornographic_adultContent_tii),未命中為 normal。 |
|
| MaxScore |
string |
命中畫格信賴度最高分;無命中不填。 |
|
| AverageScore |
string |
命中畫格信賴度平均值;無命中不填。 |
|
| CounterList |
array<object> |
違規標籤計數彙總:Label(Green 標籤)/ Count(該標籤命中畫格數)。 |
|
|
object |
|||
| Label |
string |
審核結果分類。 |
|
| Count |
integer |
對應標籤的影片截幀畫格數。 |
|
| TopList |
array<object> |
命中畫格明細(按信賴度降序)。 |
|
|
object |
|||
| Label |
string |
審核結果分類。 |
|
| Score |
string |
命中 Label 的影片截圖的信賴度分數。 |
|
| Timestamp |
string |
影片截圖在影片中的位置。 |
|
| Url |
string |
影片截圖的地址。 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "CB7D7232-1AB2-40FE-B8D5-****",
"MediaAuditResult": {
"Suggestion": "pass",
"AbnormalModules": "video",
"Label": "porn",
"AudioResult": [
{
"Score": "99.91",
"Suggestion": "pass",
"Label": "normal",
"Scene": "antispam"
}
],
"ImageResult": [
{
"Type": "cover",
"Url": "http://www.test.com/****.jpg",
"Suggestion": "pass",
"Label": "porn",
"Result": [
{
"Score": "100.00000",
"Suggestion": "pass",
"Label": "porn",
"Scene": "porn"
}
]
}
],
"TextResult": [
{
"Type": "title",
"Suggestion": "pass",
"Score": "100.00000",
"Label": "ad",
"Content": "Hotline 123****",
"Scene": "antispam"
}
],
"VideoResult": {
"Label": "porn",
"Suggestion": "pass",
"PornResult": {
"Suggestion": "pass",
"AverageScore": "100",
"Label": "porn",
"MaxScore": "100",
"CounterList": [
{
"Label": "porn",
"Count": 1
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100.0000",
"Timestamp": "3005",
"Label": "porn"
}
]
},
"AdResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "ad",
"MaxScore": "100",
"CounterList": [
{
"Label": "ad",
"Count": 12
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "10",
"Label": "ad"
}
]
},
"LogoResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "TV",
"MaxScore": "100",
"CounterList": [
{
"Label": "TV",
"Count": 1
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "16",
"Label": "TV"
}
]
},
"LiveResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "smoking",
"MaxScore": "100",
"CounterList": [
{
"Label": "smoking",
"Count": 2
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "10",
"Label": "smoking"
}
]
},
"TerrorismResult": {
"Suggestion": "pass",
"AverageScore": "100",
"Label": "normal",
"MaxScore": "100",
"CounterList": [
{
"Label": "outfit",
"Count": 1
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100.000",
"Timestamp": "3005",
"Label": "normal"
}
]
},
"GreenEnhancedResult": {
"Suggestion": "",
"Label": "",
"MaxScore": "",
"AverageScore": "",
"CounterList": [
{
"Label": "",
"Count": 0
}
],
"TopList": [
{
"Label": "",
"Score": "",
"Timestamp": "",
"Url": ""
}
]
}
}
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。