Table of Contents

Class VeoTuningSpec

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

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

VeoHyperParameters

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

string

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

string

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a VeoTuningSpec object.

public static VeoTuningSpec? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

VeoTuningSpec

The deserialized VeoTuningSpec object, or null if deserialization fails.