Skip to main content
GET
/
v1
/
videos
/
{video_id}
Retrieve a Video
curl --request GET \
  --url https://aihubmix.com/v1/videos/{video_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "video",
  "model": "<string>",
  "progress": 123,
  "created_at": 123,
  "completed_at": 123,
  "expires_at": 123,
  "prompt": "<string>",
  "seconds": "<string>",
  "remixed_from_video_id": "<string>",
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Gateway-issued API key, formatted as sk-gateway-xxxxxxxx. Used by OpenAI-shaped endpoints (/v1/chat/completions, etc.).

Path Parameters

video_id
string
required

The identifier of the video to retrieve.

Example:

"video_123"

Response

Success

Structured information describing a generated video job.

id
string
required

Unique identifier for the video job.

object
enum<string>
default:video
required

The object type, which is always video.

Available options:
video
model
required

The video generation model that produced the job.

status
enum<string>
required

Current lifecycle status of the video job.

Available options:
queued,
in_progress,
completed,
failed
progress
integer
required

Approximate completion percentage for the generation task.

created_at
integer<unixtime>
required

Unix timestamp (seconds) for when the job was created.

completed_at
integer<unixtime> | null
required

Unix timestamp (seconds) for when the job completed, if finished.

expires_at
integer<unixtime> | null
required

Unix timestamp (seconds) for when the downloadable assets expire, if set.

prompt
string | null
required

The prompt that was used to generate the video.

size
enum<string>
required

The resolution of the generated video.

Available options:
720x1280,
1280x720,
1024x1792,
1792x1024
seconds
string
required

Duration of the generated clip in seconds. For extensions, this is the stitched total duration.

remixed_from_video_id
string | null
required

Identifier of the source video if this video is a remix.

error
Error · object
required

Error payload that explains why generation failed, if applicable.