Frequently asked questions
Which 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. These cover the primary needs for language learning courses without requiring complex infrastructure.
Can one voice speak all languages?
Yes, every voice can speak any of the 23 supported languages. You can use a single voice preset like Aria or Felix across multiple languages, ensuring consistent audio branding for your educational content without needing to manage multiple voice profiles.
How is language detected?
If you do not specify a language, the API guesses it from the script. For example, Latin script defaults to English, while Cyrillic or Han characters trigger the appropriate language model automatically, simplifying your integration logic.
What if I don't set the language?
The system attempts to detect the language from the text script. However, for non-English Latin-script text, you should explicitly set the language parameter to ensure accurate pronunciation, as the default fallback is English.
Does Latin script default to English?
Yes, if the language field is omitted and the text uses Latin script, the API defaults to English. This is crucial for language learning startups to avoid mispronouncing non-English Latin-based words without explicit configuration.
Are there any unsupported languages?
Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, and others are not supported. Only the 23 listed languages are available. Ensure your course content aligns with this list to avoid generation failures or unexpected language outputs.
Can I mix languages in one request?
The API processes one language per request based on the detected or specified language. For mixed-language text, split the input into separate requests for each language, then join the resulting audio files in your application.
How do I specify a language code?
Include the optional ISO language code in your JSON request body. This ensures the correct voice model is used, especially for Latin script text that isn't English, guaranteeing accurate pronunciation for your specific language learning materials.
What happens if the language is unknown?
If the script cannot be identified, the API may default to English or produce inaccurate audio. Explicitly setting the language code prevents this, ensuring consistent quality for your educational audio assets regardless of input complexity.
Are accents supported?
Voices are based on licensed recordings and do not offer specific accent customization. Each voice has a distinct tone, but you cannot request a specific regional accent like American or British English; the voice remains consistent.
Can I change speed per language?
Yes, the speed parameter (0.25–4.0) applies to the entire request regardless of language. You can adjust the speed for each language segment by sending separate requests, allowing you to optimize audio for different learning levels.
Do voices sound native in all languages?
Every voice can speak any of the 23 supported languages. Test samples to ensure they meet your course standards.
How do I handle mixed scripts?
Split mixed-script text into separate requests for each script type. The API detects language from the script, so separating Latin, Cyrillic, and Han text ensures accurate language detection and proper audio generation for each segment.
Is there a limit on languages per account?
There is no limit on the number of languages you can use per account. You can generate audio in all 23 supported languages using your single API key, paying only for the characters you consume.
Can I request new languages?
The current list of 23 languages is fixed. Check the /v1/voices endpoint for the most up-to-date list of available languages and voices.
How do I test language support?
Send a short text sample in your target language to the /v1/audio/speech endpoint. Check the audio output for accuracy. You can also check the /v1/voices endpoint to confirm the language is listed as supported.
Language Support Overview
EchoLingo supports 23 languages for language learning courses, 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 broad coverage ensures your educational content reaches a global audience with clear, natural-sounding audio.
Our voices are not tied to specific languages; every voice preset can speak any of the 23 supported languages. This flexibility allows you to maintain consistent audio quality across diverse linguistic content, making it easier to produce scalable multilingual courses using simple Python code.
23 Supported Languages
The API supports a wide range of languages essential for language learning startups. You can generate audio in Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish.
Each language is handled with high quality, ensuring that your learners hear clear, natural-sounding speech. This supports diverse course content without needing separate voice models for each language.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Voice Flexibility
Every voice preset can speak any of the 23 supported languages. This means you can use Aria for narration in French or Felix for promos in Spanish without changing your voice model.
This flexibility simplifies your workflow. You can maintain a consistent audio style across different languages, which is crucial for brand identity in educational products.
- Aria (warm, clear narrator)
- Nova (bright, upbeat)
- Luna (soft, storytelling)
- Sage (calm, instructional)
- Felix (energetic, promo)
- Milo (friendly, conversational)
ISO Language Codes
You can specify the language using an optional ISO code in the request. If not set, the API guesses the language from the script.
For non-English Latin-script text, we recommend setting the language explicitly to ensure accurate pronunciation. This avoids defaulting to English for texts like Spanish or German.
- Optional ISO code parameter
- Default to English for Latin script
- Explicit setting recommended for non-English Latin text
Language Detection Logic
The API determines the spoken language automatically based on the input text’s script. For Latin-script text, it defaults to English if no language is specified. This works perfectly for English content but may misinterpret other Latin-based languages.
You can override this behavior by explicitly passing the ISO language code in the request body. This ensures accurate pronunciation for non-English languages like German, French, or Spanish, even when using standard Latin characters.
Automatic Detection
The system analyzes the Unicode script of your input text to guess the language. If the text contains Arabic script, it assumes Arabic. If it uses Cyrillic, it assumes Russian. This zero-config approach works well for single-language content.
- Analyzes Unicode script for language guessing
- Works instantly without extra parameters
- Ideal for monolingual content
Latin Script Default
When the input uses Latin characters and no language field is provided, the API defaults to English. This means German, Dutch, or Portuguese text might be read with an English accent unless you specify otherwise.
- Latin text defaults to English voice
- Requires explicit
languagecode for other Latin languages - Prevents mispronunciation of non-English Latin text
Explicit Language Setting
Always set the language parameter for non-English Latin text to ensure correct phonetics. For example, use "language": "de" for German or "language": "es" for Spanish. This overrides the default English behavior and delivers natural-sounding results.
- Pass ISO code via
languagefield - Overrides automatic detection
- Ensures accurate pronunciation for all 23 supported languages
Python Code Example
To generate multilingual audio, specify the language parameter with an ISO 639-1 code. This ensures correct pronunciation for non-English Latin script text, as the API defaults to English for Latin characters. Without this setting, the system guesses the language, which may lead to inaccurate accents.
Setting Language Parameter
Include the language field in your JSON payload. Supported codes include 'zh' for Chinese, 'ja' for Japanese, and 'es' for Spanish. This explicit instruction overrides automatic detection, ensuring consistent output for diverse language courses.
- Use ISO 639-1 codes like 'fr' for French or 'de' for German.
- Omitting the field defaults to English for Latin-script inputs.
- Specify 'ar' for Arabic or 'hi' for Hindi to trigger correct phonetic rules.
Voice Selection
Select a voice preset that complements the language's rhythm. For example, 'luna' works well for soft storytelling in Italian, while 'atlas' provides a neutral tone for news-style content in Spanish. Each voice supports all 23 languages, allowing flexible tone adjustments across your curriculum.
- Use 'nova' for bright, upbeat English or German content.
- Try 'milo' for conversational Spanish or Portuguese lessons.
- Apply 'orion' for deep, documentary-style narration in Russian.
Response Handling
The API returns the audio file directly in the response body. Parse the binary data to save the file or stream it to your learning platform. The response includes metadata confirming the model used and the character count, which you can log for billing accuracy.
Common Language Issues
Multilingual language learning content often presents unique formatting challenges. Texts may mix scripts or use Latin characters for non-English languages, requiring precise configuration to ensure accurate synthesis. Understanding these edge cases prevents unexpected audio output during course generation.
Mixed Script Text
The API guesses the language from the script. If your text contains mixed Latin and non-Latin characters (e.g., English terms in a Spanish lesson), the language parameter should be explicitly set to avoid incorrect detection.
Non-English Latin Text
Latin script defaults to English. For languages like Dutch, Swedish, or Turkish using Latin characters, you must provide the language ISO code. Without this, the engine may pronounce words with an English accent, reducing clarity for learners.
Unsupported Languages
Languages such as Vietnamese, Thai, or Ukrainian are not supported. Attempting to synthesize text in these languages will likely result in English pronunciation or errors. Always verify the list of 23 supported languages before integrating content.
Voice Suitability
Choosing the right voice ensures your language learning materials sound professional and engaging. Each preset offers a distinct tone, allowing you to match the audio to the specific educational context.
Aria for Narration
Aria delivers a warm, clear narrator style ideal for storytelling and course introductions.
- Warm, clear narrator
Felix for Promos
Felix provides an energetic, promo-ready voice perfect for advertising new language courses or highlighting key learning milestones. His upbeat tone keeps students motivated.
- Energetic, promo style
Atlas for News
Atlas offers a neutral, news-like delivery suitable for reading comprehension exercises or factual content. His consistent tone provides a reliable baseline for language practice.
- Neutral, news style
Formatting for Different Languages
For language learning courses, accurate character counting ensures precise billing and predictable audio length. Every character, including spaces and punctuation, counts toward your 4,096-character limit per request. This precision helps you structure lessons efficiently without unexpected charges or truncated audio files.
Character Counting
Spaces and punctuation count as characters. This means a simple greeting like "Hello, world!" uses 13 characters of your quota. Understanding this helps you manage your $0.01 per 1,000 characters budget effectively for long course materials.
Speed Adjustments
Adjust the speed between 0.25 and 4.0 to match learning needs. Slower speeds aid comprehension for beginners, while faster rates suit review sessions. This flexibility allows you to create varied audio assets from the same text without re-recording.
Audio Output
Choose formats like MP3 for web delivery or WAV for high-quality editing. MP3 offers smaller file sizes for faster loading in apps, while FLAC provides lossless quality for archival course materials. PCM is ideal for raw audio processing pipelines.
Testing Multilingual Content
Testing multilingual content requires verifying how the API handles varying text lengths across different languages. Short phrases are ideal for quick validation of voice quality and language detection, while full sentences ensure proper prosody and pacing. Long paragraphs test the 4096-character limit and audio joining logic for extended educational material.
This approach helps startups identify potential issues with character counting, speed adjustments, and audio format compatibility. By testing across different languages, you can ensure consistent quality in your language learning courses and avoid unexpected delays or errors during generation.
Short Phrases
Short phrases are perfect for initial testing. They allow you to quickly validate voice selection, language detection, and audio quality. Use this method to ensure the API correctly handles simple text inputs and produces clear, natural-sounding audio.
For example, test common greetings or simple instructions in multiple languages. This helps you verify that the language detection logic works as expected and that the selected voice sounds appropriate for the content.
- Ideal for quick validation of voice quality
- Tests language detection logic
- Ensures clear, natural-sounding audio
Full Sentences
Full sentences provide a more comprehensive test of the API's capabilities. They allow you to evaluate prosody, pacing, and the overall flow of the generated audio. This is crucial for ensuring that the audio sounds natural and engaging for learners.
Test sentences with varying complexity, including those with punctuation and special characters. This helps you identify any issues with pronunciation or intonation that might arise in more complex text inputs.
- Evaluates prosody and pacing
- Tests punctuation handling
- Ensures natural-sounding audio
Long Paragraphs
Long paragraphs test the API's ability to handle extended text inputs. The API supports up to 4096 characters per request, so ensure your text fits within this limit. If your content exceeds this, split it into smaller parts and join the audio files.
This method helps you verify the audio joining logic and ensure that the transition between parts is seamless. It also allows you to test the impact of longer texts on generation speed and queue times.
- Tests 4096-character limit
- Verifies audio joining logic
- Checks generation speed and queue times
Performance Considerations
For language learning applications, generation speed directly impacts user experience. Short phrases typically take a few seconds to synthesize, while longer texts process at roughly real-time speed, approximately 25 characters of text per second. This predictable cadence allows you to estimate wait times for your students accurately.
Generation Speed
The engine processes text sequentially, meaning request volume affects latency. Short inputs may finish quickly, but complex requests or high concurrency can introduce slight delays. Keep this in mind when designing interactive exercises.
- Short phrases: few seconds
- Long texts: ~25 chars/sec
- Sequential processing model
Queue Impact
Requests are processed one after another. Under load, a request may wait in a queue before synthesis begins. This ensures fair resource allocation but can increase total time if many parallel requests are sent simultaneously.
- Requests processed sequentially
- Queuing occurs under load
- Monitor rate limits (60 req/min)
Resource Usage
Each request consumes character credits based on input length. Failed requests are free, but successful ones count toward your limit. Efficient text splitting and error handling help maintain consistent performance without wasting credits.
- Credits consumed per character
- Failed requests are free
- Split text into 4096-char parts
Best Practices
Using explicit language codes prevents incorrect pronunciation for non-English Latin text, ensuring your language learning materials sound natural. While the API guesses language from script, explicit settings guarantee accuracy for similar languages like Spanish vs. Portuguese.
Matching voices to content type improves engagement. Use Aria for narration or Felix for promos, ensuring the tone aligns with your educational goals without requiring complex configuration.
Explicit Language Codes
Always specify the language parameter for Latin-script texts that aren't English. This prevents the default English guess from causing awkward pronunciation in languages like Dutch or German.
This is crucial for multilingual courses where mixed scripts might confuse the auto-detector.
- Set
languagefor all non-English Latin text. - Use ISO codes like 'de', 'fr', or 'ja'.
- Avoid relying on script detection for similar languages.
Voice Matching
Choose voices based on content style: Aria for clear narration, Felix for energetic promos, or Atlas for neutral news-style content.
This alignment ensures consistent brand voice across your language learning modules.
- Aria: Warm, clear narrator.
- Felix: Energetic, promo.
- Atlas: Neutral, news.
Error Checking
Check response status codes to handle failed synthesis, which are free. Verify voice availability via the /v1/voices endpoint before generating large batches.
Ensure input text does not exceed 4096 characters to avoid truncation issues.
- Verify voice existence via API.
- Check character count limits.
- Handle failed requests gracefully.
Troubleshooting
If your audio sounds wrong, the API likely guessed the language incorrectly or you missed an explicit code. This happens often with mixed scripts or non-English Latin text. Always set the language parameter to avoid default English fallback.
Check your input text for unsupported scripts like Vietnamese or Thai. If the API rejects the request, verify the ISO code. For unsupported languages, the synthesis will fail, but you won’t be charged.
Wrong Language Output
Ensure you explicitly pass the language field (e.g., "fr") even if the text is clearly French. The API defaults to English for Latin script if unspecified.
Verify your input text doesn’t mix scripts without clear language cues. For instance, mixed Hindi-English text might default incorrectly without an explicit "hi" or "en" flag.
- Set
languagefor all non-English Latin text - Check for mixed-script inputs
- Verify ISO codes match your target language
Unsupported Script
The API supports 23 specific languages. All voices support all 23 languages, so any voice can speak Arabic or Russian. All voices support all 23 languages, so script support is universal within the list.
Text in unsupported languages like Vietnamese or Thai will return an error. Ensure your input text uses one of the supported scripts and languages.
- List includes 23 languages
- Vietnamese, Thai, Indonesian are not supported
- All voices support all 23 languages
API Errors
If you receive a 400 error, check your JSON body. Ensure model is tts-1 or tts-1-hd, voice is one of the 8 presets, and input is under 4096 characters.
Rate limits are 60 requests per minute. If you exceed this, you’ll get a 429 error. Split long texts into chunks and handle retries with exponential backoff.
- Check JSON structure
- Verify character limit (4096)
- Handle 429 rate limit errors
Future Updates
We are actively evaluating additional languages based on community demand and usage patterns. While we currently support 23 languages, we prioritize adding high-demand languages that align with our focus on scalable education products. New languages will be added as we ensure voice quality meets our standards.
Our detection logic continues to improve, particularly for mixed-script texts and less common Latin-script variations. We aim to reduce the need for explicit language codes by making automatic detection more robust, ensuring accurate pronunciation without requiring developers to manage every edge case manually.
New Languages
We are monitoring usage data to identify gaps in our current 23-language support. Future additions will focus on languages that enable broader reach for language learning startups, ensuring our API remains a versatile tool for global education content.
- Prioritizing high-demand languages based on usage trends
- Ensuring voice quality matches existing standards before launch
Improved Detection
Our automatic language detection is being refined to handle mixed scripts and ambiguous Latin text more accurately. This reduces the need for explicit language parameter settings, streamlining the API usage for developers who want to generate audio with minimal configuration.
Enhanced Voices
These updates will be rolled out to all users automatically, with no extra cost.
- Automatic updates to all existing voices
Community Support
Our support is direct and efficient. We rely on email for all inquiries, ensuring you get thoughtful, detailed answers without the noise of live chat queues. There is no phone number to call or complex ticketing system to navigate—just clear communication for your startup’s needs.
We don’t offer 24/7 live agents because we believe in sustainable, focused support. Our team reviews every email thoroughly, providing specific technical guidance tailored to your multilingual TTS implementation challenges.
Email Support
Reach us anytime at [email protected] for technical questions, billing issues, or voice selection advice. We prioritize clear, actionable responses over generic templates.
Since we don’t have live chat, your query gets full attention. Expect detailed explanations about language codes, voice nuances, and API behavior within a reasonable timeframe.
- Direct email access: [email protected]
- No phone number or live chat
- Focused, thoughtful responses
- No complex ticketing systems
Documentation
Our docs at /docs/ are your primary reference for language handling, voice selection, and code integration. They are regularly updated to reflect the 23 supported languages and current API limits.
Every endpoint, parameter, and error code is documented with clear examples, helping you integrate TTS into your language learning platform quickly and correctly.
- Comprehensive API reference
- Language-specific guidelines
- Regularly updated content
- Clear parameter explanations
Code Examples
Start with ready-to-use Python snippets that demonstrate setting language codes, selecting voices, and handling responses. These examples cover common use cases like narrating a lesson or generating a quiz question.
Adjust the speed, format, and voice parameters directly in the code to match your product’s audio style. The examples show exactly how to manage character limits and error handling.
- Python integration examples
- Language parameter setup
- Voice selection patterns
- Error handling code
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. This prevents corrupt audio files from being delivered to students during a lesson.
23 languages
Any voice speaks any of these languages.
