All Products
Search
Document Center

ApsaraVideo VOD:GetMediaAiAnalysis

Last Updated:Aug 21, 2026

Retrieves the results of video AI analysis.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

MediaId

string

No

The audio ID. You can query the audio ID in the ApsaraVideo VOD console or obtain it from the response of the SearchMedia operation.

006204a11bb386bb25491f95f****

ResultTypes

string

No

The type of analysis results. Separate multiple types with commas (,).

Valid values:

  • Keyword :

    Keyword

  • Classification :

    Classification

  • TRANSCRIPTION :

    TRANSCRIPTION

  • Chapter :

    Chapter

  • Summary :

    Summary

Chapter

OutputType

string

No

The type of the output URL. Valid values:

  • oss: back-to-origin URL.

  • cdn (default): accelerated URL.

cdn

AuthTimeout

string

No

The expiration time of the image access URL. Unit: seconds.

  • If OutputType is set to cdn:
    • Only image URLs with URL authentication enabled expire. Otherwise, the URLs are permanently valid.

    • Minimum value: 1.

    • Maximum value: unlimited.

    • Default value: If this parameter is not specified, the default validity period specified in URL authentication settings is used.

  • If OutputType is set to oss:
    • Only image URLs with private storage permissions expire. Otherwise, the URLs are permanently valid.

    • Minimum value: 1.

    • Maximum value: To reduce security risks to the origin server, the maximum value is 2592000 (30 days) if images are stored in a bucket managed by ApsaraVideo VOD, and 129600 (36 hours) if images are stored in your own OSS bucket.

    • Default value: If this parameter is not specified, the value is 3600.

3600

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

746FFA07-8BBB-46B1-3E94E3B2915E****

AiAnalysisResultList

object

AiAnalysisResult

array<object>

The analysis results.

object

The analysis results.

ResultType

string

The result type.

Chapter

Title

string

The title.

Test Title

Summary

string

The summary.

***

Content

string

The detailed 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

string

The reserved field.

{"Summary": "***"}

Examples

Success response

JSON format

{
  "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\": \"***\"}"
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.