Skip to content

Get video content

GET
/v1/videos/{task_id}/content
curl --request GET \
--url https://api.mirapi.ai/v1/videos/video-abc123/content \
--header 'Authorization: Bearer <token>'

Returns the video file of a completed video task.

This endpoint proxies the video file stream.

task_id
required
string

Video task ID

Example
video-abc123

Video content returned

Media typevideo/mp4
string format: binary

Video not found or not finished

Media typeapplication/json
object
error
object
message

Error message

string
type

Error type

string
param

Related parameter

string
nullable
code

Error code

string
nullable
Examplegenerated
{
"error": {
"message": "example",
"type": "example",
"param": "example",
"code": "example"
}
}