Package com.google.genai.types
Class VideoResponseFormat
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VideoResponseFormat
Configuration for video-specific output formatting. This data type is not supported in Gemini
API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for VideoResponseFormat. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<AspectRatio>The aspect ratio for the video output.static VideoResponseFormat.Builderbuilder()Instantiates a builder for VideoResponseFormat.delivery()Optional.duration()Optional.static VideoResponseFormatDeserializes a JSON string to a VideoResponseFormat object.gcsUri()Optional.abstract VideoResponseFormat.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
VideoResponseFormat
public VideoResponseFormat()
-
-
Method Details
-
aspectRatio
The aspect ratio for the video output. -
delivery
Optional. Delivery mode for the generated content. -
duration
Optional. The duration for the video output. -
gcsUri
Optional. The Google Cloud Storage URI to store the video output. Required for Vertex if delivery is URI. -
builder
Instantiates a builder for VideoResponseFormat. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a VideoResponseFormat object.
-