TextToSpeechService class
Service for text-to-speech conversion
Constructors
- TextToSpeechService(HasabApiClient _client)
- Create a new Text-to-Speech service
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAvailableVoices(
[HasabLanguage? language]) → Future< Map< String, List< >String> > - Get available voices for a language
-
getSupportedFormats(
) → Future< List< String> > - Get supported output formats
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
synthesize(
String text, HasabLanguage language, {String? outputPath, String? voice, double? speed, Map< String, dynamic> ? options}) → Future<TextToSpeechResponse> - Convert text to speech audio file
-
synthesizeToBytes(
String text, HasabLanguage language, {String? voice, double? speed}) → Future< List< int> > - Convert text to speech and return raw audio bytes
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited