Frequently asked questions
What is the endpoint URL?
Use POST https://api.l899.info/v1/audio/speech to generate audio. This endpoint accepts a JSON body containing your text, voice selection, and format preferences. It mirrors the standard OpenAI speech endpoint structure, making integration straightforward for existing workflows without requiring custom client logic.
How do I handle rate limits?
Your API key allows 60 requests per minute once funded, or 10 per minute before your first top-up. Requests are processed sequentially, so under load, you may experience queuing delays. Monitor your usage via the dashboard to avoid hitting these limits during peak generation periods.
Can I use the OpenAI Python SDK?
Yes, the official OpenAI SDKs work perfectly. Simply change the base_url to https://api.l899.info/v1 and provide your Hearwise API key. This allows you to use familiar code structures for generating audio without learning a new library or writing custom HTTP request logic.
What is the character limit per request?
Each request supports up to 4096 characters of input text. For longer content, split your text into chunks of this size and join the resulting audio files. Spaces and punctuation count toward this limit, so plan your segmentation accordingly to ensure smooth audio continuity.
Do I need to install additional libraries?
No additional libraries are required if you use standard HTTP requests. If you prefer the OpenAI Python SDK, you can install it via pip. The API is designed to work with plain HTTP clients, so you can integrate it using any language with HTTP capabilities.
How do I pass the API key?
Include your API key in the Authorization header as a Bearer token: Authorization: Bearer tts-... . You can generate or rotate this key at any time from your account dashboard. Ensure the key is sent with every request to authenticate your usage correctly.
What happens if I exceed the rate limit?
If you exceed the limit, requests will likely fail or queue depending on the specific limit tier. New keys start with 10 requests per minute until the first top-up, after which the limit increases to 60 requests per minute. Monitor your dashboard for real-time status.
Can I generate multiple formats at once?
No, each request generates a single audio file in one format. You can choose from mp3, wav, opus, flac, or pcm by setting the response_format field. To get multiple formats, you must send separate requests for each desired format using the same input text.
Is the API synchronous?
Yes, the API is synchronous. You send a request and wait for the audio file to be returned in the response. For long texts, generation takes roughly real-time speed (about 25 characters per second), so ensure your client handles the response timeout appropriately.
How do I revoke my API key?
Issue a new API key from your account dashboard. The old key stops working immediately when the new one is created. This ensures that any compromised or unused keys are instantly invalidated without needing to wait for a manual deactivation process or email confirmation.
What is the default voice?
You must select one of the eight presets for every request. Options include aria, nova, luna, sage, felix, milo, atlas, or orion. Each voice offers a distinct tone, from warm narrators to deep documentary styles.
Do I need to specify a model?
You can specify tts-1 or tts-1-hd, but both use the same engine and price. The model field is included for compatibility with OpenAI SDKs. Both models use the same engine and price.
Can I use custom speeds?
Yes, you can adjust the speed between 0.25 and 4.0. This allows you to slow down instructional content or speed up promotional material. The speed parameter accepts decimal values, giving you precise control over the pacing of the generated speech to match your content needs.
How do I detect errors?
The API returns standard HTTP status codes to indicate success or failure. Failed requests are free, and any charges are returned in full. Check the response body for error details if the status code indicates an issue, such as invalid input or authentication failures.
What payment methods are accepted?
We accept USDT on the TRON network (TRC-20) for top-ups only. There are no credit cards, PayPal, or invoices. Minimum top-up is $5, and credits are added automatically within minutes. Balance does not expire, and there are no monthly plans or subscription fees to manage.
How long is the free trial valid?
The free trial provides $0.50 of credit, valid for 7 days when you sign in with Google. Accounts created with email and password start without this trial credit. This allows you to test the API with about 50,000 characters before committing to a top-up.
Are failed requests charged?
No, failed requests are free. If synthesis fails, the charge is returned in full. You only pay for successful audio generations. This ensures you are not billed for errors caused by invalid inputs or temporary processing issues, keeping your costs predictable and fair.
Can I clone my own voice?
No, custom voice cloning is not offered. You can only choose from the eight preset voices based on licensed recordings. These voices are derived from LibriTTS-R and LibriVox public-domain audiobook readings, providing consistent quality without the need for uploading your own voice samples for training.
Is there an SLA guarantee?
No, there is no Service Level Agreement or uptime guarantee. We do not offer enterprise contracts or on-premise installations. Support is provided via email only. You should plan for potential queueing delays during high load periods.
Do you support SSML?
No, the API does not support SSML. It accepts plain text input with optional speed and language parameters. There are no phoneme dictionaries or custom pronunciation lexicons. For precise control, adjust the speed parameter or split text into separate requests to manage pacing manually.
First request
curl
curl https://api.l899.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.l899.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.l899.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
Start by creating an account on the /get-api-key/ page using Google or an email password. This grants access to the dashboard where your credentials live.
Sign up on the dashboard
Accounts are specific to this site. Once registered, you gain immediate access to your unique API key and current balance details.
Copy your Bearer token
Locate your key on the dashboard. Use it in the Authorization header as a Bearer token for all API calls.
Revoke and replace keys anytime
You can issue a new key at any time. The previous key stops working immediately, ensuring secure access management for your team.
- One active key per account
- Old key stops at once
- No complex revocation process
First Request with cURL
Start by sending a POST request to the /v1/audio/speech endpoint. This simple call converts your text into clear audio, ideal for e-learning modules. You only need to provide the text and select a voice preset.
Include the model parameter (choose tts-1 or tts-1-hd) and specify the voice from our 8 presets. The API returns the audio file directly in the response body, ready for immediate use in your training materials.
Send POST request to /v1/audio/speech
Direct your POST request to https://api.l899.info/v1/audio/speech. This endpoint accepts JSON bodies with your text input and configuration settings, ensuring a straightforward integration for your HR tech stack.
- Endpoint:
POST https://api.l899.info/v1/audio/speech - Method: HTTP POST
- Content-Type: application/json
Include model and voice parameters
Specify the model as either tts-1 or tts-1-hd for consistent engine performance. Choose one of the eight voice presets, such as sage for instructional content or nova for upbeat training segments. Set the input field with your text (up to 4096 characters).
Optionally adjust the speed between 0.25 and 4.0 to match the pacing of your course. If your text is in a specific language, provide the ISO code to ensure accurate synthesis.
model: 'tts-1' or 'tts-1-hd'voice: e.g., 'sage', 'nova'input: your text stringspeed: 0.25–4.0
Receive audio file in response
Upon successful processing, the API returns the audio file directly in the response body. The file format matches your response_format setting (mp3, wav, opus, flac, or pcm). You can immediately save this file to your LMS or audio library.
Use OpenAI SDK
Leverage the official OpenAI SDKs by simply adjusting the base URL. Point your client to https://api.l899.info/v1 and use the same tts-1 or tts-1-hd models. This allows your existing code to work with zero logic changes.
Change base_url to our API
Update your configuration to use https://api.l899.info/v1 as the base URL. This ensures all requests route to our infrastructure while maintaining standard compatibility.
Use official OpenAI libraries
Import the standard OpenAI Python or Node.js libraries. Initialize the client with your specific base URL and standard request shapes. No custom wrappers are required.
Pass your API key as Bearer
Include your unique key in the Authorization header as Bearer <your-key>. The SDK handles the header injection automatically when configured correctly.
- Key format:
tts-... - Header:
Authorization: Bearer <key>
Supported Audio Formats
Choose the audio format that best fits your e-learning distribution pipeline. Our API supports five standard formats (mp3, wav, opus, flac, pcm), ensuring compatibility across all major learning management systems and media players without requiring additional conversion steps.
MP3 for web compatibility
MP3 is the default choice for most web-based training modules. It offers excellent compression with minimal quality loss, making it ideal for embedding directly into HTML5 players or delivering via standard HTTP links.
- Default format for most use cases
- Universal support in all modern browsers
- Optimal balance of size and quality
WAV for high quality
Select WAV when you need uncompressed, lossless audio for professional voiceovers or archival purposes. This format preserves the full fidelity of the synthesized voice, ensuring no data loss during processing or playback.
- Lossless, uncompressed audio
- Ideal for professional editing
- Larger file size than MP3
OPUS and FLAC for compression
Use OPUS for efficient compression or low-bandwidth environments, or FLAC if you need lossless compression. These formats provide flexibility for different technical requirements while maintaining clear speech intelligibility for your learners.
- OPUS: efficient streaming, small size
- FLAC: lossless compression, smaller than WAV
- Choose based on your bandwidth needs
Voice Parameters
Choose the voice that best fits your training module. Our eight presets range from warm narrators to energetic promo speakers, ensuring your e-learning content sounds professional and engaging. Each voice is distinct, allowing you to maintain a consistent tone across different courses or switch styles to keep learners interested.
You can fine-tune the delivery by adjusting the speed between 0.25x and 4.0x. This flexibility lets you slow down complex instructions for clarity or speed up repetitive content. Additionally, you can specify an optional ISO language code to ensure correct pronunciation, especially when using Latin-script text that isn’t English.
Select from 8 preset voices
Pick from four female and four male voices, including Aria for clear narration or Felix for energetic promos. These voices are based on licensed recordings and provide clear audio without the need for custom cloning.
Each voice is designed for specific tones, from calm instructional guides to deep documentary styles, giving you precise control over the listener’s experience.
- Aria: Warm, clear narrator
- Nova: Bright, upbeat
- Luna: Soft, storytelling
- Sage: Calm, instructional
- Felix: Energetic, promo
- Milo: Friendly, conversational
- Atlas: Neutral, news
- Orion: Deep, documentary
Adjust speed from 0.25x to 4.0x
Control the playback rate to match your content’s complexity. Slower speeds aid comprehension for technical topics, while faster rates help with review sessions.
The API handles the synthesis, allowing you to adjust the speed between 0.25 and 4.0.
- Minimum speed: 0.25x
- Maximum speed: 4.0x
- Default speed: 1.0x
Optional language ISO code
While the API guesses language from the script, providing an ISO code ensures accuracy for non-English Latin text. This prevents mispronunciations in mixed-language corporate training materials.
Supported languages include Arabic, Chinese, French, German, Japanese, Spanish, and more, covering most global HR needs.
- Arabic
- Chinese
- Danish
- Dutch
- English
- French
- German
- Greek
- Hebrew
- Hindi
- Italian
- Japanese
- Korean
- Malay
- Norwegian
- Polish
- Portuguese
- Russian
- Spanish
- Swahili
- Swedish
- Turkish
Rate Limits and Errors
Your API key allows up to 60 requests per minute. New accounts start with a lower limit of 10 requests per minute until the first top-up is processed.
Requests are processed sequentially. Under heavy load, your request may wait in a queue before synthesis begins.
60 requests per minute per key
You can send 60 requests every 60 seconds. This limit applies per API key, so having a single key restricts your throughput to this maximum.
Queue during high load
When the service is busy, requests are processed one after another. Your synthesis job may wait in a queue before it starts generating audio.
429 status on limit hit
If you exceed the 60 requests per minute limit, the API returns a 429 status code. Simply wait and retry your request after the window resets.

