Skip to content

API Reference parrot.voice.tts

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.voice.tts

View source

TTS (Text-to-Speech) Module.

Provides text-to-speech synthesis capabilities for voice reply in Telegram and other integrations.

Supported backends:

  • Google TTS: Cloud-based synthesis via GoogleGenAIClient.generate_speech

Future backends (architecture ready, not yet implemented):

  • ElevenLabs: reserved (raises ValueError)
  • OpenAI TTS: reserved (raises ValueError)

Added by FEAT-213 (Telegram Voice Reply TTS Output). Mirrors the structure of parrot.voice.transcriber for symmetry.

Alias AbstractTTSBackend

Re-exported from parrot.voice.tts.backend.AbstractTTSBackend.

Alias AmazonPollyTTSBackend

Re-exported from parrot.voice.tts.polly_backend.AmazonPollyTTSBackend.

Alias GoogleTTSBackend

Re-exported from parrot.voice.tts.google_backend.GoogleTTSBackend.

Alias SynthesisResult

Re-exported from parrot.voice.tts.models.SynthesisResult.

Alias TTSConfig

Re-exported from parrot.voice.tts.models.TTSConfig.

Alias VoiceSynthesizer

Re-exported from parrot.voice.tts.synthesizer.VoiceSynthesizer.

Alias close_shared_synthesizers

Re-exported from parrot.voice.tts.synthesizer.close_shared_synthesizers.

Alias get_shared_synthesizer

Re-exported from parrot.voice.tts.synthesizer.get_shared_synthesizer.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally