Frequently asked questions
What is the base URL for the API?
The API base URL is https://api.kt999.info/v1. You configure your client library or HTTP requests to use this endpoint. All API calls, including speech synthesis and voice listing, are directed to this base URL. Ensure your requests target the correct domain to avoid connectivity issues.
How do I authenticate requests?
Include your API key in the Authorization header. Use the format: Authorization: Bearer tts-.... You can find your active key on the /get-api-key/ dashboard page. Each account has one active key at a time. If you generate a new key, the old one stops immediately.
What is the maximum text length?
Each request supports up to 4096 characters of input text. Spaces and punctuation count toward this limit. For longer texts, split the content into chunks of 4096 characters or less. Generate audio for each chunk and join the resulting files to create the complete audio output.
Can I adjust the speech speed?
Yes, you can adjust the speed using the speed parameter. The allowed range is 0.25 to 4.0. The default speed is 1.0. Setting a higher value increases the speech rate, while a lower value slows it down. This helps tailor the audio for elderly users or assistive devices.
How do I get a list of voices?
Send a GET request to /v1/voices. This endpoint returns available voices, supported languages, and formats. You can also view this information on the /get-api-key/ dashboard. There are eight voice presets available, including female and male options, all capable of speaking any supported language.
What is the difference between tts-1 and tts-1-hd?
Both tts-1 and tts-1-hd use the same engine and have the same price. They produce audio with identical characteristics. They produce audio with identical characteristics and cost $10 per 1 million characters. Choose either based on your preference or SDK requirements.
Is the OpenAI SDK compatible?
Yes, the official OpenAI SDKs work by changing the base_url to https://api.kt999.info/v1. Use your API key as the authentication token. The request shape matches the OpenAI speech endpoint. This allows you to use existing code with minimal changes to integrate our TTS service.
How do I handle rate limits?
The limit is 60 requests per minute per key. Before your first top-up, the limit is 10 requests per minute. Monitor your usage on the dashboard. If you exceed the limit, requests may queue or fail. Implement retry logic with exponential backoff to handle temporary rate limit errors.
What happens if I exceed the limit?
Requests are processed sequentially, so exceeding the limit may cause queuing delays. Under load, requests may wait in a queue. Failed requests are free, so you will not be charged for audio that is not generated.
Can I stream audio?
No, streaming is not supported. The API returns the complete audio file in the response after synthesis is finished. You cannot receive partial audio chunks in real-time. For real-time needs, you must implement client-side buffering or use a different solution. This is a batch processing API.
Is SSML supported?
No, SSML is not supported. You send plain text in the input field. There is no support for phoneme dictionaries or custom pronunciation lexicons. The system guesses the language from the script if not specified. For non-English Latin text, explicitly set the language parameter for accurate synthesis.
How do I split long texts?
Split your text into parts of up to 4096 characters. Send each part as a separate POST request to the speech endpoint. Collect the returned audio files and join them sequentially. This ensures each chunk is processed within the character limit and maintains audio continuity across the full text.
What formats are available?
You can request audio in mp3, wav, opus, flac, or pcm formats. Specify the desired format using the response_format parameter in your request. MP3 is suitable for web playback, while WAV and FLAC offer lossless quality. PCM is raw audio data. Choose based on your device requirements.
How do I renew my API key?
Go to the /get-api-key/ dashboard page and issue a new key. The new key becomes active immediately, and the old one stops working at once. You can generate a new key anytime. Your balance and usage history remain associated with your account, regardless of key rotation.
First request
curl
curl https://api.kt999.info/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.kt999.info/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.kt999.info/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 |
Get Your API Key
Create an account on https://kt999.info/get-api-key/ using Google or email. Once registered, access your dashboard to retrieve your unique API key. This key authenticates your requests to the TTS engine.
Sign up on the site
Visit the /get-api-key/ page to register. Accounts are specific to this site. Google sign-in provides immediate access with trial credit; email accounts start without credit.
Locate key in dashboard
Your dashboard displays the active API key, current balance, and usage statistics. Copy the key starting with 'tts-...' and include it in the Authorization header of your requests.
- Key format: Bearer tts-...
- One active key per account
- View character usage instantly
Revoke and regenerate keys
Issue a new key at any time via the dashboard. The previous key stops working immediately upon regeneration, ensuring secure access control for your assistive device projects.
First Request (cURL)
Send a POST request to generate speech. The API returns an audio file directly in the response body. This method requires no library dependencies, making it ideal for quick testing or simple no-code workflows.
Use the cURL command below to verify your key and endpoint connectivity. Ensure you replace YOUR_API_KEY with your actual credential from the dashboard.
Basic speech generation
Send your text payload to the speech endpoint. The system processes the input and returns the synthesized audio file immediately. For short phrases, generation takes a few seconds; longer texts are processed sequentially.
Include voice parameter
Specify the voice using the voice field. Choose from eight presets like nova for upbeat narration or atlas for neutral news reading. If omitted, the system guesses the language based on the script, defaulting to English for Latin text.
- aria: warm, clear narrator
- nova: bright, upbeat
- luna: soft, storytelling
- sage: calm, instructional
- felix: energetic, promo
- milo: friendly, conversational
Set response format
Select the audio format using the response_format field. Supported options include mp3, wav, opus, flac, and pcm. MP3 is recommended for general compatibility, while WAV or FLAC suits high-fidelity assistive devices.
- mp3
- wav
- opus
- flac
- pcm
OpenAI SDK Integration
To integrate our API using the official OpenAI SDKs, you only need to update the base_url configuration. Point it to https://api.kt999.info/v1 and use your site-specific API key. This allows you to leverage familiar SDK methods while connecting to our specific TTS endpoints.
Change base_url
Modify the SDK client initialization to direct requests to our infrastructure. Set the base URL to https://api.kt999.info/v1. This ensures all standard speech generation calls route correctly to our processing engine without requiring custom HTTP client code.
Use official SDKs
Utilize the standard OpenAI Python or Node.js libraries. Since our request shape mirrors the OpenAI speech endpoint, existing integration patterns remain valid. You can continue using standard libraries without installing proprietary wrappers, simplifying maintenance for no-code or low-code workflows.
Authentication setup
Pass your API key via the Authorization: Bearer header. Ensure you use the key issued from your kt999.info dashboard. The SDK handles header injection automatically when configured with your token, maintaining secure access to the speech generation service.
- Keys are managed via the /get-api-key/ dashboard
- One active key per account; regenerate to invalidate old keys
Request Parameters
Configure the generation parameters to match your assistive device's audio requirements. Adjusting speed and format ensures the output is clear and compatible with your no-code workflow.
Model selection (tts-1, tts-1-hd)
Both models use the same engine and price. Select 'tts-1' or 'tts-1-hd'; both use the same engine and price. Both are suitable for elderly care applications where clarity is prioritized over nuance.
Input text limit
Each request accepts up to 4096 characters of text. Spaces and punctuation count toward this limit. For longer texts, split the input into chunks, generate audio for each, and join the files.
- Limit: 4096 characters per request
- Includes spaces and punctuation
Speed adjustment
Set the speed between 0.25 and 4.0. Slower speeds improve comprehension for elderly users, while faster speeds reduce latency for quick notifications. The default speed is 1.0.
- Range: 0.25 to 4.0
- Default: 1.0
Response Formats
Choose the audio format that best fits your assistive device or elderly care application. The API supports multiple formats to balance quality, file size, and compatibility with your specific no-code infrastructure.
MP3 support
MP3 is the default and most widely supported format. It offers a good balance between file size and audio quality, making it ideal for standard playback devices and web-based applications.
WAV support
WAV provides uncompressed, high-fidelity audio. Use this format when maximum clarity is required for hearing aids or when your device does not support compressed audio decoding.
OPUS and FLAC options
OPUS provides high-quality compression with small file sizes, suitable for bandwidth-constrained environments. FLAC offers lossless compression, preserving the original audio quality while reducing storage needs compared to WAV.

