Voice
The @voltagent/voice package provides text-to-speech (TTS) and speech-to-text (STT) capabilities through various providers. It allows your applications to speak text and transcribe audio with minimal setup.
Installation
Install the package using your preferred package manager:
- npm
- yarn
- pnpm
npm install @voltagent/voice
yarn add @voltagent/voice
pnpm add @voltagent/voice
Supported Providers
- OpenAI: High-quality voices and transcription.
- ElevenLabs: Realistic, customizable voices.
- xsAI: Lightweight OpenAI-compatible voice API.