Text-to-Speech API for Language Learning Apps

By EchoLingo editorial team · Updated 2026-11-19

EchoLingo is a cloud text-to-speech API built for language learning startups that need reliable, multilingual audio without complex infrastructure. By leveraging simple Python code and the official OpenAI SDK (with a custom base_url), you can generate clear, natural-sounding voiceovers for courses, exercises, and interactive content. This page walks you through the technical specifics, voice options, and pricing models designed to scale with your growing student base.

We provide 8 distinct voices and support for 23 languages, including major European, Asian, and emerging market tongues. Whether you are building a beginner app or a professional course, you get transparent pricing, strict data privacy, and straightforward integration. Explore the code examples below to see how easily you can add high-quality audio to your educational product.

Text-to-Speech API for Language Learning Apps

Frequently asked questions

Is the text to speech python code easy to implement?

Yes, the API uses the same request shape as the OpenAI speech endpoint. You can use the official OpenAI SDKs by simply changing the base_url to https://api.288q.info/v1 and providing your API key. This allows you to generate audio files with standard Python libraries, making integration into your language learning startup’s workflow straightforward and efficient.

Can I use this API for commercial language learning apps?

Absolutely. The API is designed for scalable, multilingual education products. You send text and receive audio files, which you can integrate directly into your commercial applications. There are no restrictions on usage for startups or established companies, and the pricing model scales with your character volume, making it suitable for any commercial language learning app.

How many languages are supported in the API?

The 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. Any voice can speak any of these languages, allowing you to create diverse content for your multilingual language learning courses without needing multiple models.

Do the voices sound natural for educational content?

The eight voice presets are based on licensed recordings from LibriTTS-R and LibriVox public-domain audiobook readings. They include options like Aria for warm narration or Felix for energetic promos. These voices are optimized for clear, natural-sounding speech, making them ideal for educational content where clarity and engagement are crucial for language learners.

What is the character limit per request?

Each request can contain up to 4096 characters of input text. For longer texts, you should split them into parts of this size and join the resulting audio files. This limit ensures consistent processing quality, and since typical speed is roughly real-time, managing chunk sizes helps maintain smooth playback in your language learning app.

Is there a free trial available for developers?

Yes, signing in with Google provides a $0.50 trial credit, valid for 7 days, which covers about 50,000 characters. Accounts created with email and password start without this trial credit. This allows developers to test the API’s capabilities and integration with their language learning platforms before committing to a top-up.

How are failed requests handled in billing?

Failed requests are free. If synthesis fails, the charge is returned in full, so you only pay for successful audio generation. This ensures that your billing accurately reflects the usable audio files produced for your language learning app, protecting your budget from errors or issues during the text-to-speech processing phase.

Can I specify the language for Latin script text?

Yes, you can set the optional language field to an ISO code. If not set, the system guesses the language, defaulting to English for Latin-script text. For non-English Latin-script text, explicitly setting the language ensures correct pronunciation and voice selection, which is critical for accurate language learning materials and user comprehension.

Are the voices based on real human recordings?

Yes, the voices are based on licensed recordings from LibriTTS-R (CC BY 4.0), derived from LibriVox public-domain audiobook readings. Each generated file also carries an inaudible watermark marking it as synthetic speech. This ensures high-quality, natural-sounding audio while maintaining transparency about the synthetic nature of the generated content for your language learners.

Do I need to store the generated audio files?

The generated audio is returned in the response and not stored by the API. Input text is used only to produce the audio and is not used for training. You are responsible for storing the audio files if needed for your language learning app, as request metadata is kept only for billing purposes.

What audio formats are supported?

The API supports mp3, wav, opus, flac, and pcm formats. You can specify the desired format in the response_format field of your request. This flexibility allows you to choose the best format for your language learning app’s technical requirements, balancing file size, quality, and compatibility with various playback devices and platforms.

Is there a limit on requests per minute?

Yes, the rate limit is 60 requests per minute per key, or 10 per minute before the first top-up. Requests are processed sequentially, so under load, a request may wait in a queue. For language learning apps with many simultaneous users, consider managing request timing or upgrading your account status to ensure smooth audio generation.

Can I clone a specific voice for my brand?

No, custom voice cloning is not offered. The API provides eight preset voices based on licensed recordings. You cannot upload your own voice or design custom voices. This means your language learning app will use the existing set of voices, which are optimized for clarity and natural speech, rather than a unique cloned brand voice.

How do I top up my account balance?

You can top up your balance using USDT on the TRON network (TRC-20). The minimum top-up is $5, and credits are automatically added within minutes after the transfer. There are no cards, PayPal, or subscriptions; balance does not expire. This crypto-only method keeps transactions simple and direct for your language learning startup’s accounting.

First request

curl

curl https://api.288q.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.mp3

Why Python for Language Audio?

Sound wave illustration for: Why Python for Language Audio?

Python is the natural choice for language learning startups because it bridges the gap between educational content and technical infrastructure. With EchoLingo’s API, you can generate clear, natural-sounding audio using simple code, allowing your team to focus on curriculum design rather than audio engineering complexities.

Simple Integration

Simple Integration

Use the standard OpenAI Python SDK and set the base URL to https://api.288q.info/v1. Pass a JSON payload containing your text and voice selection, and receive the audio file directly in response. This eliminates the need for complex middleware or custom parsers, letting your Python scripts handle requests efficiently.

  • Drop-in compatibility with existing Python workflows
  • Standard JSON request structure
  • No custom client libraries required

Scalable Generation

As your language courses grow, your audio generation needs scale accordingly. The API processes requests sequentially, queuing them to ensure stability. This predictable flow prevents resource exhaustion while maintaining consistent quality for every generated lesson.

Code-First Workflow

The API returns the audio file directly, ready for playback in your app. Your scripts handle the HTTP requests, and the API returns the audio data in your preferred format, such as mp3 or wav, which can be saved. This code-first approach integrates seamlessly into automated course production pipelines.

  • Support for mp3 and wav formats
  • Direct file saving capabilities
  • Automated pipeline integration

8 Voices for Diverse Learners

Sound wave illustration for: 8 Voices for Diverse Learners

EchoLingo provides eight distinct voice presets, allowing language learning platforms to match audio to specific pedagogical goals. Each voice is derived from licensed recordings (LibriTTS-R, CC BY 4.0) from LibriVox public-domain audiobook readings, ensuring clear, natural-sounding speech that supports effective listening comprehension for diverse learner demographics.

Female Voices: Aria, Nova, Luna, Sage

Use Aria for warm, clear narration or Luna for soft storytelling. Nova delivers bright, upbeat energy for engaging exercises, while Sage offers a calm, instructional tone ideal for structured lessons.

  • Aria: Warm, clear narrator
  • Nova: Bright, upbeat
  • Luna: Soft, storytelling
  • Sage: Calm, instructional

Male Voices: Felix, Milo, Atlas, Orion

Felix brings energetic promo-style delivery, while Milo provides a friendly, conversational tone. Atlas serves as a neutral news reader, and Orion offers a deep, documentary-style voice for immersive content.

  • Felix: Energetic, promo
  • Milo: Friendly, conversational
  • Atlas: Neutral, news
  • Orion: Deep, documentary

Neutral and Deep Options

Select voices based on the desired emotional weight of your course material. Atlas provides a baseline neutral tone, whereas Orion’s deep register adds gravitas to documentary-style language modules.

23 Languages for Global Reach

Sound wave illustration for: 23 Languages for Global Reach

EchoLingo supports 23 languages, allowing language learning startups to expand their course catalogs globally without managing separate voice assets. Our API handles script detection automatically, though setting the language field is recommended for non-English Latin text to ensure accuracy.

Major European Languages

Covering the core linguistic markets, we support Arabic, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Italian, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, and Turkish. Any voice can speak any of these languages, ensuring consistent audio quality across your entire European curriculum.

  • Arabic, Danish, Dutch, English, Finnish, French, German
  • Greek, Hebrew, Italian, Norwegian, Polish, Portuguese
  • Russian, Spanish, Swedish, Turkish

