Table of Contents

Class VeoHyperParameters

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Hyperparameters for Veo model tuning.

[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public class VeoHyperParameters
Inheritance
VeoHyperParameters
Inherited Members
Extension Methods

Properties

AdapterSize

Optional. The adapter size for LoRA tuning.

[JsonPropertyName("adapterSize")]
public AdapterSize? AdapterSize { get; set; }

Property Value

AdapterSize?

EpochCount

Optional. Number of complete passes the model makes over the entire training dataset during training.

[JsonPropertyName("epochCount")]
public int? EpochCount { get; set; }

Property Value

int?

LearningRateMultiplier

Optional. Multiplier for adjusting the default learning rate.

[JsonPropertyName("learningRateMultiplier")]
public double? LearningRateMultiplier { get; set; }

Property Value

double?

TuningSpeed

The speed of the tuning job. Only supported for Veo 3.0 models.

[JsonPropertyName("tuningSpeed")]
public TuningSpeed? TuningSpeed { get; set; }

Property Value

TuningSpeed?

TuningTask

Obsolete. The API sends the Veo tuning task as an enum string; use TuningTaskType instead.

[JsonIgnore]
[Obsolete("The Veo tuning task is an enum on the wire. Use TuningTaskType instead.")]
public TuningTask? TuningTask { get; set; }

Property Value

TuningTask

TuningTaskType

Optional. The tuning task. Either I2V (Image-to-Video), T2V (Text-to-Video) or R2V (Reference-to-Video).

[JsonPropertyName("tuningTask")]
public VeoTuningTask? TuningTaskType { get; set; }

Property Value

VeoTuningTask?

VeoDataMixtureRatio

Optional. The ratio of Google internal dataset to use in the training mixture, in range of [0, 1).

[JsonPropertyName("veoDataMixtureRatio")]
public double? VeoDataMixtureRatio { get; set; }

Property Value

double?