stale-balloon-75966
09/04/2025, 11:22 AMtall-airline-16756
09/04/2025, 11:22 AMtall-airline-16756
09/04/2025, 11:22 AMlivekit-plugins-azure plugin lets you tap into Azure Speech’s streaming STT and TTS for real-time transcription and speech generation. You can get it installed with:
pip install "livekit-agents[azure]~=1.2"
To get started, you’ll need to set up authentication with one of these options:
• AZURE_SPEECH_KEY and AZURE_SPEECH_REGION, or
• AZURE_SPEECH_HOST, or
• AZURE_SPEECH_AUTH_TOKEN and AZURE_SPEECH_REGION.
• Azure OpenAI STT & TTS: For Azure OpenAI services, the OpenAI plugin has you covered for both STT and TTS. To install, just run:
pip install "livekit-agents[openai]~=1.2"
For authentication here, you’ll need:
• AZURE_OPENAI_API_KEY and AZURE_OPENAI_ENDPOINT, and if you’re using Active Directory, AZURE_OPENAI_AD_TOKEN as well.
Both of these plugins are ready to use with Python in the LiveKit Agents framework. You can build your agents easily using the VoicePipelineAgent or AgentSession classes.
If you want to dive deeper, feel free to check out the detailed docs for Azure Speech STT, Azure Speech TTS, and Azure OpenAI services. We’re here to help you get the most out of these powerful tools!
Sources: Azure OpenAI STT integration guide | LiveKit Docs | Azure OpenAI TTS integration guide | LiveKit Docs | Azure AI Services and LiveKit | LiveKit Docs | Azure Speech STT integration guide | LiveKit Docs | Azure Speech TTS integration guide | LiveKit Docs