Asian Languages: Chinese, Japanese, Korean

For high-demand Asian markets, we provide native-quality synthesis for Chinese, Japanese, and Korean. These languages are supported by the API, ensuring learners hear clear, standard pronunciations that match modern educational standards.

  • Chinese
  • Japanese
  • Korean

Emerging Markets: Swahili, Hindi, Turkish

Expand into growing learner bases with support for Swahili, Hindi, and Turkish. These languages are critical for reaching underserved educational demographics, and our API treats them with the same technical precision as major European languages.

  • Swahili
  • Hindi
  • Turkish

Technical Specs for Developers

Sound wave illustration for: Technical Specs for Developers

EchoLingo’s API mirrors the OpenAI speech endpoint structure, allowing you to leverage official OpenAI SDKs with a simple base_url change to https://api.288q.info/v1. This compatibility means your existing Python code for audio generation requires minimal adjustment, enabling rapid integration into your language learning platform without learning a new proprietary library.

OpenAI-Compatible SDK

By pointing your SDK to our base URL and using your unique tts-... key, you can use standard libraries to send text and receive audio. This approach simplifies development for teams already familiar with OpenAI’s ecosystem, ensuring a smooth transition for your engineering workflows.

Multiple Audio Formats

Choose from mp3, wav, opus, flac, or pcm based on your app’s needs. MP3 and OPUS offer efficient compression for streaming, while WAV and FLAC provide lossless quality for high-fidelity educational content. PCM is ideal for raw audio processing pipelines.

Character Limits and Splitting

Each request supports up to 4,096 characters. For longer texts, split the input programmatically and join the resulting audio files in your code. This ensures consistent playback and avoids tokenization issues while maintaining the natural flow of your language lessons.

  • Request limit: 4,096 characters per call
  • Split and join logic handled in code
  • Supports mp3, wav, opus, flac, pcm

Pricing for Startups

Sound wave illustration for: Pricing for Startups

EchoLingo charges $0.01 per 1,000 characters, making it easy to budget for your language course audio. Failed requests are free, so you only pay for successful generations.

Pay Per Character

You pay $10 per million characters, with spaces and punctuation counted. This simple model helps you estimate costs accurately for large course libraries.

  • $0.01 per 1,000 characters
  • Spaces and punctuation count
  • Failed requests are free

No Monthly Fees

There are no monthly plans, seats, or minimum spend requirements. You only pay for what you use, keeping your overhead low as you scale.

Crypto Top-Ups

Top up your balance with USDT on the TRON network (TRC-20). Minimum $5, credited automatically within minutes. No cards, PayPal, or VAT invoices.

  • USDT on TRON (TRC-20)
  • Minimum $5 top-up
  • Automatic credit within minutes
Pricing for Startups

Demo: Generate Your First Audio

Sound wave illustration for: Demo: Generate Your First Audio

Generate clear audio for your language courses with a single Python request. Our API accepts simple text inputs and returns high-quality speech files instantly, making it easy to integrate voiceovers into your learning platform.

Start by sending a POST request to the speech endpoint. You can specify the voice, format, and language directly in the JSON body. The response delivers the audio file ready for playback in your app.

Quick Start Example

Use the OpenAI Python SDK by pointing it to our base URL. Pass your text and select a voice like 'aria' for a warm narration style. The code handles the rest, returning an audio file you can save.

Here is a minimal example: initialize the client with your API key, define the input text, and call the speech method. The library manages the authentication and data serialization for you.

  • Install the OpenAI Python package.
  • Set base_url to https://api.288q.info/v1.
  • Use your unique API key for authentication.
  • Send text up to 4096 characters per request.

Voice Selection

Choose from 8 distinct voices to match your course tone. Female voices include 'aria' for clear narration or 'nova' for upbeat lessons. Male options range from 'felix' for energetic promos to 'atlas' for neutral news-style content.

Each voice is built from licensed recordings, ensuring natural sound without extra licensing steps. You can mix voices across different lessons to keep learners engaged without repeating the same audio texture.

Language Detection

The API automatically detects the language from the text script if you do not specify one. Latin script defaults to English, while non-English scripts like Chinese or Japanese are identified by their characters.

