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>'
{
  "id": "<string>",
  "status": "PROCESSING",
  "created_at": 123,
  "video_id": "<string>",
  "object": "video",
  "completed_at": 1730822520,
  "progress": 100,
  "error": null,
  "model": "mirage-video-1-latest",
  "source_video_id": "video_abc123def456",
  "caption_template_id": "ctpl_123456789abcdefg"
}
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 object.

A video can be created via generation (image+audio) or captioning (adding captions to an existing video).

id
string
required

Video generation job ID

Example:

"video_abc123def456"

status
enum<string>
required

Current state of the video

Available options:
PROCESSING,
COMPLETE,
FAILED,
CANCELLED
Example:

"COMPLETE"

created_at
integer
required

When the video was created (unix timestamp)

Example:

1730822400

video_id
string
required
deprecated

[Deprecated] Use "id" instead.

object
string
default:video
Allowed value: "video"
completed_at
integer | null

When processing completed (unix timestamp)

Example:

1730822520

progress
integer | null

Progress percentage (0-100)

Example:

100

error
MAVideoError · object

Error details if status is FAILED

Example:

null

model
string | null

Model used for generation (only for source='generation')

Allowed value: "mirage-video-1-latest"
Example:

"mirage-video-1-latest"

source_video_id
string | null

The input video that was captioned (only for source='caption')

Example:

"video_abc123def456"

caption_template_id
string | null

Caption style template used (only for source='caption')

Example:

"ctpl_123456789abcdefg"