gemini_tts_wrapper library
A Very Good Project created by Very Good CLI.
Classes
- DialogueBuilder
- Builder for creating multi-speaker dialogues with Gemini TTS.
- DialogueGenerator
- Generator for creating multi-speaker dialogue audio.
- DialogueLine
- Represents a single line in a dialogue.
- GeminiApiClient
- Low-level HTTP client for Gemini (Generative Language API).
- GeminiTts
- Public facade for one-shot (non-streaming) TTS generation.
- GeminiTtsWrapper
- Backward-compatible wrapper around GeminiTts.
- SpeakerConfig
- Configuration for a dialogue speaker.
- TtsRequest
-
Request payload for Gemini TTS
generateContent. - TtsValidationResult
- Validation result for TTS text length.
- TtsValidator
- Validator for TTS requests to help work around API limitations.
- Uint8ListAudioSource
- Plays audio bytes directly from memory using just_audio.
Exceptions / Errors
- TtsLengthException
- Exception thrown when TTS text exceeds safe duration limits.