Frequently asked questions
What is the base URL?
The base URL is https://api.123gk.cc/v1. You send POST requests to https://api.123gk.cc/v1/audio/speech for synthesis. Other endpoints like /v1/voices are also available at this base URL. Ensure your requests target this specific domain for the ElderRead API to process your text-to-speech conversions correctly.
How do I authenticate?
Include your API key in the request header as Authorization: Bearer tts-... . You get one active key per account. If you issue a new key, the old one stops immediately. This ensures secure access to the synthesis endpoint without requiring complex OAuth flows or multiple tokens.
What models are available?
Two models are available: tts-1 and tts-1-hd. Both use the same engine and have identical pricing. You can choose either model depending on your quality needs, as the underlying synthesis process remains consistent between them. The choice does not affect the endpoint or request structure.
Can I use the OpenAI SDK?
Yes, the official OpenAI SDKs work by changing the base_url to https://api.123gk.cc/v1. Use your site's key for authentication. This allows you to leverage familiar SDK methods while accessing ElderRead’s specific voices and pricing structure without rewriting your integration logic from scratch.
What audio formats are supported?
Supported formats are mp3, wav, opus, flac, and pcm. Specify your preferred format in the response_format field. These options cover common use cases for elderly users, from lightweight web playback to high-quality archival storage, ensuring compatibility with various assistive devices and accessibility tools.
How do I handle errors?
If synthesis fails, the charge is returned in full. Failed requests do not deduct from your balance. You should check the response status code and handle retries if necessary. This ensures you only pay for successful audio generation, protecting your budget during integration testing.
What are the rate limits?
The limit is 60 requests per minute per key. Before your first top-up, the limit is 10 requests per minute. Requests are processed sequentially, so under load, a request may wait in a queue. Monitor your usage to avoid throttling during high-volume synthesis tasks.
How do I split long texts?
Split text into parts of up to 4096 characters per request. Join the resulting audio files after synthesis. This approach ensures each request stays within the character limit while allowing you to generate longer content. The API does not handle splitting automatically, so manage this in your code.
Can I adjust the speed?
Yes, you can set the speed between 0.25 and 4.0. This is useful for elderly users who may need slower speech for better comprehension. Adjusting the speed allows you to tailor the output to specific accessibility needs without requiring separate voice models or additional processing steps.
Is SSML supported?
No, SSML is not supported. The API accepts plain text input only. You cannot use SSML tags for pronunciation or pauses. If you need specific control, you must manage pacing and breaks manually in your text input before sending it to the synthesis endpoint.
How do I get a list of voices?
Send a GET request to /v1/voices. This endpoint returns available voices, languages, formats, and price information. Use this to dynamically select voices like aria or atlas based on your application’s needs, ensuring you have the latest details on supported features and pricing structures.
What happens on timeout?
If synthesis fails, the charge is returned in full. If synthesis fails, the charge is returned in full. Ensure your client handles HTTP errors appropriately. Since requests are processed sequentially, long texts may take time, so set reasonable timeouts in your integration.
Can I use custom voices?
No, custom voice cloning is not offered. You can only use the 8 preset voices provided. These include options like aria, nova, and atlas. If you need a specific voice, you must choose from the available presets. There is no option to upload or design custom voices.
Is there a Python SDK?
There is no official Python SDK from ElderRead. However, you can use the official OpenAI Python SDK by setting the base_url to https://api.123gk.cc/v1. This allows you to use familiar Python code for integration. Plain HTTP requests are also fully supported for any language.
First request
curl
curl https://api.123gk.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.123gk.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.123gk.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 |
Quickstart: Get your API key
The 123gk API is designed for indie developers building accessible voice features for elderly users and assistive devices. Getting started is straightforward: you need an API key to authenticate your requests and start generating speech.
This guide helps you set up your account and make your first API call without unnecessary complexity. Follow the steps below to get your key and start integrating voice into your application.
Sign up on /get-api-key/
Navigate to the /get-api-key/ page on 123gk.cc to create your account. This is where you will manage your key, view your balance, and see your usage statistics.
Use Google or email login
You can sign up using your Google account or by creating a standard email and password account. Both methods create an independent account for this specific storefront.
- Google Sign-In: Quick and convenient for immediate access.
- Email & Password: Standard registration for those who prefer traditional methods.
Copy your Bearer token
Once registered, your unique Bearer token is displayed on the dashboard. This token is all you need to authenticate your API requests. Keep it secure, as it provides access to your account and billing.
- Token format: Bearer tts-...
Make your first request
Send a POST request to the speech endpoint with your JSON payload. You need to include your API key in the Authorization header and specify the model, voice, and input text.
Use curl example
You can test the API immediately using curl. Replace YOUR_API_KEY with your token from the dashboard. This command sends a short greeting and returns the audio file.
- curl -X POST https://api.123gk.cc/v1/audio/speech
- -H "Authorization: Bearer YOUR_API_KEY"
- -H "Content-Type: application/json"
- -d '{"model": "tts-1", "input": "Hello, this is a test.", "voice": "sage"}'
Send POST to /v1/audio/speech
The endpoint accepts standard JSON bodies. Ensure your text does not exceed 4096 characters. You can adjust the speed between 0.25 and 4.0 to suit your accessibility needs.
Receive audio file response
The response contains the binary audio data directly. You can save this output to a file or stream it to your player. No additional parsing is required.
OpenAI SDK integration
Leverage the official OpenAI SDKs by simply pointing them to our infrastructure. This allows you to use your existing codebase with minimal changes, treating our API as a drop-in replacement for standard speech synthesis endpoints.
Change base_url to api.123gk.cc
Configure your SDK client to use https://api.123gk.cc/v1 as the base URL. This directs all requests to our TTS endpoint while maintaining compatibility with standard OpenAI client libraries.
Use tts-1 or tts-1-hd model
Select either tts-1 or tts-1-hd in your request body. Both models use the same underlying engine and pricing, so you can switch between them without changing your integration logic.
Same request shape as OpenAI
Pass your model, input, voice, and response_format exactly as you would for OpenAI. The request structure remains identical, ensuring a smooth transition for developers already familiar with the standard schema.
Supported audio formats
The API returns audio in MP3, WAV, Opus, FLAC, or PCM formats. Choose the one that best fits your app’s storage and bandwidth needs. All formats are generated on demand with no extra cost.
Each format suits different use cases. MP3 and Opus are efficient for mobile apps. WAV and FLAC preserve quality for assistive devices. PCM is useful for raw audio processing.
MP3, WAV, Opus, FLAC, PCM
These five formats cover most needs. Pick based on your device’s requirements. No format is better for all cases; each has trade-offs in size and compatibility.
- MP3: small size, wide support
- WAV: lossless, high quality
- Opus: efficient, good for low bandwidth
- FLAC: lossless compression
- PCM: raw, uncompressed data
Choose format in request body
Set response_format in the JSON request. The API respects your choice and returns the audio in that format. No extra parameters are needed.
- Include
response_formatin the request body - Values: mp3, wav, opus, flac, pcm
- No format conversion is done server-side
No streaming or WebSocket
The API does not support streaming audio. You receive the full file after synthesis completes. This is consistent with the standard request-response model.
Rate limits and quotas
ElderRead uses a simple per-key rate limit to keep synthesis fair and responsive. Each API key is allowed 60 requests per minute, which is plenty for most indie projects. If you need more capacity, you can always top up your balance to maintain steady throughput.
60 requests per minute
Every active key can make up to 60 POST requests to /v1/audio/speech within any one-minute window. This limit applies per key, so if you rotate keys, each gets its own quota. You can check your current usage and remaining limits directly on the dashboard at /get-api-key/.
- Limit is 60 requests per minute per key.
- Applies to all synthesis endpoints.
- Check your real-time usage on the dashboard.
10 requests before first top-up
When you first sign up, your new key starts with a lower quota of 10 requests per minute. This helps prevent accidental bursts from draining your $0.50 free trial credit. Once you add funds via USDT (TRC-20), the limit automatically increases to the standard 60 requests per minute.
- New keys start at 10 requests/minute.
- Limit increases after first top-up.
- Top-ups are credited automatically within minutes.
Queue processing under load
Requests are processed sequentially during high traffic. If you send many requests quickly, they may wait in a queue before synthesis begins. For most indie apps, this adds only a few seconds of delay. If you need faster turnaround, consider spacing out your requests or using a single key with moderate concurrency.
- Requests are queued under load.
- Delay is usually a few seconds.
- Consider spacing requests for smoother performance.

