Speechbase
Providers

Smallest AI

Smallest AI Lightning text-to-speech through the Speechbase gateway.

Prefixsmallest-ai
Default modellightning-v3.1
Provider keyConnect under Provider Keys

Route to Smallest AI by prefixing the model with smallest-ai/. Lightning is tuned for very low latency.

Models

ModelStreamingTimestampsLanguages
lightning-v3.1STT fallback4

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.mp3

Replace 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.

On this page