Class VeoTuningSpec
Tuning Spec for Veo Model Tuning. This data type is not supported in Gemini API.
public record VeoTuningSpec : IEquatable<VeoTuningSpec>
- Inheritance
-
VeoTuningSpec
- Implements
- Inherited Members
Properties
HyperParameters
Optional. Hyperparameters for Veo.
[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
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a VeoTuningSpec object.
public static VeoTuningSpec? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- VeoTuningSpec
The deserialized VeoTuningSpec object, or null if deserialization fails.