VideoResponseFormat

@Serializable
data class VideoResponseFormat(val aspectRatio: AspectRatio? = null, val delivery: Delivery? = null, val duration: Duration? = null, val gcsUri: String? = null)

Configuration for video-specific output formatting. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(aspectRatio: AspectRatio? = null, delivery: Delivery? = null, duration: Duration? = null, gcsUri: String? = null)

Properties

Link copied to clipboard

The aspect ratio for the video output.

Link copied to clipboard
val delivery: Delivery? = null

Optional. Delivery mode for the generated content.

Link copied to clipboard
@Serializable(with = DurationStringSerializer::class)
val duration: Duration? = null

Optional. The duration for the video output.

Link copied to clipboard
val gcsUri: String? = null

Optional. The Google Cloud Storage URI to store the video output. Required for Vertex if delivery is URI.