Class InteractionVideoResponseFormat
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Video output format (type: video).
public sealed class InteractionVideoResponseFormat : InteractionResponseFormat
- Inheritance
-
InteractionVideoResponseFormat
- Inherited Members
- Extension Methods
Constructors
InteractionVideoResponseFormat()
Initializes a new instance of the InteractionVideoResponseFormat class.
public InteractionVideoResponseFormat()
Properties
AspectRatio
The aspect ratio (16:9, 9:16).
[JsonPropertyName("aspect_ratio")]
public string? AspectRatio { get; set; }
Property Value
Delivery
The delivery mode (see InteractionDeliveryModes).
[JsonPropertyName("delivery")]
public string? Delivery { get; set; }
Property Value
Duration
The duration of the video (e.g. 8s).
[JsonPropertyName("duration")]
public string? Duration { get; set; }
Property Value
GcsUri
The Cloud Storage URI to store the video (required on Vertex AI for URI delivery).
[JsonPropertyName("gcs_uri")]
public string? GcsUri { get; set; }
Property Value
Resolution
The resolution (360p, 720p, 1080p, 4k). Defaults to 720p.
[JsonPropertyName("resolution")]
public string? Resolution { get; set; }