For non-English Latin text, such as Spanish or German, explicitly set the 'language' parameter to ensure accurate pronunciation. This prevents the engine from guessing incorrectly and delivering unnatural accents.

Data Privacy for Education

Sound wave illustration for: Data Privacy for Education

Language learning platforms handle sensitive user data, making transparency crucial. We ensure your input text is used solely to produce the immediate audio output and is never retained for model training or improvement. This keeps your course content and user-generated examples strictly private.

No Training on Input

Your text is processed on-demand and discarded after synthesis. We do not use your input data to refine our voice models, ensuring your educational materials remain distinct and private.

No Audio Storage

Generated audio files are returned in the response and not stored on our servers. Once the download is complete, the audio file is gone, minimizing your storage footprint and data exposure.

Metadata for Billing

We retain only request metadata—such as timestamp, character count, and status—to accurately calculate your usage and charge you correctly. This minimal data ensures transparent billing without storing your actual content.

Speed and Performance

Sound wave illustration for: Speed and Performance

Text-to-speech generation typically runs at roughly real-time speed, processing about 25 characters of text per second of audio. While short phrases may take a few seconds to synthesize, longer texts are processed sequentially.

Real-Time Generation

Requests are processed one after another, meaning generation speed closely mirrors the audio output length. This predictable timing allows your Python scripts to estimate completion times accurately for course synchronization.

Queue Management

Under heavy load, requests may wait in a processing queue. Since the API handles requests sequentially, concurrent bursts can introduce slight delays beyond the base synthesis time.

  • Rate limit: 60 requests per minute per key.
  • Initial limit: 10 requests per minute before first top-up.

Error Handling

If synthesis fails, the request is free and no charge is applied. Failed requests trigger a full refund, ensuring your startup’s credit balance remains accurate even during transient network issues.

Get Started Today

Sound wave illustration for: Get Started Today

Start building your language course audio with zero financial risk. Sign in with your Google account to instantly receive $0.50 in trial credit, valid for seven days. This provides approximately 50,000 characters of generation time, allowing you to test voices and languages immediately without entering payment details.

Create a dedicated API key for your development environment. This key grants access to all 23 languages and 8 voice presets. You can generate a new key at any time, instantly revoking the previous one for secure, scalable deployment as your startup grows.

Free Trial Credit

Accounts created with email and password start without trial credit, so use Google sign-in to unlock your initial $0.50 balance. This credit covers roughly 50,000 characters, enough to prototype your first set of lessons and verify audio quality before committing funds.

  • $0.50 initial credit
  • Valid for 7 days
  • No payment required

Google Sign-In

Secure and instant authentication via Google allows you to access the dashboard immediately. This method is recommended to ensure you receive the free trial credit automatically upon your first login, streamlining your onboarding process.

Your account is tied to this site’s independent infrastructure, ensuring your data remains isolated and private.

API Key Generation

Navigate to the dashboard to generate your unique API key. This key authenticates your requests to the TTS endpoint. You can revoke and regenerate keys at any time to maintain security without service interruption.

Use this key with the OpenAI-compatible SDK to start sending text and receiving audio files directly in your Python scripts.

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.

Avatar of the voice aria
ariafemale
Avatar of the voice nova
novafemale
Avatar of the voice luna
lunafemale
Avatar of the voice sage
sagefemale
Avatar of the voice felix
felixmale
Avatar of the voice milo
milomale
Avatar of the voice atlas
atlasmale
Avatar of the voice orion
orionmale

23 languages

Any voice speaks any of these languages.

Sources and further reading

  1. Wikipedia
  2. Creative Commons Attribution 4.0
  3. ISO 639 language codes
  4. MDN: Web Speech API
  5. IETF RFC 7845: Ogg Opus
  6. Tether (USDT)
  7. LibriTTS-R paper (arXiv 2305.18802)
  8. openai-node on GitHub
  9. LibriTTS-R corpus (OpenSLR 141)
  10. curl documentation
  11. LibriVox public-domain audiobooks
  12. openai-python on GitHub

More on this site