Installation
Setup
Get your API key from waves.smallest.ai and set it as an environment variable:Text-to-Speech
Supported models:lightning-v3.1 (recommended — 44.1 kHz, natural expressive speech) and lightning-v2 (16 languages, voice cloning).
Speech-to-Text
Next.js API Route Example
Create a TTS endpoint in your Next.js app:Provider Options
TTS Options
STT Options
Available Voices
80+ voices across multiple languages. Popular voices:| Voice | Gender | Accent | Best For |
|---|---|---|---|
sophia | Female | American | General use (default) |
robert | Male | American | Professional |
advika | Female | Indian | Hindi, code-switching |
vivaan | Male | Indian | Bilingual English/Hindi |
camilla | Female | Mexican/Latin | Spanish |

