Skip to main content
POST
Async Generate Summary
Product: Visual Intelligence — Video Task APIs (application layer) Use case: Pre-packaged video analysis tasks built on top of the Video Model APIs — fixed prompt + workflow, you just POST a video and get a structured result. For full control over prompt and model selection, see Video Model APIs. Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
Generates a narrative summary of a video using Gemini — what the video is about, key events, people, and storyline. Processes the full video context in one pass.
This is an async endpoint. You must configure a webhook URL in Webhooks Settings before calling this endpoint, otherwise you will not receive the processing results. See Webhooks Configuration Guide for details.
Pricing:
  • Input tokens: $0.45/1M tokens
  • Output tokens: $3.75/1M tokens

Code Example

Request Body

Response

Returns the summary generation task information.

Response Parameters

Callback Response Parameters

When the summary generation is complete, a callback will be sent to your configured webhook URL.

Authorizations

Authorization
string
header
required

Body

application/json
asset_id
string
required

The transcription asset ID

Example:

"re_657929111888723968"

Response

200 - application/json

Summary generation task information

code
string

Response code indicating the result status

Example:

200

msg
string

Response message describing the operation result

Example:

"success"

data
object

Response data object containing task information

success
boolean

Indicates whether the operation was successful

Example:

true

failed
boolean

Indicates whether the operation failed

Example:

false