Interface GeneratedVideo

A single generated video artifact.

interface GeneratedVideo {
    url?: string;
    base64?: string;
    mimeType?: string;
    durationSec?: number;
    width?: number;
    height?: number;
    thumbnailUrl?: string;
    providerMetadata?: Record<string, unknown>;
}

Properties

url?: string

Public URL where the video can be downloaded.

base64?: string

Base64-encoded video data.

mimeType?: string

MIME type of the video (e.g. 'video/mp4').

durationSec?: number

Duration of the generated video in seconds.

width?: number

Width in pixels.

height?: number

Height in pixels.

thumbnailUrl?: string

Thumbnail / poster image URL.

providerMetadata?: Record<string, unknown>

Provider-specific metadata (job ID, generation params, etc.).