Rate Limits
Requests are processed sequentially, meaning throughput depends on queue depth. You can send up to 60 requests per minute with an active key, but new accounts start with a 10 requests/minute limit until the first top-up.
60 requests per minute
Each API key allows 60 requests per minute. This limit applies per key, so using multiple keys increases total throughput. Requests are processed one after another, so under load, a request may wait in a queue before synthesis begins.
- Limit is 60 requests/minute per active key.
- Requests are processed one after another.
- Under load, requests may wait in a queue.
10 requests before top-up
New accounts begin with a reduced limit of 10 requests per minute. This applies until the first top-up is completed. Once credited, the limit increases to 60 requests per minute.
- New accounts: 10 requests/minute.
- Limit increases to 60 after first top-up.
- Top-up via USDT (TRC-20) credits automatically.
Queue handling
Requests are processed in the order received. If you exceed the rate limit, subsequent requests wait in a queue. Short phrases take a few seconds to generate; longer texts take longer. Plan your requests accordingly to avoid delays.
- Requests are queued if the limit is exceeded.
- Processing order is FIFO.
- Short phrases: few seconds; Long texts: real-time speed.
Error Handling
Synthesis failures are rare but possible due to network issues or invalid parameters. The API returns standard HTTP status codes to indicate the specific cause of the error, allowing your no-code workflow to handle the response appropriately.
Common error codes
The API uses standard HTTP status codes. A 4xx error indicates an issue with your request, such as an invalid API key or exceeded character limits. A 5xx error suggests a temporary server-side issue.
- 401 Unauthorized: Invalid or expired API key.
- 400 Bad Request: Invalid parameters or malformed JSON.
- 429 Too Many Requests: Rate limit exceeded.
- 500 Internal Server Error: Temporary service disruption.
Retry logic
For transient 5xx errors, implement exponential backoff with jitter. Retrying immediately often fails; waiting 1-2 seconds before the first retry is sufficient. Since requests are processed sequentially, excessive concurrent retries may increase queue wait times.
Failed request refunds
If synthesis fails, the charge is returned in full. You do not need to request a refund manually. The balance is updated automatically, ensuring you only pay for successfully generated audio.
Voice Selection
Select from eight preset voices optimized for clarity in assistive devices. Each voice is designed for specific use cases, from calm instructional guidance to energetic updates.
List available voices
Female voices: aria (warm narrator), nova (upbeat), luna (storytelling), sage (instructional). Male voices: felix (promo), milo (conversational), atlas (news), orion (documentary).
Voice characteristics
Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0). Every generated file includes an inaudible watermark identifying it as synthetic speech.
Each voice offers distinct tonal qualities suitable for different elderly care contexts, ensuring clear audio feedback without complex configuration.
Language compatibility
All eight voices support all 23 languages, including English, Spanish, German, French, Chinese, Japanese, and Arabic.
Set the optional language parameter for non-English Latin text to ensure accurate pronunciation, as the API defaults to English for Latin scripts.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. His tone is upbeat, making him suitable for time-sensitive notifications where attention must be grabbed immediately.
23 languages
Any voice speaks any of these languages.
