List providers
Returns the catalog of TTS providers with their available models and the authenticated organization's per-provider configuration (enabled, byok, managed).
Returns the catalog of TTS providers with their available models and the authenticated organization's per-provider configuration (enabled, byok, managed).
Authorization
bearerAuth API key
In: header
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/audio/providers" \ -H "Authorization: Bearer $SPEECHBASE_API_KEY"{
"data": [
{
"id": "string",
"name": "string",
"enabled": true,
"byok": true,
"managed": true,
"models": [
"string"
]
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"validation": [
{
"path": [
"string"
],
"message": "string"
}
],
"provider": "string",
"upstream_code": "string",
"upstream_status": 0,
"turn_index": 0
}Errors
How Speechbase reports failures using RFC 7807 Problem Detail, and the error codes you should plan for.
Generate speech POST
Synthesizes the whole clip and returns raw audio bytes in a single response. Pass either `voiceId` (to use a saved Voice) or `model` + `voice` (inline), not both. Because the full clip is produced server-side, whole-clip params (`volumeDbfs`, `output` format conversion) are applied here. For low-latency provider streaming, use POST /v1/audio/speech/stream.

