Class VideoResponseFormat
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Format of video output.
public class VideoResponseFormat
- Inheritance
-
VideoResponseFormat
- Inherited Members
- Extension Methods
Properties
AspectRatio
Aspect ratio of the video.
[JsonPropertyName("aspectRatio")]
public AspectRatio? AspectRatio { get; set; }
Property Value
Delivery
Whether the video is returned inline or as a URI.
[JsonPropertyName("delivery")]
public Delivery? Delivery { get; set; }
Property Value
Duration
Length of the video, as a duration string (for example "8s").
[JsonPropertyName("duration")]
public string? Duration { get; set; }
Property Value
GcsUri
Cloud Storage URI to write the video to.
[JsonPropertyName("gcsUri")]
public string? GcsUri { get; set; }
Property Value
Resolution
Resolution of the video, for example 1080p.
[JsonPropertyName("resolution")]
public string? Resolution { get; set; }