Table of Contents

Struct TuningTask

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

The tuning task for Veo. This enum is not supported in Gemini API.

[JsonConverter(typeof(TuningTaskConverter))]
public readonly record struct TuningTask : IEquatable<TuningTask>
Implements
Inherited Members

Properties

AllValues

public static IReadOnlyList<TuningTask> AllValues { get; }

Property Value

IReadOnlyList<TuningTask>

TuningTaskI2v

Tuning task for image to video.

public static TuningTask TuningTaskI2v { get; }

Property Value

TuningTask

TuningTaskR2v

Tuning task for reference to video.

public static TuningTask TuningTaskR2v { get; }

Property Value

TuningTask

TuningTaskT2v

Tuning task for text to video.

public static TuningTask TuningTaskT2v { get; }

Property Value

TuningTask

TuningTaskUnspecified

Default value. This value is unused.

public static TuningTask TuningTaskUnspecified { get; }

Property Value

TuningTask

Value

public string Value { get; }

Property Value

string

Methods

Equals(TuningTask)

public bool Equals(TuningTask other)

Parameters

other TuningTask

Returns

bool

FromString(string)

public static TuningTask FromString(string value)

Parameters

value string

Returns

TuningTask

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator TuningTask(string)

public static implicit operator TuningTask(string value)

Parameters

value string

Returns

TuningTask