Interface VideoAnalysis

Structured result from video analysis.

interface VideoAnalysis {
    description: string;
    scenes?: VideoScene[];
    objects?: string[];
    text?: string[];
    durationSec?: number;
    modelId?: string;
    providerId?: string;
    providerMetadata?: Record<string, unknown>;
}

Properties

description: string

Free-form textual description / answer from the analyser.

scenes?: VideoScene[]

Detected scene segments with timestamps.

objects?: string[]

Detected objects / entities across the video.

text?: string[]

Detected on-screen or spoken text (OCR / ASR).

durationSec?: number

Overall duration of the analysed video in seconds.

modelId?: string

Model that produced the analysis.

providerId?: string

Provider that produced the analysis.

providerMetadata?: Record<string, unknown>

Provider-specific metadata.