Frequently asked questions
How do I get an API key?
Sign up on our /get-api-key/ page using Google or email plus password. Accounts created with email and password start without trial credit. Your account receives one active API key starting with 'tts-'. You can issue a new key at any time, which immediately invalidates the old one. The dashboard displays your key, balance, and usage details for easy integration.
What is the base URL?
Your API base URL is https://api.playru55.cc/v1. Use this for all requests, including the speech endpoint POST /v1/audio/speech and the voices list GET /v1/voices. This URL structure ensures compatibility with standard HTTP clients and allows you to use existing tools like cURL or the OpenAI SDK with a simple base_url adjustment.
Which SDKs are supported?
We do not provide an official SDK of our own; use the official OpenAI SDKs or plain HTTP. However, our API shape matches the OpenAI speech endpoint exactly. You can use the official OpenAI SDKs by changing the base_url to https://api.playru55.cc/v1. Plain HTTP requests work perfectly as well, giving you full flexibility in your tech stack.
How do I split long texts?
The API accepts up to 4096 characters per request. For longer texts, split your input into chunks of this size and send multiple requests. Join the resulting audio files on your end. This approach handles any length of content while staying within the single-request character limit defined by our engine.
What formats are available?
You can choose from mp3, wav, opus, flac, and pcm. Select the response_format field in your JSON body to specify the output. These formats cover most use cases, from web playback to high-quality archival storage. Each format is generated directly from the same engine, ensuring consistent audio quality across all options.
How do I handle errors?
If synthesis fails, the charge is returned in full, so you are not billed for failed attempts. Monitor your response status codes to detect issues. Failed requests are free: if synthesis fails, the charge is returned in full. Implement retry logic for transient errors, keeping in mind that requests are processed sequentially and may queue under load.
What are the rate limits?
You are allowed 60 requests per minute per API key. Before your first top-up, this limit is reduced to 10 requests per minute. Requests are processed one after another, so under heavy load, a request may wait in a queue. Plan your batch generation accordingly to avoid exceeding these limits.
Can I change my voice mid-conversation?
Yes. Each API request generates an independent audio file, so you can switch voices by sending a new request with a different voice parameter. Simply concatenate these files in your application to create multi-character dialogues. This works for IVR menus or voice assistant interactions, allowing distinct voices for each turn without needing complex streaming or SSML support.
Does the API support streaming?
No, the API does not support streaming or WebSocket connections. It returns complete audio files upon request completion. You must wait for the full response before playing the audio. This design simplifies integration for batch processing and IVR systems where real-time partial audio is not required for the user experience.
How do I set the language?
Set the optional 'language' field to an ISO code (e.g., 'en', 'ru', 'de'). If omitted, the system guesses the language, defaulting to English for Latin script. For non-English Latin text, always set the language explicitly. 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.
First request
curl
curl https://api.playru55.cc/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.playru55.cc/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.playru55.cc/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
CleoVox uses a simple API key system for authentication, designed to keep your IVR or voice assistant integration secure and straightforward. You receive one active key per account, which you can regenerate at any time via the dashboard. When you issue a new key, the previous one stops working immediately, ensuring clean transitions without overlap or confusion in your production environment.
This approach minimizes security risks for startups managing multiple development and production environments. Since CleoVox doesn't offer complex role-based access or enterprise SSO, the single-key model keeps things lightweight and predictable for small teams building voice applications.
API Key Format
Your API key starts with the prefix tts- followed by a unique alphanumeric string. It is generated when you sign up or create your first account on playru55.cc. Keep this key secure, as it grants full access to your voice synthesis capabilities and billing.
Keys are tied to your account balance and rate limits. If you need to rotate keys for security reasons, simply generate a new one from the dashboard. The old key becomes invalid instantly.
- Keys begin with
tts- - One active key per account
- Instant invalidation of old keys
Bearer Token
Include your key in the Authorization header of every request. Use the standard Bearer token format: Authorization: Bearer tts-.... This is compatible with standard HTTP clients and SDKs.
For example, when using cURL, you would pass -H "Authorization: Bearer tts-your-key-here". This method is consistent across all endpoints, including speech generation and voice listing.
The token must be sent with every request, including those to GET /v1/voices or GET /v1/models. Failure to include it will result in a 401 Unauthorized error.
Key Management
Manage your keys directly from the /get-api-key/ dashboard. You can view your current key, balance, and usage statistics. Generating a new key immediately invalidates the old one, so ensure your applications are updated promptly.
There is no limit to how many times you can rotate your key. This is useful for dev-to-pro transitions or security audits. Each key is independent, but all share the same account balance and rate limits.
Since CleoVox does not support multiple seats or roles, key management is simple: one key, one account, one set of limits. This keeps things transparent for startups who need to track API usage without complex billing structures.
Endpoints Overview
CleoVox offers three primary endpoints to power your IVR and voice assistant workflows. The Speech Generation endpoint converts your text into natural audio files, while List Voices and List Models endpoints provide metadata for integration.
These endpoints ensure you have all the necessary information to configure your voice interactions correctly, from selecting the right voice preset to understanding available output formats.
Speech Generation
The core endpoint POST /v1/audio/speech accepts text and returns an audio file. It supports formats like MP3, WAV, Opus, FLAC, and PCM, making it easy to integrate with standard telephony systems.
You can specify the voice, speed, and language directly in the request body, allowing for dynamic voice selection within your application logic.
- Endpoint: POST /v1/audio/speech
- Supported formats: mp3, wav, opus, flac, pcm
- JSON body compatible with OpenAI SDKs
List Voices
Use GET /v1/voices to retrieve a list of all available voice presets and their details. This endpoint helps you identify the best voice for your specific use case, whether it's a warm narrator or a neutral news anchor.
Each voice entry includes the voice ID, name, and associated language capabilities, ensuring you can match the tone to your brand identity.
- Endpoint: GET /v1/voices
- Returns voice ID, name, and metadata
- Includes all 8 voice presets
List Models
The GET /v1/models endpoint provides information about the available TTS models. Currently, both tts-1 and tts-1-hd are supported, offering flexibility in audio quality and processing speed.
This endpoint ensures you are always aware of the available models. Both models use the same engine and price, so the choice depends on your preference for audio fidelity.
- Endpoint: GET /v1/models
- Models: tts-1, tts-1-hd
- Same engine and price for both
Request Parameters
CleoVox delivers natural-sounding audio for IVR systems and voice assistants via a simple POST request. Configure the payload with your text, preferred voice, and output format to generate speech instantly.
Keep input under 4096 characters. Split longer scripts into chunks and join the resulting audio files. For non-English Latin text, explicitly set the language parameter to ensure accurate synthesis.
Input Text
Send up to 4096 characters per request. Spaces and punctuation count toward the limit. Longer texts should be split into smaller parts and joined server-side or by the client.
- Max 4096 characters per request
- Spaces and punctuation count as characters
- Split and join for longer scripts
Voice Selection
Choose from 8 presets tailored for different tones. Select female voices like aria for narration or nova for upbeat interactions. Choose male voices like atlas for neutral news or orion for deep documentaries.
Every voice supports all 23 languages. If the language is not specified, the system guesses it from the script, defaulting to English for Latin text.
- 8 presets: aria, nova, luna, sage, felix, milo, atlas, orion
- Supports all 23 listed languages
- Default language detection for Latin script
Response Format
Return audio as mp3, wav, opus, flac, or pcm. MP3 is recommended for efficient bandwidth usage in IVR systems. Adjust speed between 0.25 and 4.0 to fit your call flow timing.
- Formats: mp3, wav, opus, flac, pcm
- Speed range: 0.25 to 4.0
- Adjust speed to match call flow timing
Curl Example
To generate speech immediately, use the curl command below. This example sends a short phrase to the API, returning an MP3 file directly to your terminal for quick verification of voice quality and latency.
Adjust the voice and input fields to match your IVR menu structure. The response is binary audio data, which you can save to a file for integration into your call flow.
Basic Request
Run this command to generate audio. Replace YOUR_API_KEY with your key from /get-api-key/. The endpoint expects a POST request with a JSON body containing the text and voice parameters.
- Endpoint:
https://api.playru55.cc/v1/audio/speech - Method:
POST - Content-Type:
application/json
JSON Body
The request payload defines the synthesis parameters. Set model to tts-1 or tts-1-hd. Both models use the same engine and price. The input field accepts up to 4096 characters.
model: "tts-1" or "tts-1-hd"voice: e.g., "atlas" (neutral, news style)input: "Welcome to support. Press 1 for sales."response_format: "mp3", "wav", "opus", "flac", or "pcm"
Audio Output
The API returns the raw audio bytes. Use > output.mp3 to save the file locally. For IVR systems, pipe this output directly into your telephony platform’s audio source.
- Save to file:
curl ... > audio.mp3 - Format matches
response_formatparameter - No intermediate storage required
OpenAI SDK Integration
CleoVox is compatible with the official OpenAI SDKs because we use the exact same request shape. You don't need a custom library; just adjust the base URL to point to our API. This allows you to keep your existing code structure while swapping in our higher-quality voices for your IVR system.
This approach minimizes integration time for startups. You simply update the endpoint configuration in your client setup and use the standard speech generation method. The only difference is the base URL and the authentication header using your CleoVox key.
Base URL Change
Change your SDK's base_url to https://api.playru55.cc/v1. This directs all requests to our TTS engine while keeping the standard OpenAI request format intact.
- Base URL:
https://api.playru55.cc/v1
SDK Compatibility
The API accepts the same JSON body as the OpenAI speech endpoint. Fields like model, input, voice, response_format, and speed work identically. You can use tts-1 or tts-1-hd with the same parameters.
Client Setup
Initialize the client with your API key and the new base URL. Ensure you pass the key as a Bearer token in the Authorization header. The SDK handles the rest, sending your text and receiving the audio file directly.
- Use standard OpenAI Python or Node.js SDKs
- Set
base_urltohttps://api.playru55.cc/v1 - Include
Authorization: Bearer your-api-key

