Configuration for video output format.

interface VideoResponseFormat {
    aspectRatio?: "9:16" | "16:9";
    delivery?: "inline" | "uri";
    duration?: string;
    gcsUri?: string;
    type: "video";
}

Properties

aspectRatio?: "9:16" | "16:9"

The aspect ratio for the video output.

delivery?: "inline" | "uri"

The delivery mode for the video output.

duration?: string

The duration for the video output.

gcsUri?: string

The GCS URI to store the video output. Required for Vertex if delivery mode is URI.

type: "video"