Frequently asked questions
How do I authenticate with the API?
Include an Authorization: Bearer tts-... header with your unique API key in every request. You can generate or view your key on the /get-api-key/ page. Each account holds one active key at a time, ensuring simple authentication without complex OAuth flows.
Can I use the OpenAI SDK?
Yes. The API uses the same request shape as the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base_url to https://api.123chillbet.com/v1 and providing your site-specific key. This allows seamless integration with existing codebases.
What is the base_url for the API?
The API base URL is https://api.123chillbet.com/v1. All requests, including speech synthesis and voice listing, originate from this domain. Ensure your SDK configuration points to this exact URL to avoid connection errors or misrouted requests.
What models are available?
Two models are available: tts-1 and tts-1-hd. Both use the same engine and pricing. You can list available models via GET /v1/models. The choice affects audio quality but not the cost or character limits per request.
How many characters can I send?
Each request supports up to 4096 characters of input text. For longer texts, split them into chunks of this size and join the resulting audio files. Spaces and punctuation count toward this limit. This ensures consistent processing performance.
What audio formats are supported?
Supported formats are mp3, wav, opus, flac, and pcm. Specify the desired format using the response_format field in your JSON body. These options cover most IVR and call center requirements, from lightweight file storage to high-quality archival storage.
What are the rate limits?
You are limited to 60 requests per minute per key. Before your first top-up, this limit is reduced to 10 requests per minute. Exceeding the limit will result in errors until the window resets. Monitor your usage via the dashboard.
How do I handle errors?
Failed requests are free, with charges returned in full. If synthesis fails, check your input parameters like voice or model. The API returns standard HTTP error codes. Implement retry logic with exponential backoff to handle temporary queue delays under load.
Is there a Python SDK?
We do not provide an official Python SDK. However, you can use the standard OpenAI Python SDK by pointing it to our base URL. This allows you to leverage familiar Python libraries and methods for making TTS requests efficiently.
Can I use curl for requests?
Yes, curl works perfectly. Use a POST request to the speech endpoint with JSON body containing model, input, voice, and response_format. Include your Bearer token in the header. The /get-api-key/ page provides a ready-to-use curl example for immediate testing.
How do I get my API key?
Sign up on the /get-api-key/ page using Google or email. Your key is displayed immediately on the dashboard alongside your balance and usage stats. You can issue a new key at any time, which instantly invalidates the previous one.
What happens if I exceed limits?
Requests will be rejected with an error if you exceed 60 requests per minute. Under heavy load, requests may also queue, causing delays. Ensure your application handles these errors gracefully. The limit resets every minute, allowing burst traffic within bounds.
Is the API synchronous or asynchronous?
The API is synchronous. You send a POST request and receive the audio file in the response. Processing happens in real-time, though queues may cause slight delays. There is no webhook or polling mechanism for long-running jobs.
How do I revoke my API key?
Generate a new key on the /get-api-key/ page. The old key stops working immediately upon creation of the new one. This effectively revokes access for any system using the previous key. No manual deactivation step is required.
First request
curl
curl https://api.123chillbet.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.123chillbet.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.123chillbet.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
Send your API key in the Authorization header as a Bearer token for every request. Use the key issued when you sign up via Google or email on the /get-api-key/ page.
Bearer token in header
Include Authorization: Bearer tts-... in your HTTP headers. The key grants access to the POST /v1/audio/speech endpoint and controls your usage limits.
One active key per account
Each account holds only one active key at a time. If you need a new key, issuing it immediately invalidates the previous one, ensuring simple key management for your IVR systems.
Revoke old keys instantly
Revoke access instantly by generating a new key. The old key stops working immediately, providing tight security control without waiting for session timeouts.
Endpoints
Vocalis exposes three core endpoints for IVR integration. The primary speech endpoint accepts text and parameters, returning synthesized audio. The voices and models endpoints provide metadata for configuration without consuming API credits.
POST /v1/audio/speech
Send text up to 4,096 characters and receive an audio file. This endpoint handles synthesis for your call flows. Use the OpenAI-compatible JSON body structure for easy integration.
- Accepts text, voice, format, and speed parameters
- Returns audio data directly in the response
GET /v1/voices
Retrieve available voices, languages, and supported formats. This list helps you configure your IVR prompts correctly. All eight voices support all 23 listed languages.
- Returns voice IDs and metadata
- Lists supported response formats
GET /v1/models
Check available models. Currently, 'tts-1' and 'tts-1-hd' are available. Both use the same engine and pricing tier.
- Lists available model identifiers

