Frequently asked questions
How do I get an API key?
Sign up on the /get-api-key/ page using Google or an email and password. Accounts are per site. The dashboard displays your active API key, balance, and usage statistics. You can issue a new key at any time, which immediately invalidates the previous one.
What is the base URL?
The API base URL is https://api.jav123casino.com/v1. Use this endpoint for all requests, including POST /v1/audio/speech for synthesis and GET /v1/voices for listing available voices and formats. This URL is required when configuring your HTTP client or SDK.
How do I use the OpenAI SDK?
The API uses the same request shape as the OpenAI speech endpoint. Configure your OpenAI SDK by setting the base_url to https://api.jav123casino.com/v1 and providing your VoxAid API key. This allows you to use official OpenAI SDKs without custom code.
What parameters are required?
You must provide the model ("tts-1" or "tts-1-hd"), input text (up to 4096 characters), and voice preset. The request is sent via POST to /v1/audio/speech. Optional parameters include response_format, speed, and language. Authentication requires an Authorization header with your Bearer key.
How do I change the voice?
Select one of eight presets: aria, nova, luna, sage, felix, milo, atlas, or orion. Each voice has a distinct tone, such as warm, bright, or deep. You can choose any voice for any of the 23 supported languages by setting the voice parameter in your request.
How do I set the speed?
Adjust the speed parameter between 0.25 and 4.0. The default speed is 1.0. Lower values slow down the speech, while higher values increase it. This allows you to optimize audio for assistive devices or reading applications without changing the voice model.
What formats are supported?
Supported output formats are mp3, wav, opus, flac, and pcm. Specify your preferred format using the response_format parameter in the JSON body. If not specified, the API defaults to mp3. All generated files include an inaudible watermark marking them as synthetic speech.
How do I handle long texts?
Split texts into parts of up to 4096 characters per request. Generate audio for each part and join the resulting files. This ensures compliance with the character limit. Failed requests are free, so you can retry without incurring extra costs for errors.
What is the rate limit?
The limit is 60 requests per minute per key. New accounts start with 10 requests per minute until the first top-up. Requests are processed sequentially, so under load, a request may wait in a queue. Monitor your usage via the dashboard.
How do I check for errors?
The API returns standard HTTP status codes. If synthesis fails, the charge is returned in full. Check the response body for error details. Failed requests do not consume your character balance. Ensure your input text is within the 4096-character limit and valid.
Is the API compatible with OpenAI?
Yes, the request shape matches the OpenAI speech endpoint. You can use the official OpenAI SDKs by changing the base_url to https://api.jav123casino.com/v1. The models tts-1 and tts-1-hd use the same engine and price. We are not affiliated with OpenAI.
How do I rotate my API key?
Issue a new key from the dashboard at any time. The old key stops working immediately when the new one is active. This ensures secure access management. You can maintain one active key per account, simplifying integration and security protocols.
What is the response format?
The response contains the generated audio file in the requested format (mp3, wav, opus, flac, or pcm). The audio is returned directly in the response body. Metadata such as time and character count is kept for billing but not included in the audio stream.
How do I test the API?
Use the ready curl example provided on the /get-api-key/ page. Send a POST request with your key and sample text. You receive a free trial of $0.50 (50,000 characters) when signing in with Google. Failed requests are free for testing.
First request
curl
curl https://api.jav123casino.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.jav123casino.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.jav123casino.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 |
Quickstart
VoxAid provides a cloud text-to-speech API designed for assistive devices and elderly care applications. Send text to receive an audio file, enabling clear narration for reading tools without complex infrastructure.
Get API key
Sign up on the /get-api-key/ page using Google or an email and password. Accounts are specific to jav123casino.com. The dashboard displays your API key, balance, and usage statistics immediately.
- Google or email registration
- Single active key per account
- Real-time balance tracking
First request
Send a POST request to the speech endpoint to generate audio files. The API accepts JSON bodies with your text, selected voice, and desired format. Results are returned as downloadable audio files.
cURL example
Use the following command to test the integration. Replace YOUR_API_KEY with your credential from the dashboard. This request generates a short audio clip in MP3 format.
- curl -X POST https://api.jav123casino.com/v1/audio/speech
- Header: Authorization: Bearer YOUR_API_KEY
- Body: {"model": "tts-1", "input": "Hello world", "voice": "nova", "response_format": "mp3"}
Authentication
Authentication for the VoxAid TTS API relies on a single active Bearer token per account. This key is issued during sign-up on /get-api-key/ and must be included in the HTTP header as Authorization: Bearer tts-... for every request.
Bearer token
Include your key in the Authorization header of each POST request to https://api.jav123casino.com/v1. The token authenticates your account and tracks usage against your balance.
Key management
Each account maintains exactly one active API key. You can view your current key, balance, and character usage directly on the /get-api-key/ dashboard.
Key rotation
You may issue a new key at any time via your account page. When a new key is generated, the previous key stops working immediately, ensuring secure access for your assistive devices.
Endpoints
The API exposes three primary endpoints for interaction. The speech endpoint handles synthesis, while the voices and models endpoints provide metadata for configuration.
Speech endpoint
Send a POST request to /v1/audio/speech with your text payload. The service returns an audio file directly in the response body, suitable for immediate playback or storage in assistive reading applications.
- Endpoint:
POST https://api.jav123casino.com/v1/audio/speech - Supports up to 4096 characters per request
Voices endpoint
Query GET /v1/voices to retrieve available voices, supported languages, and audio formats. This allows your device to dynamically list options for elderly users without hardcoding voice names.
- Returns 8 presets and 23 languages
- Includes format and pricing details
Models endpoint
Access GET /v1/models to confirm available engine versions. This endpoint helps verify that your integration is pointing to the correct infrastructure version for consistent speech quality.
- Lists
tts-1andtts-1-hd - Confirms engine status
Parameters
Define how your assistive device or reading application sends text to the speech engine. The API accepts plain text strings with strict length constraints and flexible language handling.
Input text
The input field accepts a single string of up to 4096 characters. Spaces and punctuation count toward this limit. For longer narratives, split your text into chunks, generate audio for each, and join the files.
Voice selection
Select one of eight presets using the voice parameter. Female voices include aria (warm narrator) and luna (soft storytelling), while male options include atlas (neutral news) and orion (deep documentary). Each voice supports all 23 languages.
- Use
languageto force detection for non-English Latin text, as the API defaults to English.
Speed control
Adjust the speed parameter between 0.25 and 4.0 to match the user's hearing preferences. Slower rates aid comprehension for elderly users, while faster speeds reduce latency for quick updates. Default is 1.0.
Response Formats
Choose the audio format that best fits your assistive device’s playback engine or storage constraints. Each format offers specific trade-offs between file size, quality, and compatibility for elderly care applications.
MP3 support
MP3 is the default format, offering a good balance between quality and file size. It is widely supported by most media players, making it suitable for reading applications.
WAV support
WAV provides uncompressed, high-fidelity audio suitable for professional playback or immediate processing. Use this format when maximum audio quality is required, such as in high-end assistive listening devices, though files will be larger than MP3.
Other formats
OPUS, FLAC, and PCM are also available. OPUS offers excellent compression for low-bandwidth environments. FLAC provides lossless compression for archival quality. PCM delivers raw, uncompressed data for direct hardware integration without decoding overhead.