Error Handling
Handling errors is straightforward because the API returns standard HTTP status codes and clear JSON messages. Failed synthesis requests are free, so you never pay for wasted characters or network timeouts. Simply check the response body for the error message to understand if the issue was invalid input, an unknown voice, or a temporary server issue.
If synthesis fails, the charge is returned in full.
Common Errors
The API returns a 400 Bad Request for invalid JSON or missing fields, and a 401 Unauthorized if your Bearer token is incorrect or expired. A 404 indicates an unknown model or voice ID. Always parse the JSON error field to log the specific cause, such as 'input too long' (exceeding 4096 characters) or 'voice not found'.
A 503 Service Unavailable may indicate the queue is temporarily full. Wait a few seconds and retry, as the request will eventually process or return a refund.
- 400: Invalid request structure or missing parameters.
- 401: Invalid or missing API key.
- 404: Unknown model or voice ID.
- 503: Service temporarily unavailable, queue full.
Rate Limits
You are limited to 60 requests per minute per active API key. Before your first top-up, this limit is stricter at 10 requests per minute. If you exceed this, the API returns a 429 Too Many Requests error. Monitor your usage dashboard to stay within these bounds, especially when generating long IVR menus in bulk.
Note that rate limits apply to the number of API calls, not the character count. A single request for 4000 characters counts as one request, just like a request for 10 characters.
- 60 requests/minute after top-up.
- 10 requests/minute before first top-up.
- 429 status code on limit exceeded.
Retry Logic
Implement exponential backoff for 429 and 503 errors. Since requests are processed sequentially, a brief pause of 1–2 seconds usually resolves queue congestion. For 400 errors, do not retry; check your payload first. For 401 errors, refresh your key or check for typos before retrying.
Because failed requests are refunded, you can safely retry once without worrying about double-charging. Always verify the final audio file integrity before considering the task complete, especially for critical IVR prompts.
- Use exponential backoff for 429/503.
- Check payload for 400 errors before retrying.
- Retry once for 401 after key refresh.
- Failed requests are automatically refunded.
Language and Voice Codes
CleoVox supports 23 languages, allowing any voice to speak any listed language. You can specify the language using standard ISO codes or let the system guess based on the script.
ISO Codes
Use standard language codes like en, ru, de, or fr. If omitted, the API guesses the language from the input text.
- Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish.
Voice Presets
Select from 8 distinct voices, including female (Aria, Nova, Luna, Sage) and male (Felix, Milo, Atlas, Orion) options. Each voice suits different IVR or assistant tones.
Default Language
When language is not set, the API guesses the language. Latin script defaults to English. For non-English Latin text, always set the language parameter to avoid incorrect synthesis.
Rate Limits and Quotas
CleoVox API enforces strict rate limits to ensure stable generation for your IVR or voice assistant. Understanding these constraints helps you design robust integration flows that handle concurrency gracefully without exceeding your allocated quota.
Requests Per Minute
Each API key supports a maximum of 60 requests per minute once your account is active. This limit applies per key, so if you distribute traffic across multiple keys, your total throughput increases proportionally. Keep this in mind when scaling your voice assistant’s concurrent call handling.
Pre-Payment Limits
Before your first top-up, your account operates on a restricted tier of 10 requests per minute. This allows you to test the integration with your free trial credit without overwhelming the queue. Once you top up via USDT (TRC-20), your limit automatically scales to the full 60 requests per minute.
Queue Behavior
Requests are processed sequentially within each key’s bucket. Under load, new requests may wait in a queue before synthesis begins. Short phrases typically take a few seconds, while longer texts process at roughly real-time speed (25 characters per second). Plan your retry logic to accommodate these slight delays.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Users report fewer repeat requests when the voice is easy to understand, lowering the volume of support tickets generated by voice errors.
23 languages
Any voice speaks any of these languages.
