API Reference
Voices
Read-only catalog of TTS voices grouped by provider. ElevenLabs voices are account-scoped and fetched live from ElevenLabs rather than returned here.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
provider?string
Filter to a single provider's voices. Accepts either the routing key (cartesia, xai, alibaba, openai, inworld, elevenlabs) or the catalog suffix form (xai-tts, alibaba-tts, openai-tts).
Response Body
application/json
application/json
{
"voices": [
{
"vendor": "string",
"id": "string",
"name": "string"
}
],
"providers": [
{
"key": "string",
"name": "string",
"models": [
"string"
],
"voicesFetchedLive": true
}
]
}{
"error": "Unauthorized",
"code": "UNAUTHORIZED"
}Synthesize
Routes the request to the best TTS provider for your intent, with automatic failover. Returns binary audio. The `Content-Type` header (mirrored in `X-Speko-Audio-Format`) tells you the format.
Complete
Single-turn LLM call routed to the best provider for your intent, with automatic failover. Returns assistant text + token usage.