取得影片 AI 分析結果資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| MediaId |
string |
否 |
音訊 ID。可透過點播主控台查詢音訊 ID,或透過 SearchMedia 介面請求後取得音訊 ID。 |
006204a11bb386bb25491f95f**** |
| ResultTypes |
string |
否 |
分析結果類型,多個類型之間使用半形逗號(,)分隔。 枚舉值:
|
Chapter |
| OutputType |
string |
否 |
輸出位址類型。取值:
|
cdn |
| AuthTimeout |
string |
否 |
圖片存取位址的過期時間。單位:秒。
|
3600 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
746FFA07-8BBB-46B1-3E94E3B2915E**** |
| AiAnalysisResultList |
object |
||
| AiAnalysisResult |
array<object> |
分析結果。 |
|
|
object |
分析結果。 |
||
| ResultType |
string |
結果類型。 |
Chapter |
| Title |
string |
標題。 |
Test Title |
| Summary |
string |
摘要。 |
*** |
| Content |
string |
詳細內容。 |
[{"chapterId":1,"chapterTitle":"***","startTime":3820,"endTime":217640,"summary":"***","knowledgePoints":[]},{"chapterId":2,"chapterTitle":"***","startTime":787730,"endTime":1745736,"summary":"***","knowledgePoints":[]},{"chapterId":3,"chapterTitle":"***","startTime":1746038,"endTime":2501370,"summary":"***","knowledgePoints":[]}] |
| Extra |
string |
保留欄位。 |
{"Summary": "***"} |
樣本
正常返回樣本
JSON格式
{
"RequestId": "746FFA07-8BBB-46B1-3E94E3B2915E****",
"AiAnalysisResultList": {
"AiAnalysisResult": [
{
"ResultType": "Chapter",
"Title": "Test Title",
"Summary": "***",
"Content": "[{\"chapterId\":1,\"chapterTitle\":\"***\",\"startTime\":3820,\"endTime\":217640,\"summary\":\"***\",\"knowledgePoints\":[]},{\"chapterId\":2,\"chapterTitle\":\"***\",\"startTime\":787730,\"endTime\":1745736,\"summary\":\"***\",\"knowledgePoints\":[]},{\"chapterId\":3,\"chapterTitle\":\"***\",\"startTime\":1746038,\"endTime\":2501370,\"summary\":\"***\",\"knowledgePoints\":[]}]",
"Extra": "{\"Summary\": \"***\"}"
}
]
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。