Package com.google.genai.types
Class VeoLoraTuningSpec
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VeoLoraTuningSpec
Tuning Spec for Veo LoRA Model Tuning. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for VeoLoraTuningSpec. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VeoLoraTuningSpec.Builderbuilder()Instantiates a builder for VeoLoraTuningSpec.static VeoLoraTuningSpecDeserializes a JSON string to a VeoLoraTuningSpec object.abstract Optional<VeoHyperParameters>Optional.abstract VeoLoraTuningSpec.BuilderCreates a builder with the same values as this instance.Required.Optional.abstract Optional<VideoOrientation>Optional.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
VeoLoraTuningSpec
public VeoLoraTuningSpec()
-
-
Method Details
-
hyperParameters
Optional. Hyperparameters for Veo LoRA. -
trainingDatasetUri
Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. -
validationDatasetUri
Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. -
videoOrientation
Optional. The orientation of the video. Defaults to LANDSCAPE. -
builder
Instantiates a builder for VeoLoraTuningSpec. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a VeoLoraTuningSpec object.
-