from abc import ABC, abstractmethod class TTSProvider(ABC): @abstractmethod async def synthesize( self, text: str, voice: str | None = None, audio_format: str = "pcm", language: str | None = None, ) -> bytes: ...