OpenAI SDK
Integrating our TTS API with existing infrastructure is straightforward because we mirror the OpenAI speech endpoint structure. By simply updating the base URL in your configuration, you can leverage the official OpenAI SDKs without rewriting your HTTP client logic.
Base URL change
Point your SDK client to https://api.jav123casino.com/v1 instead of the default OpenAI endpoint. This single configuration change directs all requests to our infrastructure while maintaining the same request and response shapes.
SDK compatibility
The official OpenAI SDKs work directly with our API. You only need to swap the base URL and provide your tts-... Bearer token. No custom libraries or wrappers are required for standard text-to-speech operations.
Code example
Initialize the client with your API key and the adjusted base URL. Then call the speech method with your desired model, voice, and input text. The SDK handles the JSON serialization and returns the audio file directly.
Rate Limits
VoxAid processes synthesis requests sequentially, meaning your audio generation depends on queue availability during peak usage. Understanding these limits helps you design reliable workflows for assistive devices and reading applications without unexpected delays.
Plan your text splitting strategy carefully. Since long texts require multiple requests to stay within character limits, processing may take longer than real-time speed suggests during high-load periods.
60 requests/min
Each API key supports up to 60 requests per minute. This limit applies to all speech generation calls and ensures fair usage across the network. If you exceed this threshold, subsequent requests will queue until capacity frees up.
Initial limit
New accounts without a top-up start with a lower limit of 10 requests per minute. This allows you to test the API quality before committing to larger volumes. The limit increases automatically once you add credit.
Limit increase
To raise your rate limit, simply top up your balance using USDT on the TRON network (TRC-20). Minimum top-ups start at $5. Credits are credited automatically within minutes, and your request limit adjusts accordingly.
Errors
Synthesis errors are typically transient, often caused by temporary network issues or server-side load during peak usage. Since requests are processed sequentially, a failed synthesis does not incur charges, and the cost is returned to your balance automatically.
Common errors
The most frequent issue is hitting the rate limit of 60 requests per minute. If you exceed this, the API returns an error until the window resets. Ensure your integration handles retries with exponential backoff rather than immediate re-spamming.
Status codes
Standard HTTP codes apply. A 200 OK indicates successful audio generation. A 429 Too Many Requests signals you have exceeded the per-minute limit. A 500 Internal Server Error suggests a temporary backend issue, which is rare but possible under heavy load.
Troubleshooting
If a request fails, check your input text length (max 4096 characters) and voice ID validity. Verify your Bearer token is active. For persistent issues, contact support via email, as we do not offer live chat or phone support for immediate resolution.
- Ensure text is under 4096 characters
- Verify Bearer token validity
- Check network connectivity
- Review rate limit headers
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. We are building accessible technology that empowers seniors to live independently and confidently with modern assistive devices.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- curl documentation
- Node.js documentation
- openai-python on GitHub
- openai-node on GitHub
- OpenAI API reference: create speech
- LibriTTS-R corpus (OpenSLR 141)
- LibriTTS-R paper (arXiv 2305.18802)
- Creative Commons Attribution 4.0
- MDN: Web Speech API
- W3C WAI: making audio and video accessible
- IETF RFC 7845: Ogg Opus
