Frequently asked questions
How do I get an API key?
Navigate to /get-api-key/ and sign in using Google or email with a password. The dashboard displays your active key, balance, and usage statistics. Each account holds one active key; issuing a new one immediately invalidates the previous key. This process is specific to the play65x.com storefront.
Can I use the OpenAI SDK?
Yes. The API request shape matches the OpenAI speech endpoint. Configure your OpenAI SDK by setting the base_url to https://api.play65x.com/v1 and providing your AutoEcho API key. This allows you to use standard OpenAI client libraries without modifying the core request logic for text-to-speech generation.
What is the base URL?
The API base URL is https://api.play65x.com/v1. All requests, including speech synthesis and voice listing, use this domain. For example, send a POST request to https://api.play65x.com/v1/audio/speech. This endpoint accepts JSON bodies with model, input, voice, and format parameters.
How do I set the language?
Include the optional 'language' field in your request body using an ISO code. If omitted, the system guesses the language from the script, defaulting to English for Latin text. Explicitly setting the language ensures accurate synthesis for non-English Latin-script texts or specific dialects supported by the eight voices.
What models are available?
Two models are available: 'tts-1' and 'tts-1-hd'. Both use the same engine and pricing structure. You can list available models via GET /v1/models. The choice between models does not affect the cost, which remains $10 per million characters regardless of the selected model version.
Can I change the voice mid-request?
No. Each request specifies a single voice from the eight presets. To change voices, you must send separate requests for each segment of text and join the resulting audio files. The API processes one voice per request, ensuring consistent tone and quality for each generated audio segment.
How do I handle large texts?
Split your text into chunks of up to 4096 characters. Send each chunk as a separate POST request to the speech endpoint. Then, join the returned audio files to create a continuous output. This approach ensures compliance with character limits while maintaining the integrity of the full narrative.
What is the character limit?
The maximum input size is 4096 characters per request. Spaces and punctuation count toward this limit. If your text exceeds this length, you must split it into multiple requests. Each request is processed independently, so ensure your application handles the sequential generation and concatenation of audio segments.
How do I check available voices?
Send a GET request to /v1/voices. This endpoint returns details on all eight voice presets, supported languages, and available audio formats. You can use this information to select the appropriate voice, such as 'aria' for narration or 'atlas' for news, before submitting your speech synthesis requests.
What happens on rate limit?
You are limited to 60 requests per minute per key (10 before the first top-up). Exceeding this limit results in request failures. Failed requests are free. Ensure your application handles these errors gracefully and implements appropriate backoff strategies for retrying.
First request
curl
curl https://api.play65x.com/v1/audio/speech \
-H "Authorization: Bearer $TTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"tts-1","voice":"aria","input":"Hello from the API.","response_format":"mp3"}' \
--output hello.mp3Python (openai)
from openai import OpenAI
client = OpenAI(base_url="https://api.play65x.com/v1", api_key="tts-...")
with client.audio.speech.with_streaming_response.create(
model="tts-1", voice="nova", input="Hello from Python.", response_format="mp3"
) as response:
response.stream_to_file("hello.mp3")Node.js (openai)
import OpenAI from "openai";
import fs from "node:fs";
const client = new OpenAI({ baseURL: "https://api.play65x.com/v1", apiKey: process.env.TTS_API_KEY });
const res = await client.audio.speech.create({ model: "tts-1", voice: "milo", input: "Hello from Node.js." });
fs.writeFileSync("hello.mp3", Buffer.from(await res.arrayBuffer()));| voice | |
|---|---|
aria | female |
nova | female |
luna | female |
sage | female |
felix | male |
milo | male |
atlas | male |
orion | male |
| language | |
|---|---|
ar | العربية |
zh | 中文 |
da | Dansk |
nl | Nederlands |
en | English |
fi | Suomi |
fr | Français |
de | Deutsch |
el | Ελληνικά |
he | עברית |
hi | हिन्दी |
it | Italiano |
ja | 日本語 |
ko | 한국어 |
ms | Bahasa Melayu |
no | Norsk |
pl | Polski |
pt | Português |
ru | Русский |
es | Español |
sw | Kiswahili |
sv | Svenska |
tr | Türkçe |
Authentication
Authentication for the AutoEcho TTS API relies on a single active Bearer token per account. This key authorizes all requests to the API endpoints, including speech synthesis and voice listing. You can generate or retrieve your key via the /get-api-key/ dashboard page after signing in with Google or email.
API Key Generation
Keys are issued upon account creation or manual generation in the dashboard. Each account maintains exactly one active key at any time. The dashboard displays the current key alongside your balance and usage statistics.
- Access the /get-api-key/ page to view your current key.
- Generate a new key if the existing one is compromised.
- Keys are tied to your account, not specific projects.
Bearer Token Format
Include the key in the HTTP header as Authorization: Bearer tts-.... The token string begins with the prefix tts- followed by alphanumeric characters. Ensure no extra whitespace is included in the header value to prevent authentication failures.
Key Rotation Policy
Issuing a new key immediately invalidates the previous one. The old key stops working at once upon generation of the new key. There is no overlap period. Update your client configuration immediately after rotation to avoid service interruption in your navigation or infotainment applications.
Endpoints Overview
The AutoEcho API exposes three primary endpoints for text-to-speech synthesis, voice configuration, and model information. All requests target the base URL https://api.play65x.com/v1 using standard HTTP methods.
Speech Synthesis POST
Send text to receive synthesized audio files. The endpoint accepts JSON bodies with model, input, voice, response_format, and optional language parameters. It supports formats including mp3, wav, opus, flac, and pcm.
- Endpoint: POST /v1/audio/speech
- Max input: 4096 characters
- Auth: Bearer token required
Voices List GET
Retrieve available voice presets, supported languages, and format options. This endpoint allows developers to verify supported voices like aria, nova, or atlas before synthesis requests.
- Endpoint: GET /v1/voices
- Returns voice IDs and metadata
- Lists supported ISO language codes
Models List GET
Fetch available model identifiers. Currently supports "tts-1" and "tts-1-hd", which share the same engine and pricing structure. Use this to confirm available model versions.
- Endpoint: GET /v1/models
- Returns model IDs and details
- Confirms tts-1 and tts-1-hd availability
Request Parameters
Configure the synthesis engine and input constraints before submitting your request. The API accepts standard text inputs with specific character boundaries to ensure reliable audio generation within vehicle cabin acoustic environments.
Select the appropriate model for your latency requirements and choose from eight licensed voice presets optimized for clear articulation in noisy conditions.
Model Selection
Use "tts-1" for standard processing or "tts-1-hd" for high-definition audio. Both models use the same engine and pricing structure, allowing you to switch based on audio fidelity needs without changing your integration logic.
Input Text Limits
The input field accepts a maximum of 4096 characters per request. Spaces and punctuation count toward this limit. For texts exceeding this length, split the input into multiple requests and join the resulting audio files sequentially.
Voice Presets
Select one of eight presets tailored for specific tonal requirements. Female voices include aria, nova, luna, and sage. Male options are felix, milo, atlas, and orion. Each voice supports all 23 supported languages.
Voices are based on licensed recordings from LibriTTS-R and LibriVox. Every generated file contains an inaudible watermark identifying it as synthetic speech.
- aria: warm, clear narrator
- nova: bright, upbeat
- luna: soft, storytelling
- sage: calm, instructional
- felix: energetic, promo
- milo: friendly, conversational
Response Formats
The API returns audio data in the format specified by the response_format field in the request body. Supported formats include MP3, WAV, OPUS, and FLAC, allowing you to balance file size and quality based on your vehicle's audio pipeline requirements.
MP3 Output
MP3 is the default format and offers efficient compression for network transmission. It is suitable for playback in infotainment systems where bandwidth conservation is prioritized over lossless fidelity.
WAV Output
WAV provides uncompressed PCM audio. This format is ideal for local caching or high-fidelity playback in cabin environments where network latency varies.
OPUS and FLAC Options
OPUS and FLAC are available formats for your vehicle's audio pipeline requirements. Select these formats if your application requires specific codec handling for navigation prompts.
Speed and Language Controls
Adjust vocal pacing using the speed parameter, accepting values from 0.25 to 4.0. This allows precise control over speech rate to match vehicle cabin acoustics and driver attention spans.
Speed Range 0.25–4.0
Set the speed field in your request JSON to modify playback tempo. Values below 1.0 slow the speech, while values above 1.0 accelerate it. This control ensures consistent clarity during navigation instructions or infotainment updates.
ISO Language Codes
Specify the target language using standard ISO 639-1 codes. Supported languages include Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any of the eight voice presets can generate audio in any of these languages.
Automatic Detection
If the language field is omitted, the system attempts to infer the language from the text script. Latin script defaults to English. For non-English Latin script text, explicitly set the language parameter to ensure correct pronunciation.

