Providers
Smallest AI
Smallest AI Lightning text-to-speech through the Speechbase gateway.
| Prefix | smallest-ai |
| Default model | lightning-v3.1 |
| Provider key | Connect under Provider Keys |
Route to Smallest AI by prefixing the model with smallest-ai/. Lightning is
tuned for very low latency.
Models
| Model | Streaming | Timestamps | Languages |
|---|---|---|---|
lightning-v3.1 | — | STT fallback | 4 |
Streaming isn't available — the gateway returns the complete audio once it's
generated. Word alignment on the
/v1/audio/speech/with-timestamps
endpoint comes from the gateway's STT fallback.
Usage
curl -X POST https://api.speechbase.ai/v1/audio/speech \
-H "Authorization: Bearer $SPEECHBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "inline",
"model": "smallest-ai/lightning-v3.1",
"voice": "default",
"text": "Hello from Speechbase!",
"output": "mp3"
}' --output hello.mp3Replace voice with a Smallest AI voice ID from the provider's catalog, or
register one as a saved Voice.
Provider options
Anything in providerOptions is forwarded to the Smallest AI API unchanged.

