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
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
text | string | Yes | — | Text to synthesize (1-5000 characters) |
voice | string | No | aero-vayu | Voice ID |
model | string | No | aero | Model: aero, aero-mini, aero-nano |
language | string | No | en-us | Language code |
speed | number | No | 1.0 | Speed multiplier (0.5-2.0) |
format | string | No | mp3 | Output format: mp3, wav, pcm, opus, ogg, flac, aac |
sample_rate | integer | No | 22050 | Sample rate in Hz |
voice_mix | array | No | — | Voice blend config (see Voice Lab) |
source | string | No | api | Source identifier: api or playground |
Response
Returns audio bytes with the following headers:| Header | Description |
|---|---|
X-Aero-Latency-Ms | Total request latency in milliseconds |
X-Aero-Synthesis-Ms | Synthesis-only time in milliseconds |
X-Aero-Model-Load-Ms | Model loading time (0 if cached) |
X-Aero-Audio-Duration | Audio duration in seconds |
X-Aero-Characters | Number of characters synthesized |
X-Aero-Model | Model used for synthesis |
Example
Error Responses
| Status | Description |
|---|---|
| 400 | Invalid request (text too long, invalid voice, etc.) |
| 401 | Missing or invalid API key |
| 402 | Insufficient balance |
| 429 | Rate limit exceeded |
| 503 | Inference server unavailable |
List Voices
Get all available voices with optional filtering.Query Parameters
| Parameter | Type | Description |
|---|---|---|
language | string | Filter by language code (e.g., en-us, hi) |
gender | string | Filter by gender (male or female) |
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
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
api_key value immediately — it is only shown once.
List API Keys
Delete API Key
Usage
Track your TTS usage over time.Query Parameters
| Parameter | Values | Default |
|---|---|---|
period | day, week, month | month |
Response
Pricing
Get current pricing tiers.Response
Rate Limits
Rate limits are per API key and configurable (default: 100 requests/minute).| Header | Description |
|---|---|
Retry-After | Seconds to wait before retrying (on 429) |
429 response:

