Frequently asked questions
What is text-to-speech for language learning?
It is a cloud API that converts text into audio files. You send a POST request to /v1/audio/speech and receive synthesized speech. This allows your app to read educational content aloud, supporting accessibility and listening practice without requiring human voice actors for every piece of content.
Which voice is best for English learners?
Q: Which voice is suitable for English learners?
A: Aria offers a warm, clear narrator style, while Nova provides a bright, upbeat tone. Both are suitable for clear pronunciation. You can select the voice via the voice parameter in your API request. Choose based on whether you prefer a calm instructional tone or a more energetic delivery style.
How does the API handle accents?
The API uses eight fixed voice presets rather than generating dynamic accents. Each voice has a consistent tone, such as Atlas for neutral news or Felix for energetic promo. Any voice can speak any supported language. You cannot modify accent parameters directly; you select the preset that best matches the desired delivery style for your language content.
Can I adjust speed for slower reading?
Yes, you can adjust the speed between 0.25 and 4.0. This is controlled via the speed parameter in your API request. Setting a lower speed helps language learners process speech more easily. The API processes requests sequentially, so speed adjustments do not affect the queue processing order.
Does the API support multiple languages?
Yes, it supports 23 languages including English, Spanish, German, French, and Japanese. Any voice can speak any supported language. You can optionally set the language field using an ISO code. If omitted, the system guesses the language, defaulting to English for Latin script text.
How do I handle long texts in apps?
The API limits input to 4096 characters per request. Your app should split longer texts into chunks of this size. After receiving the audio files for each chunk, you can join them programmatically. This ensures consistent audio quality and prevents request timeouts during synthesis.
Is the API suitable for children?
The voices are clear and natural, making them suitable for educational content. Voices like Luna offer a soft, storytelling tone, while Nova is bright and upbeat. The synthetic nature is marked by an inaudible watermark. There are no specific child-safety features, so standard content filtering applies.
What languages are supported?
We support 23 languages: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Voices are based on licensed recordings and do not support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, or Bengali.
How accurate is the pronunciation?
Pronunciation is generated by the TTS engine using licensed recordings. The voices are clear and consistent. Accuracy depends on the input text quality. The system guesses language from script if not specified. For non-English Latin text, explicitly setting the language parameter ensures correct pronunciation.
Can I use this for audiobooks?
Yes, you can generate audiobooks by splitting text into 4096-character segments. The voices like Luna (soft storytelling) or Orion (deep documentary) are suitable. Each audio file is returned directly in the response. You must handle joining the segments in your application logic.
What is the cost for heavy usage?
The price is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count. Failed requests are free. You can top up with USDT on TRON. There are no monthly plans or minimum spends. Balance does not expire.
Do I need a developer to use it?
You need a developer to integrate the API. You send JSON POST requests to the endpoint. You can use the official OpenAI SDK by changing the base URL. Alternatively, use plain HTTP. You manage the API key, rate limits, and text splitting logic in your code.
How does it compare to human readers?
Human readers offer nuanced emotion and improvisation. Our API does not support emotion tags. Our API provides consistent, synthetic speech with an inaudible watermark. It is faster for bulk generation and cheaper for scale. However, it lacks the emotional depth and natural pauses of human narration. It is reliable but strictly synthetic.
Is the audio quality high enough?
Audio is generated in formats like mp3, wav, opus, flac, or pcm. The voices are based on licensed recordings from LibriTTS-R. Quality is consistent and clear. It is suitable for educational tools and accessibility. The audio is returned directly in the response and not stored by us.
Why Use TTS for Learning
Text-to-speech technology provides a reliable auditory foundation for language acquisition, ensuring learners hear consistent pronunciation without variation. It enables an immediate feedback loop where students can type or paste text and receive audio; typical speed is roughly real time, though short phrases take a few seconds. This immediacy supports active engagement and rapid iteration during study sessions.
Educational platforms benefit from scalable content generation, allowing creators to convert unlimited lesson materials into speech instantly. By removing manual recording constraints, developers can expand vocabulary sets and reading exercises efficiently. The API’s straightforward integration ensures that audio resources grow alongside the curriculum without increasing production overhead.
Voice Selection for Education
Choosing the right voice is critical for language learners. Clear narration voices provide stable reference pronunciations, while instructional tones guide learners through exercises. Neutral voices ensure the content remains focused on the material rather than the speaker's personality.
Clear narration voices
Aria offers a warm, clear narrator style ideal for reading stories. Luna provides a soft, storytelling tone that helps learners absorb natural phrasing and rhythm without distraction.
Instructional tone voices
Sage delivers a calm, instructional voice perfect for vocabulary drills and grammar explanations. Nova adds a bright, upbeat energy suitable for interactive lessons and quick reviews.
Neutral news voices
Atlas provides a neutral, news-style delivery that presents text objectively. This reduces cognitive load, allowing learners to focus entirely on the language structure and vocabulary being presented.
Multi-Language Support
Our API supports 23 languages, including Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. This range covers major global markets for educational content.
Each voice can speak any of these languages, ensuring consistent audio quality across diverse curricula. You do not need to select different voice models for different languages; the same presets handle all supported scripts.
23 languages available
We support 23 specific languages. Notable exclusions include Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, and Bengali. Verify your target language is in the list before integrating.
The /v1/voices endpoint lists all available voices and their supported languages. Use this to programmatically match content to the correct voice preset.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Voice consistency across languages
All eight voice presets (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion) speak all 23 languages. This allows you to maintain brand consistency across your app’s language modules without managing multiple voice profiles.
The engine treats voice timbre independently of language, so a user hearing Aria in English will recognize the same narrator in French or Japanese.
Language detection accuracy
If you omit the language parameter, the API guesses the language from the script. Latin script defaults to English. For non-English Latin text, always set the language field to ensure correct pronunciation.
For example, sending Spanish text without the language tag may result in an English pronunciation. Explicitly passing language: 'es' guarantees accurate phonetic generation.
Implementation Steps
Integration begins with acquiring a unique API key from your account dashboard. This key authenticates all subsequent requests to the speech endpoint.
Once configured, the workflow is straightforward: authenticate, send text, and receive audio. This linear process fits seamlessly into existing application architectures.
Get API key
Navigate to /get-api-key/ to register via Google or email. Your dashboard displays a single active key starting with 'tts-'. You can regenerate this key at any time; the old one stops immediately.
Use this key in the Authorization header: Authorization: Bearer tts-.... One key serves all requests from your application.
- Key format: tts-...
Send text payload
Construct a POST request to https://api.aq777play.com/v1/audio/speech. The body must be JSON containing model, input, voice, and response_format.
Ensure the input text does not exceed 4096 characters. For longer content, split the text programmatically before sending individual requests.
- Endpoint: POST /v1/audio/speech
- Auth: Bearer token
- Model: tts-1 or tts-1-hd
Play returned audio
The API returns the audio file directly in the response body. Save or play this binary data based on your chosen response_format (mp3, wav, opus, etc.).
For playback in web apps, assign the response directly to an HTML5 audio element source.
- Format: mp3, wav, opus, flac, pcm
Speed Control
Adjustable playback speed is essential for language acquisition, allowing learners to match audio to their comprehension level. The API accepts a speed parameter ranging from 0.25 to 4.0, enabling precise control over syllable duration without altering voice timbre.
This feature supports both deliberate study and rapid review, integrating seamlessly into educational workflows where text length varies.
Slower speeds for learners
Set speed between 0.25 and 0.8 for detailed pronunciation study. Slower rates help learners isolate phonemes and grasp intonation patterns in new languages like Arabic or Japanese.
Reducing speed improves clarity for complex consonant clusters, aiding accurate mimicry without distorting the natural voice quality.
- Ideal range: 0.5–0.8 for beginners
- Preserves natural prosody
- Enhances phoneme isolation
Faster speeds for review
Use speeds above 1.2 for quick content repetition or listening practice. Faster playback mimics natural conversation rates, helping learners adapt to real-world speech tempo.
Efficiently review longer texts or vocabulary lists without waiting for extended audio generation times.
- Ideal range: 1.5–2.0 for intermediate
- Mimics native pace
- Reduces listening fatigue
Adjustable range
The API supports speeds from 0.25 to 4.0, offering granular control. Adjust dynamically based on user proficiency or specific language challenges.
Combine speed adjustments with voice selection to optimize clarity for specific educational goals, such as news reading or storytelling.
- Range: 0.25–4.0
- Dynamic adjustment per user
- Compatible with all voices
Audio Formats
Select the response_format parameter in your API request to define the output audio structure. The API supports MP3, WAV, OPUS, FLAC, and PCM, allowing you to optimize file size and quality based on your application's specific constraints.
MP3 for web players
MP3 is the standard for web-based audio players due to its broad compatibility and efficient compression. It balances file size and quality, making it ideal for on-demand playback in language learning apps where users stream short phrases or sentences.
WAV for high quality
WAV provides uncompressed, lossless audio, preserving the full fidelity of the synthetic voice. This format is suitable for offline educational materials or scenarios where maximum audio clarity is required, such as detailed phonetic analysis or archival storage.
OPUS for efficiency
OPUS offers superior compression for a given bit rate, resulting in smaller file sizes than MP3 or WAV. This reduces bandwidth usage and speeds up loading times, particularly beneficial for mobile applications or users with limited data plans.
Character Limits
The API enforces a strict 4096-character limit per request, where spaces and punctuation count toward the total. This constraint requires careful management of input text to ensure efficient synthesis without exceeding boundaries.
4096 character limit
Each API call processes a single block of text up to 4096 characters. If your content exceeds this threshold, you must split it manually or via client-side logic before sending requests to avoid errors.
Splitting long texts
Divide longer passages into segments that respect the 4096-character limit. Ensure splits occur at natural linguistic boundaries, such as sentence ends, to maintain audio coherence when the parts are reassembled.
Joining audio files
After receiving separate audio files for each segment, concatenate them in your application. This workflow ensures that all synthesized speech is delivered without truncation, preserving the integrity of the learning material.

Cost Efficiency
Billing is strictly per character, including spaces and punctuation, at $0.01 per 1,000 characters. You only pay for successful synthesis; failed requests are refunded in full.
Pay per character used
Each request consumes credits based on the exact character count of your input text. The standard rate is $10 per 1 million characters, ensuring predictable costs for any volume of generated audio.
No monthly fees
There are no recurring subscription costs or minimum monthly commitments. Your balance covers usage until depleted, and unused credits do not expire. This model suits projects with variable traffic patterns.
Low cost for bulk
Generating large educational libraries is economical due to the low per-character rate. Use USDT (TRC-20) for top-ups to add funds.
Accessibility Features
Vocalia’s synthetic voices integrate smoothly with existing accessibility tools. Because the output is standard audio, it works with any screen reader or audio player that supports TTS standards.
This ensures consistent delivery for users relying on assistive technology without requiring custom code changes.
Screen reader support
The generated audio files are standard formats compatible with major screen readers. This allows seamless playback in educational apps without additional plugins.
Users can rely on familiar navigation controls to control audio playback.
- Compatible with standard audio players
Text-to-speech standards
Our API produces clean audio that adheres to common TTS expectations. This ensures predictable behavior across different devices and platforms.
No proprietary formats mean broader compatibility for accessible content.
Inclusive design
Clear, neutral voices like Atlas or Sage support diverse learning needs. The consistent tone aids comprehension for users with cognitive differences.
Support for 23 languages ensures inclusive access for non-native speakers.
Data Privacy
Vocalia prioritizes data integrity for educational platforms. Input text is processed solely to generate the audio output and is never used for model training. This ensures that your curriculum content remains proprietary and distinct from the training data of other users.
No data training
Your input text is used exclusively for synthesis. It is not ingested into the training dataset, preserving the uniqueness of your educational materials and language exercises.
Secure transmission
All API requests utilize standard secure protocols to transmit text and receive audio files. This ensures that learner data and proprietary content remain protected during transit.
Minimal storage
Generated audio is returned in the response and not stored on our servers. We retain only request metadata—time, character count, and status—strictly for billing accuracy.
- Audio is not stored after delivery.
- Only billing metadata is kept.
Troubleshooting
Common issues in language learning apps usually involve input formatting or network limits. Addressing these ensures a smooth experience for students and developers alike.
Language detection issues
The API guesses the language from the script if not specified. Latin script defaults to English, which causes errors for other Latin-based languages like French or Spanish.
- Always set the
languagefield for non-English Latin texts. - Use ISO codes for precise control.
- Check that input text contains no mixed scripts.
Audio playback errors
Errors often stem from unsupported formats or corrupted responses. Ensure your player supports the selected response_format (mp3, wav, opus, flac, pcm). Failed requests return no audio but are free.
- Verify format compatibility before playback.
- Handle empty responses gracefully.
- Check network connectivity for large files.
Rate limit handling
The API allows 60 requests per minute per key (10 per minute before the first top-up). Exceeding this triggers a 429 error. New accounts start with a 10 requests/minute limit until the first top-up.
- Implement exponential backoff for retries.
- Monitor usage via the dashboard.
- Upgrade limits with a top-up.
Best Practices
Using clean input text ensures accurate pronunciation and prevents artifacts in the generated audio. Remove unnecessary markup or special characters that the TTS engine might misinterpret. This is especially important for language learning apps where clarity is paramount.
Handling errors gracefully maintains a smooth user experience. If a request fails, the charge is refunded, so you can retry or alert the user without financial penalty. Always check the response status before attempting to play the audio file.
Cache frequent responses to reduce API calls and improve app responsiveness. Since the same text often triggers the same audio, storing the resulting file locally minimizes latency and preserves your character balance for unique content.
Clean input text
Pre-process your input to remove HTML tags or excessive whitespace. This ensures the engine interprets the text exactly as intended, which is critical for consistent pronunciation in educational materials.
Ensure the input stays within the 4096 character limit. If your lesson text exceeds this, split it into logical segments before sending separate requests.
- Remove HTML tags and special symbols.
- Trim trailing whitespace and newlines.
- Validate character count before sending.
Handle errors gracefully
Implement retry logic for transient failures. Since requests are processed sequentially, short queues may cause delays, but the system will eventually respond.
Monitor the response code to distinguish between rate limits (429) and other errors. A 429 error indicates you have exceeded the 60 requests per minute limit, so implement a backoff strategy.
Remember that failed requests are free. This allows for safe retries without worrying about character consumption for unsuccessful attempts.
- Retry on transient errors.
- Implement exponential backoff for rate limits.
- Verify response status codes.
Cache frequent responses
Store generated audio files locally or on a CDN to avoid redundant API calls. This is efficient for common phrases or vocabulary words used repeatedly in your app.
Use the language and voice parameters as cache keys. Since any voice can speak any language, ensure your cache accounts for these variations to prevent serving incorrect audio.
This approach reduces latency for users and conserves your character balance for unique, new content.
- Cache by text, voice, and language.
- Use local storage or a CDN.
- Update cache when text changes.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Mastering a new language unlocks global opportunities and deepens cultural connections for modern content creators.
23 languages
Any voice speaks any of these languages.
