Overview

View as Markdown

The Lightning TTS API converts text into natural speech via https://api.smallest.ai/waves/v1. 31 languages across two pools — the standard 217-voice Lightning v3.1 catalog (20 accepted codes, 12 with trained voices) and the premium Lightning v3.1 Pro pool (all 31) — plus auto for cross-language routing, at 44.1 kHz native sample rate, ~200ms TTFB, with sync, SSE, and WebSocket streaming.

Hear Lightning v3.1 Pro (voice: meher, model: lightning_v3.1_pro):

Synthesis Modes

Choose the synthesis mode that best fits your application’s needs:

Available Models

Lightning v2 is deprecated. New integrations should use Lightning v3.1 or Lightning v3.1 Pro. The v2 endpoints remain available for existing callers but are not recommended for new work.

Feature Highlights

Optimized streaming pipeline delivers ~200ms time-to-first-byte (TTFB) for real-time applications. Lightning v3.1 achieves even faster response times for conversational AI.

Create custom voice profiles by uploading audio samples. Instant voice cloning works with just a few seconds of audio, while professional voice cloning delivers studio-quality results.

Lightning v3.1 accepts 20 language codes (10 European: English, Spanish, French, German, Italian, Dutch, Swedish, Portuguese, Polish, Russian + 10 Indic: Hindi, Marathi, Gujarati, Punjabi, Bengali, Odia, Tamil, Telugu, Kannada, Malayalam). Its trained voice catalog covers 12 of these directly; the other 8 route via English or Hindi voices. Lightning v3.1 Pro covers all 31 languages with dedicated voices (adds Greek, Finnish, Norwegian + 8 Asian & Middle Eastern languages). Pass auto to route across any supported language using any English or Hindi voice. See the Lightning v3.1 and Lightning v3.1 Pro model cards for per-language voice counts.

Choose from PCM, WAV, MP3, or μ-law encoding. Configurable sample rates from 8kHz to 44kHz to match your application’s requirements.

Adjust speech rate with a simple multiplier. Slow down for clarity or speed up for faster content delivery without pitch distortion.

Define custom pronunciations for brand names, technical terms, and acronyms. Ensure consistent, accurate pronunciation across all synthesized audio.

Lightning v3.1 produces 44 kHz audio with natural prosody and expressiveness. Perfect for audiobooks, podcasts, and premium voice experiences.

Persistent connections for continuous audio streaming. Ideal for voice bots and interactive applications where latency is critical.

Supported Languages

LanguageCodeLightning v3.1Lightning v3.1 Pro
EnglishenYesYes
HindihiYesYes (Indian voices)
TamiltaYesYes
KannadaknYesYes
MalayalammlYesYes
TeluguteYesYes
GujaratiguYesYes
MarathimrYesYes
BengalibnYesYes
PunjabipaYesYes
OdiaorYesYes
SpanishesYesYes
GermandeYes
FrenchfrYes
ItalianitYes
PortugueseptYes
RussianruYes
GreekelYes
FinnishfiYes
NorwegiannoYes
PolishplYes
ArabicarYes
Chinese (Mandarin)zhYes
IndonesianidYes
JapanesejaYes
KoreankoYes
MalaymsYes
TurkishtrYes
VietnameseviYes

Pro language support is per voice. Indian Pro voices (e.g., meher, rhea, aviraj) speak English with native Hindi code-switching. British and American Pro voices speak English only. Each additional Pro language has its own dedicated voices — pass the matching ISO 639-1 language code with a voice from that language (see the Pro voice catalog). For languages without Pro voices, use standard Lightning v3.1.

For per-language voice counts, see the Lightning v3.1 model card.

Explore