Class VeoLoraTuningSpec
Tuning Spec for Veo LoRA Model Tuning. This data type is not supported in Gemini API.
public record VeoLoraTuningSpec : IEquatable<VeoLoraTuningSpec>
- Inheritance
-
VeoLoraTuningSpec
- Implements
- Inherited Members
Properties
HyperParameters
Optional. Hyperparameters for Veo LoRA.
[JsonPropertyName("hyperParameters")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public VeoHyperParameters? HyperParameters { get; set; }
Property Value
TrainingDatasetUri
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.
[JsonPropertyName("trainingDatasetUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? TrainingDatasetUri { get; set; }
Property Value
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.
[JsonPropertyName("validationDatasetUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ValidationDatasetUri { get; set; }
Property Value
VideoOrientation
Optional. The orientation of the video. Defaults to LANDSCAPE.
[JsonPropertyName("videoOrientation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public VideoOrientation? VideoOrientation { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a VeoLoraTuningSpec object.
public static VeoLoraTuningSpec? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- VeoLoraTuningSpec
The deserialized VeoLoraTuningSpec object, or null if deserialization fails.