Table of Contents

Struct VideoGenerationReferenceType

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

Enum for the reference type of a video generation reference image.

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

Properties

AllValues

public static IReadOnlyList<VideoGenerationReferenceType> AllValues { get; }

Property Value

IReadOnlyList<VideoGenerationReferenceType>

Asset

A reference image that provides assets to the generated video, such as the scene, an object, a character, etc.

public static VideoGenerationReferenceType Asset { get; }

Property Value

VideoGenerationReferenceType

Style

A reference image that provides aesthetics including colors, lighting, texture, etc., to be used as the style of the generated video, such as 'anime', 'photography', 'origami', etc.

public static VideoGenerationReferenceType Style { get; }

Property Value

VideoGenerationReferenceType

Value

public string Value { get; }

Property Value

string

Methods

Equals(VideoGenerationReferenceType)

public bool Equals(VideoGenerationReferenceType other)

Parameters

other VideoGenerationReferenceType

Returns

bool

FromString(string)

public static VideoGenerationReferenceType FromString(string value)

Parameters

value string

Returns

VideoGenerationReferenceType

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator VideoGenerationReferenceType(string)

public static implicit operator VideoGenerationReferenceType(string value)

Parameters

value string

Returns

VideoGenerationReferenceType