Skip to main content
GET
/
v1
/
videos
/
{video_id}
Retrieve Video
curl --request GET \
  --url https://api.mirage.app/v1/videos/{video_id} \
  --header 'x-api-key: <api-key>'
{
  "status": "PROCESSING",
  "id": "<string>",
  "video_id": "<string>",
  "created_at": 123,
  "model": "<string>",
  "object": "video",
  "progress": 100,
  "completed_at": 1730822520,
  "error": null
}
Retrieve a video

Authorizations

x-api-key
string
header
required

API key for authentication.

Path Parameters

video_id
string
required

Response

200 - application/json

Returns a Video object with the current generation status

Represents a video generation job

status
enum<string>
required

Current state of video generation

Available options:
PROCESSING,
COMPLETE,
FAILED,
CANCELLED
id
string
required

Video generation job ID

video_id
string
required

[Deprecated] Use "id" instead.

created_at
integer
required

When the job was created (unix timestamp)

model
string
required

Model used for generation

Allowed value: "mirage-video-1-latest"
object
string
default:video
Allowed value: "video"
progress
integer | null

Progress percentage (0-100)

Example:

100

completed_at
integer | null

When the job completed (if applicable, unix timestamp)

Example:

1730822520

error
MAVideoError · object

Error payload that explains why generation failed, if applicable

Example:

null