Rate Limits and Queuing
AutoEcho enforces a strict rate limit of 60 requests per minute per API key. This limit applies to all synthesis endpoints and ensures consistent latency for navigation and infotainment applications. If your application sends more than 60 requests in a minute, additional requests will receive a 429 Too Many Requests error.
60 Requests Per Minute
The standard limit is 60 requests per minute. This capacity is sufficient for most indie developer use cases, including batch processing of route instructions or periodic updates for in-car displays.
Initial Limit
New accounts start with a lower limit of 10 requests per minute. This restriction applies until the first top-up is processed. Once a top-up is confirmed, the limit increases to the standard 60 requests per minute.
Queue Behavior
Requests are processed sequentially. Under normal load, this ensures predictable delivery. During high demand, requests may wait in a queue, causing slight delays. Short phrases typically take a few seconds to generate, while longer texts process at roughly real-time speed.
Error Handling
AutoEcho API returns standard HTTP status codes to indicate request outcomes. Client errors typically result from invalid parameters, such as exceeding the 4096-character input limit or using an unsupported voice ID. Server errors indicate temporary processing failures during synthesis.
4xx Client Errors
A 400 Bad Request indicates malformed JSON or invalid field values. A 401 Unauthorized occurs if the Bearer token is missing or invalid. A 429 Too Many Requests triggers when the per-key limit of 60 requests per minute is exceeded.
- 400: Invalid input structure or character limit exceeded.
- 401: Missing or incorrect Authorization header.
- 429: Rate limit exceeded; wait for the window to reset.
5xx Server Errors
A 500 Internal Server Error indicates a failure within the synthesis engine. These errors are temporary; the request is not charged if synthesis fails. Retrying the request may succeed if the underlying issue resolves quickly.
- 500: Temporary engine failure; no charge applied.
Retry Logic
Implement exponential backoff for 429 and 5xx errors. For 4xx errors, verify the input payload before retrying, as the error is likely persistent. Do not retry immediately for 429 to avoid compounding the rate limit load.
- Retry 500 errors with exponential backoff.
- Retry 429 errors after the indicated wait time.
- Do not retry 400 errors without payload correction.
Code Examples
The AutoEcho API accepts standard JSON payloads, allowing seamless integration into existing automotive infotainment pipelines. Developers can test basic synthesis immediately using command-line tools or integrate directly into Python-based vehicle data processors using the OpenAI SDK.
cURL Command
Send a direct synthesis request to the API endpoint. Replace the placeholder with your active Bearer token and adjust the voice model as needed.
- Endpoint: https://api.play65x.com/v1/audio/speech
- Method: POST
- Auth: Bearer tts-your-api-key
OpenAI SDK Integration
Configure the OpenAI SDK to point to the AutoEcho base URL. This allows you to use standard methods like Audio.speech.create while respecting the specific rate limits and character constraints of this service.
- Base URL: https://api.play65x.com/v1
- Model: tts-1 or tts-1-hd
- Language: ISO 639-1 code
Python Example
Use the openai Python package to generate audio files for navigation instructions. The code handles the request and saves the resulting binary data to a local file for playback in the vehicle cabin.
- Install: pip install openai
- Set OPENAI_API_KEY
- Handle 429 errors for queueing
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. The navigation system guides drivers through complex city streets with precision and ease.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- LibriTTS-R paper (arXiv 2305.18802)
- Tether (USDT)
- openai-node on GitHub
- OpenAI API reference: create speech
- Creative Commons Attribution 4.0
- FFmpeg documentation
- LibriVox public-domain audiobooks
- LibriTTS-R corpus (OpenSLR 141)
- W3C WAI: making audio and video accessible
- openai-python on GitHub
- curl documentation
