ElevenLabsModels class
ElevenLabs Models capability implementation
This module handles model-related functionality for ElevenLabs providers, including listing available models and getting model information.
Constructors
- ElevenLabsModels.new(ElevenLabsClient client, ElevenLabsConfig config)
Properties
- client → ElevenLabsClient
-
final
- config → ElevenLabsConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getModelCapabilities(
String modelId) → Future< Map< String, bool> > - Get model capabilities
-
getModelDescription(
String modelId) → Future< String?> - Get model description
-
getModelInfo(
String modelId) → Future< Map< String, dynamic> ?> - Get model information by ID
-
getModelLanguages(
String modelId) → Future< List< String> > - Get model languages
-
getModels(
) → Future< List< Map< >String, dynamic> > - Get available models
-
getRecommendedSTTModels(
) → Future< List< String> > - Get recommended STT models
-
getRecommendedTTSModels(
) → Future< List< String> > - Get recommended TTS models
-
getUserInfo(
) → Future< Map< String, dynamic> > - Get user subscription info
-
isModelAvailable(
String modelId) → Future< bool> - Check if model is available for current subscription
-
modelSupportsSTT(
String modelId) → Future< bool> - Check if a model supports STT
-
modelSupportsTTS(
String modelId) → Future< bool> - Check if a model supports TTS
-
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