Error handling
Handling API errors ensures your voice features remain reliable for elderly users who might rely on these audio cues. Understanding specific HTTP status codes helps you implement appropriate fallbacks or retry logic without interrupting the user experience.
401 for invalid key
A 401 Unauthorized response indicates your Bearer token is missing, expired, or incorrect. Verify your key in the dashboard at /get-api-key/ and ensure the Authorization header is formatted correctly.
- Check for typos in the
tts-...key. - Ensure the header is
Authorization: Bearer <key>.
429 for rate limit
Receive a 429 Too Many Requests error if you exceed 60 requests per minute. New accounts start with a limit of 10 requests per minute. Implement exponential backoff to retry after the limit resets.
- Limit: 60 req/min after top-up.
- Limit: 10 req/min for new accounts.
500 for server errors
A 500 Internal Server Error suggests a temporary issue on our end. Request metadata is logged for billing, but failed synthesis charges are refunded. Retry the request after a short delay.
Text length limits
Each API request accepts a maximum of 4,096 characters, including spaces and punctuation. This limit ensures consistent processing speed and prevents timeout errors during synthesis.
For longer documents, split the text into chunks that fit within this character count. You can use simple string slicing or a text-splitting library in your preferred language to split the text.
Max 4096 characters per request
The input field in your JSON body must not exceed 4,096 characters. If you send more, the API will reject the request. This limit applies to the raw text string, so account for all spaces, punctuation, and special characters in your input.
Split longer texts manually
Divide your source text into segments, each under 4,096 characters. Preserve sentence boundaries where possible to avoid awkward pauses in the audio. You can use standard string manipulation tools in Python, JavaScript, or other languages to handle this splitting logic.
Join audio files client-side
After receiving individual audio files for each chunk, concatenate them in your client application. Use a library or a simple binary joiner to merge the audio files into a single continuous track. This ensures a smooth listening experience for the end user.
Voices and languages
ElderRead provides eight distinct voice presets tailored for clarity and calm, such as Luna for storytelling or Atlas for news. These voices are built from licensed recordings and are suitable for assistive devices and elderly user interfaces.
The API supports 23 languages, allowing any voice to speak in any supported language. You can retrieve the full list of available voices and their details by calling the GET /v1/voices endpoint.
List voices with GET /v1/voices
Call GET /v1/voices to see all available presets, including Aria, Nova, Sage, Felix, Milo, Orion, Luna, and Atlas. The response includes details on each voice’s character and supported languages.
This endpoint helps you programmatically select the best voice for your specific accessibility use case without hardcoding values.
- Returns voice ID, name, and description
- Shows supported languages per voice
- Includes supported languages and formats
Set language code for non-English
If your text is in Latin script but not English, explicitly set the language parameter (e.g., de for German) to ensure accurate pronunciation. The API guesses the language if the parameter is omitted.
This prevents mispronunciation of names or terms in languages like Dutch or Scandinavian languages that share the Latin alphabet.
- Use ISO 639-1 codes (e.g.,
fr,es,ja) - Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Default language is English
If the language field is not provided, the API defaults to English for Latin-script text. For non-English Latin text, always specify the language code to avoid incorrect accents or word stress.
This ensures consistent output for developers building multi-language assistive tools without manual language detection logic.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Our voices are based on licensed recordings, offering consistent, predictable quality that aids comprehension rather than just entertainment.
23 languages
Any voice speaks any of these languages.