Request Body
The request body defines how your text is converted into audio. You specify the model, the text content, and the voice preset to ensure the output matches your IVR or call center requirements.
Each field is mandatory except for optional parameters like speed and language. The API expects a JSON payload sent to the speech endpoint.
Model: tts-1 or tts-1-hd
Select tts-1 or tts-1-hd. Both models use the same engine and pricing, so choose based on your quality preference without affecting cost.
The model field determines the synthesis engine but does not change the character-based billing rate of $0.01 per 1,000 characters.
Input: text up to 4096 chars
Provide your text in the input field. The API accepts up to 4,096 characters per request. Spaces and punctuation count toward this limit.
For longer scripts, split the text into chunks of 4,096 characters and join the resulting audio files. Short phrases may take a few seconds to generate.
- Maximum length: 4,096 characters per request
- Spaces and punctuation count as characters
- Split and join manually for longer texts
Voice: one of 8 presets
Choose one of the 8 available voice presets. Each voice has a distinct tone suitable for different IVR contexts, from calm instructions to energetic promos.
Voices are based on licensed recordings and include an inaudible watermark. You can also optionally specify a language ISO code to improve accuracy for non-English text.
- aria, nova, luna, sage (Female)
- felix, milo, atlas, orion (Male)
- Any voice can speak any supported language
- Optional
languagefield for better accuracy
Response Format
The API returns the synthesized audio file directly in the response body, eliminating the need for polling or additional download requests. This design keeps integration simple for IVR systems that expect immediate audio files. Generated audio is not stored on our servers; it is delivered once and discarded, ensuring no unnecessary storage overhead for your call center workflows.
Audio file in response
Unlike some competitors that return a JSON object with a URL, we send the raw audio bytes directly. This reduces latency and simplifies code, allowing you to pipe the output straight into your telephony provider’s audio buffer or save it locally with minimal processing.
MP3, WAV, OPUS, FLAC, PCM
You choose the output format via the response_format parameter. MP3 is optimal for standard VoIP systems, while WAV and FLAC offer lossless quality for archival. Opus and PCM provide flexibility for modern web-based call centers. All formats support the same 8 voice presets and speed settings.
- MP3: Commonly used for VoIP compatibility
- WAV/FLAC: Lossless options for high-fidelity IVR
- Opus/PCM: Ideal for modern web integrations
Standard HTTP status codes
Successful synthesis returns a 200 OK with the audio binary. If the request exceeds the 4096 character limit or uses an invalid voice, you will receive a 400 Bad Request. Authentication errors return 401, and rate limit hits return 429, which you should handle by queuing subsequent requests.
- 200: Audio data returned
- 400: Invalid parameters or text too long
- 401: Unauthorized or invalid API key
- 429: Rate limit exceeded (wait and retry)
Rate Limits
Vocalis enforces a hard cap of 60 requests per minute per API key. This limit applies to all synthesis endpoints and ensures fair resource distribution for indie developers running IVR systems. Exceeding this threshold triggers HTTP 429 errors, requiring your application to implement exponential backoff or retry logic to avoid unnecessary failures during high-volume call routing.
When you first create an account, your rate limit is restricted to 10 requests per minute. This lower tier remains active until you perform your first top-up. Once you add USDT to your balance, the limit automatically increases to the full 60 requests per minute, allowing your call center solutions to scale without manual intervention.
60 requests per minute
The standard rate limit is 60 requests per minute. This allows for roughly one request every second, which is sufficient for most lightweight IVR applications. The limit resets every minute, so burst traffic is handled gracefully as long as the average does not exceed the threshold.
- Limit: 60 requests/minute per key
- Applies to all synthesis endpoints
- Resets on a sliding minute window
10 requests before top-up
New accounts start with a 10 requests per minute limit. This is designed to let you verify the API’s behavior before committing funds. Once you add a minimum of $5 in USDT via the TRON network, the limit instantly upgrades to 60 requests per minute.
- Initial limit: 10 requests/minute
- Unlocks after first top-up
- No waiting period for upgrade
Queue under load
Requests are processed sequentially. If your application sends bursts that exceed the instantaneous processing capacity, requests may enter a queue. This ensures audio generation quality remains consistent, even if generation takes a few seconds per short phrase. Failed requests due to timeouts are not charged.
- Sequential processing
- Queuing during high load
- No charge for failed requests
SDK Integration
Use the official OpenAI SDKs for seamless integration. Since the API endpoint mirrors the standard speech interface, you can leverage familiar libraries without learning a new client structure. This reduces boilerplate code and accelerates development for indie developers building IVR or call center solutions.
Use OpenAI SDK
Import your preferred OpenAI SDK and point it to our infrastructure. The request shape remains identical, ensuring that your existing logic for handling text inputs and audio outputs works out of the box. This compatibility extends to both Python and Node.js environments.
- Compatible with standard OpenAI client libraries
- Identical JSON request body structure
- Supports Python, Node.js, and other SDKs
Change base_url only
Update the base_url configuration to https://api.123chillbet.com/v1 and provide your Bearer token. No other parameters or headers require modification. This single change redirects all synthesis requests to Vocalis, allowing you to test locally or deploy to production with minimal code changes.
No proprietary SDK needed
We do not require a custom client library. By sticking to standard HTTP protocols and the OpenAI-compatible format, you avoid vendor lock-in. This approach ensures long-term flexibility, letting you switch underlying infrastructure or update SDK versions without rewriting your core speech generation logic.
Error Handling
When synthesis fails, the charge is returned in full, ensuring you only pay for successful audio generation. This applies regardless of whether the failure stems from invalid input or temporary service issues, making the API predictable for billing purposes.
Failed requests are free
Any request that does not successfully return an audio file incurs zero cost. This includes cases where the input text exceeds limits or the model is unavailable. You are charged strictly per character processed in valid, completed responses.
Standard error codes
The API returns standard HTTP status codes to indicate success or failure. Common errors include 400 for invalid parameters, 401 for authentication issues, and 429 for rate limit exceeded. Detailed error messages are included in the response body to help debug quickly.
- 400 Bad Request: Invalid model or voice parameter.
- 401 Unauthorized: Invalid or expired API key.
- 429 Too Many Requests: Rate limit exceeded.
Retry on 429
When you receive a 429 status code, you have exceeded the rate limit of 60 requests per minute (or 10 per minute before top-up). Implement exponential backoff in your IVR integration to handle these retries efficiently without overwhelming the queue.

Code Examples
Integrate Vocalis into your IVR pipeline using standard libraries. The API accepts JSON payloads and returns audio files directly, simplifying the workflow for indie developers building lightweight call center solutions.
Python SDK example
Use the OpenAI Python SDK by overriding the base URL. Pass your text and voice preset to generate speech asynchronously. This method handles the JSON serialization and HTTP requests automatically.
Node.js example
Initialize the client with the custom base URL https://api.123chillbet.com/v1. Send a POST request to /audio/speech with your model and input text. The response contains the audio stream or file data.
cURL command line
For quick testing, use cURL to send a POST request. Include your Bearer token in the Authorization header and specify the voice and model in the JSON body. This confirms your key works before full integration.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Our intuitive voice menus empower your creative vision without complex coding hurdles.
23 languages
Any voice speaks any of these languages.
