GeminiModelFamily enum

The generation modality a Gemini model name denotes.

The family decides which capability profile and which options schema a model gets, whether or not the name is curated.

Inheritance
Available extensions

Values

text → const GeminiModelFamily

Conversational text models, including Gemma.

image → const GeminiModelFamily

Image-generating models (gemini-*-image*).

tts → const GeminiModelFamily

Text-to-speech models (gemini-*-tts*).

Properties

customOptions → SchemanticType
The request options schema a model of this family accepts.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supports → Map<String, dynamic>
The capability profile a model of this family advertises.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

of(String modelName) → GeminiModelFamily
Classifies a bare model name by its Gemini modality marker.

Constants

values → const List<GeminiModelFamily>
A constant List of the values in this enum, in order of their declaration.