Quickstart
Step 1: Get Your API Key
In the Smallest AI console, select API Keys from the left sidebar under Developer.
Click Create API Key in the top-right corner, enter a name, and click Create API Key to confirm.
The new key appears in your dashboard. Click the copy icon to copy it.
Export the key in your terminal:
Step 2: Hear Audio in 30 Seconds
Paste this in your terminal — no install required:
Play hello.wav — it should sound like this:
That’s broadcast-quality TTS with ~200ms TTFB.
The model field selects which Lightning pool serves the request — lightning_v3.1_pro is the new premium pool with a curated voice catalog. Omit the field or pass "model": "lightning_v3.1" to use the standard pool (more voices, plus voice cloning).
Step 3: Build It Into Your App
The smallestai Python SDK’s synchronous WavesClient.synthesize() is being updated. Use the requests example above until the next SDK release.
Full runnable source files: Python | JavaScript | cURL
Step 4: Explore More
Premium voice catalog across American, British, and Indian accents. Pass model: lightning_v3.1_pro to use.
Browse 217 voices across 12 languages on the standard pool — English, Hindi, Spanish, and 9 Indian languages.
Real-time audio streaming via WebSocket for voice assistants.
Clone any voice from just 5-15 seconds of audio (standard pool only).
Key Parameters
Need Help?
If you need direct assistance, reach out at support@smallest.ai.

