gemini_tts_wrapper 0.2.0
gemini_tts_wrapper: ^0.2.0 copied to clipboard
One-shot Gemini TTS REST client for Flutter that returns audio bytes (Uint8List) and includes an in-memory just_audio source.
0.2.0 #
- Add
DialogueBuilderutility for creating multi-speaker dialogues with speaker configuration and pause tags. - Add
DialogueGeneratorfor generating multi-speaker dialogue audio (per-speaker or unified generation). - Add
TtsValidatorfor text length validation and automatic chunking to work around ~160 second API limit. - Add
TtsLengthExceptionthrown when text exceeds safe duration limits. - Add
audioProfileparameter togenerate()method for audio output profiles. - Add
directorsNoteparameter togenerate()method for tone/style control. - Add
validateLengthoption togenerate()method (enabled by default) for automatic length validation. - Add pause tag support (
[short pause],[medium pause],[long pause]) in dialogue text. - Add speaker-separated text generation to help reduce voice mixing issues.
- Update example app with multi-speaker dialogue demo.
- Add comprehensive tests for new utilities.
0.1.0 #
- Add one-shot Gemini TTS REST client (
GeminiTts) returning audio bytes. - Add
Uint8ListAudioSourcehelper for in-memory playback withjust_audio. - Include a runnable Flutter example app.