Skip to main content

Aero TTS API Reference

Base URL: https://api.thinnest.ai/api/tts All endpoints require a Bearer token — either a thns_sk_* API key or a JWT from the dashboard.

Synthesize Speech

Convert text to audio.

Request Body

Response

Returns audio bytes with the following headers:

Example

Error Responses


List Voices

Get all available voices with optional filtering.

Query Parameters

Response

Example


List Languages

Get all supported languages with voice counts.

Response


List Models

Get available Aero TTS models with specs.

Response


Health Check

Check if the Aero TTS inference server is operational.

Response

If the server is down:

Voice Mixes

Create Voice Mix

Blend 2-4 voices to create a custom hybrid voice.

List Voice Mixes

Delete Voice Mix


API Keys

Create API Key

Response:
Save the api_key value immediately — it is only shown once.

List API Keys

Delete API Key


Usage

Track your TTS usage over time.

Query Parameters

Response


Pricing

Get current pricing tiers.

Response


Rate Limits

Rate limits are per API key and configurable (default: 100 requests/minute). If you exceed your rate limit, you receive a 429 response:
To increase your rate limit, create a new API key with a higher limit or contact support.

WebSocket Streaming

For real-time streaming synthesis, connect to the WebSocket endpoint:
Send a JSON message with the same fields as the synthesize endpoint. Audio chunks are streamed back as binary frames as they are generated. This is ideal for voice agents where you need to start playback before the full audio is ready.