Handling Long Texts
Long-form e-learning modules often exceed the 4,000-character limit per request. You must split your script into smaller parts before sending them to the API.
Split text into 4096 char chunks
Divide your source text into segments of up to 4,096 characters. Spaces and punctuation count toward this limit. Ensure each chunk is a complete sentence or logical paragraph to maintain audio continuity.
- Count characters including spaces and punctuation
- Keep segments under 4,096 characters
- Ensure logical breaks for natural pauses
Generate audio for each part
Send each chunk as a separate POST request to the speech endpoint. The API processes requests sequentially, so longer texts may queue during high load. Each request returns a distinct audio file.
- Use the same voice and speed settings for all chunks
- Ensure consistent
languageparameters across requests - Handle 429 errors if you hit the 60 requests/minute limit
Join files sequentially
Combine the returned audio files in the order of your original text. Since requests are processed one after another, the resulting audio will play continuously without gaps if joined correctly.
- Maintain the original sequence of chunks
- Use standard audio libraries to merge files
- Verify audio quality after joining
Authentication Details
Hearwise uses standard Bearer token authentication to secure your API requests. Include your unique key in the header to identify your account and track usage against your balance.
Header: Authorization: Bearer <key>
Include your key in every request using the Authorization header. The format is simple: Authorization: Bearer YOUR_API_KEY. This ensures only authorized requests consume your character credits.
One active key per account
Each account holds a single active API key. This simplifies management for HR and L&D teams, as you do not need to track multiple tokens for different projects or users.
Old key stops immediately on new issue
If you generate a new key from the dashboard, the previous one becomes invalid instantly. There is no overlap period, so ensure your integration is updated to use the new token before rotating.
Pricing and Payment
Our pricing is straightforward: $10 per 1 million characters, which equals $0.01 per 1,000 characters. Spaces and punctuation count toward this total. Failed requests are free, with the charge returned in full. There are no monthly plans, seats, or minimum spends, and your balance never expires.
You can start with a $0.50 free trial (about 50,000 characters) valid for 7 days when signing in with Google. Accounts created with email and password start without this credit. Top-ups via USDT on the TRON network (TRC-20) are credited automatically within minutes after transfer, with a $5 minimum.
$10 per 1 million characters
The cost is $10 per 1 million characters, or $0.01 per 1,000 characters. Every character, including spaces and punctuation, counts toward this limit. If synthesis fails, the charge is returned in full, so you only pay for successful audio generation.
There are no monthly subscriptions, and no minimum spend requirements. Your account balance does not expire, allowing you to top up only when needed for your HR or L&D projects.
- $10 per 1 million characters
- $0.01 per 1,000 characters
- Spaces and punctuation count
- Failed requests are free
Free trial with Google sign-in
New users signing in with Google receive $0.50 of credit, equivalent to approximately 50,000 characters. This trial is valid for 7 days, giving you time to test the API with your e-learning content without immediate payment.
If you prefer to create an account using an email address and password, you start without trial credit. You can top up later using cryptocurrency without needing to link a traditional payment method.
- $0.50 credit for Google sign-ins
- Valid for 7 days
- Approx. 50,000 characters
- Email sign-ups start with zero credit
Top-up via USDT (TRC-20)
Top-ups are processed exclusively via USDT on the TRON network (TRC-20). There is a $5 minimum transfer amount. Once the transfer is confirmed, your balance is credited automatically within minutes.
We do not accept credit cards, PayPal, or traditional invoices, so there is no VAT to manage. This method keeps administration simple for teams that prefer crypto-based payments for their software tools.
- USDT on TRON network (TRC-20) only
- $5 minimum top-up
- Automatic credit within minutes
- No cards, PayPal, or VAT invoices
Voices and Languages
Hearwise offers eight distinct voice presets tailored for corporate training, ranging from the warm clarity of Aria to the deep, documentary style of Orion. Each voice is based on licensed recordings, ensuring natural delivery for e-learning content without complex integrations.
Our API supports 23 languages, allowing any voice to speak any supported language. This flexibility ensures consistent audio quality across your global HR and L&D initiatives, whether for English tutorials or Spanish onboarding modules.
8 distinct voice presets
Choose from female voices like Aria (warm narrator) and Nova (upbeat), or male options like Felix (energetic) and Atlas (neutral). These presets are optimized for clear instruction and engaging storytelling.
Select the voice that best matches your brand’s tone, from conversational Milo to instructional Sage, ensuring your training materials remain consistent and professional.
- Aria: Warm, clear narrator
- Nova: Bright, upbeat
- Luna: Soft, storytelling
- Sage: Calm, instructional
- Felix: Energetic, promo
- Milo: Friendly, conversational
- Atlas: Neutral, news
- Orion: Deep, documentary
23 supported languages
Support includes Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any voice can speak any of these languages.
If the language parameter is omitted, the system guesses from the script, defaulting to English for Latin text. Set the language explicitly for non-English Latin scripts to ensure accuracy.
Inaudible synthetic watermark
Every generated audio file carries an inaudible watermark that marks it as synthetic speech. This helps identify AI-generated content within your training library without affecting the listener experience.
Input text is used only to produce the audio and is not used for training.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. For HR and L&D teams already using Google Cloud Platform, this integration feels natural.
23 languages
Any voice speaks any of these languages.
