Reliable English TTS API for Language Learning Development

By Do666Ok editorial team · Updated 2026-11-19

This page details the EchoLingua Text-to-Speech API, engineered for indie developers constructing language learning applications. You will find the specific technical requirements for integrating our standardized endpoint, including OpenAI SDK compatibility and multi-language support across 23 languages. The content outlines how to manage voice selection, character-accurate billing, and audio format options to ensure reliable audio generation without complex infrastructure overhead.

The following sections describe the integration workflow, from API key generation to response handling, alongside quality control mechanisms such as synthetic watermarking and language guessing logic. Developers will review the pricing structure, rate limits, and data usage policies relevant to building scalable educational tools. This information is provided to support the technical decision-making process for teams requiring precise, character-counted audio synthesis for language instruction.

Reliable English TTS API for Language Learning Development

Frequently asked questions

What characters count towards the TTS usage limit?

Spaces and punctuation count as characters. The pricing is $10 per 1 million characters, equating to $0.01 per 1,000 characters. This calculation applies to the total input text length submitted in each request, ensuring accurate billing based on the exact character count processed by the engine.

Can I use the standard OpenAI Python SDK with this API?

Yes. The API endpoint matches the OpenAI speech endpoint request shape. You can use the official OpenAI SDKs by changing the base_url to https://api.do666ok.com/v1 and providing your site-specific API key. This allows seamless integration into your existing Python infrastructure without requiring a custom client library.

How does the language detection work for non-English text?

If the language field is omitted, the system guesses the language from the script, defaulting to English for Latin script text. For non-English Latin-script text, you should explicitly set the language parameter. The API supports 23 specific languages, including Arabic, Chinese, and Swahili, among others.

What happens if a synthesis request fails?

Failed requests are free. If synthesis fails, the charge is returned in full. This ensures that you are only billed for successful audio generation. You can retry requests without financial penalty if the initial attempt encounters an error during processing.

Are the voices static or do they change over time?

The voices are static presets based on licensed recordings from LibriTTS-R and LibriVox. There are eight fixed presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion. These voices do not change or evolve over time, providing consistent audio output for your language learning applications.

Is there a limit on the length of text per request?

Yes, the input text is limited to 4096 characters per request. For longer texts, you must split the content into parts of up to 4096 characters and join the resulting audio files. This ensures efficient processing and adherence to the API's structural constraints for each individual call.

How long is request metadata retained for billing?

Request metadata, including time, characters, and status, is kept for billing purposes. Input text is used only to produce audio and is not stored for training. Generated audio is returned in the response and not stored persistently on our servers after delivery to the client.

Can I switch between tts-1 and tts-1-hd models?

Yes, you can switch between the "tts-1" and "tts-1-hd" models. Both models use the same engine and have the same price point. You can select either model in your API requests depending on your quality preferences, with no additional cost difference between the two options.

What audio formats are supported for playback?

The API supports mp3, wav, opus, flac, and pcm response formats. You can specify the desired format in your request body. This flexibility allows you to integrate the generated audio directly into various language learning platforms and playback systems without requiring additional conversion steps.

Is there a minimum spend required to start using the API?

No, there is no minimum spend. Accounts start with a free trial of $0.50 credit if you sign in with Google. Top-ups via USDT (TRC-20) have a minimum of $5, but you are not required to maintain a balance or pay monthly fees to use the service.

How are voice presets categorized by gender and tone?

There are eight presets: Female (Aria, Nova, Luna, Sage) and Male (Felix, Milo, Atlas, Orion). Each voice has a specific tone, such as warm, bright, soft, calm, energetic, friendly, neutral, or deep. This categorization helps developers select the appropriate voice for different language learning contexts.

Does the API support streaming audio data?

No, the API does not support streaming, WebSocket, or real-time partial audio. It returns the complete audio file in the response after synthesis is finished. This synchronous approach simplifies integration for developers who do not need real-time playback capabilities in their language learning applications.

Can I upload my own voice for custom generation?

No, custom voice cloning is not offered. You cannot upload your own voice or design custom voices. The API uses eight fixed presets based on licensed recordings. If you require custom voices, you must use one of the existing presets provided in the API documentation.

What is the typical latency for generating audio?

Typical speed is roughly real time, generating about 25 characters of text per second of audio. Short phrases take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue. This ensures consistent processing order for all incoming synthesis tasks.

First request

curl

curl https://api.do666ok.com/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

Core API Capabilities

Sound wave illustration for: Core API Capabilities

The EchoLingua API provides a standardized endpoint at POST /v1/audio/speech, enabling seamless integration with existing development stacks. By adhering to a familiar request structure, the service allows indie developers to generate audio files directly from text inputs without requiring custom infrastructure overhead or complex protocol adaptations.

Standardized Endpoint Integration

Standardized Endpoint Integration

The API accepts JSON bodies containing text, voice selection, and format preferences. Developers can utilize official OpenAI SDKs by adjusting the base URL to https://api.do666ok.com/v1, ensuring compatibility with standard client libraries while maintaining precise control over generation parameters.

  • POST endpoint for speech synthesis
  • JSON request body structure
  • Compatible with OpenAI SDKs

Character-Accurate Billing

Billing is calculated strictly on a per-character basis, with spaces and punctuation included in the count. The rate is $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests incur no charge, and credits are deducted only upon successful synthesis.

Multi-Language Support

The engine supports 23 languages, including English, Spanish, French, German, Chinese, Japanese, and Arabic. Each voice preset can render any supported language, allowing for consistent audio styling across different linguistic content. Developers may specify the ISO language code to ensure accurate pronunciation.

Voice Selection for Education

Sound wave illustration for: Voice Selection for Education

EchoLingua provides eight distinct voice presets engineered for educational clarity and engagement. Each voice is derived from licensed recordings, ensuring consistent quality across language learning applications without the overhead of custom voice design.

Clear Narrator Voices

Aria and Luna offer warm, clear narration suitable for reading comprehension modules. Sage provides a calm, instructional tone ideal for step-by-step language exercises. These voices ensure students receive consistent auditory cues without distraction.

  • Aria: Warm, clear narrator for standard text.
  • Luna: Soft, storytelling tone for immersive content.
  • Sage: Calm, instructional voice for guided exercises.

Conversational Practice Models

Nova and Milo deliver bright, upbeat, and friendly tones respectively. These presets are suitable for pronunciation drills and interactive conversation simulations.

  • Nova: Bright, upbeat voice for engaging content.
  • Milo: Friendly, conversational tone for dialogue practice.

Neutral News Tone

Atlas delivers a neutral, news-style delivery perfect for formal language learning materials. Orion offers a deep, documentary tone for advanced listening exercises. Both voices maintain a professional standard without emotional bias.

  • Atlas: Neutral, news-style delivery for formal texts.
  • Orion: Deep, documentary tone for advanced listening.

Technical Specifications

Sound wave illustration for: Technical Specifications

EchoLingua provides a standardized TTS API compatible with official OpenAI SDKs. By changing the base_url to https://api.do666ok.com/v1 and using your API key, developers can integrate speech synthesis into existing Python or Node.js applications without rewriting client logic.

OpenAI SDK Compatibility

The API endpoint mirrors the OpenAI speech structure, allowing direct use of standard libraries. Send a POST request to https://api.do666ok.com/v1/audio/speech with a JSON body containing model, input, voice, response_format, and speed. This ensures integration for language learning apps using standard client libraries.

Multiple Audio Formats

Generate audio in mp3, wav, opus, flac, or pcm formats. Select the format that best suits your application’s bandwidth and playback requirements. The API returns the audio file directly in the response, eliminating the need for post-processing conversions.

Rate Limit Management

Each API key allows 60 requests per minute. New accounts start with a limit of 10 requests per minute until the first top-up is processed. Requests are processed sequentially; under load, synthesis may queue, taking a few seconds for short phrases or real-time speed for longer texts.

  • Limit: 60 requests/minute per key
  • Initial limit: 10 requests/minute
  • Processing: Sequential, queued under load

Integration Workflow

Sound wave illustration for: Integration Workflow

EchoLingua’s integration workflow ensures that language learning applications can reliably generate speech through a standardized HTTP interface. The process begins with authentication, proceeds through precise text formatting, and concludes with the retrieval of synthesized audio files, allowing developers to maintain full control over the audio generation pipeline without external dependencies.

API Key Generation

Developers obtain a unique API key via the /get-api-key/ page using Google or email authentication. This key, formatted as "tts-...", is used in the Authorization header for all requests. Each account holds one active key; issuing a new key immediately invalidates the previous one, ensuring clear audit trails for billing and usage monitoring.

Text Input Processing

The API accepts text input up to 4096 characters per request via the POST /v1/audio/speech endpoint. For longer texts, such as reading comprehension passages, the client must split the input into chunks and join the resulting audio files. The language parameter should be explicitly set for non-English Latin script text to avoid default English guessing.

  • Maximum input length: 4096 characters
  • Supports 23 specific languages
  • Explicit language codes recommended for clarity

Audio Response Handling

Upon successful synthesis, the API returns the audio file in the requested format (mp3, wav, opus, flac, or pcm). Each file contains an inaudible watermark identifying it as synthetic speech. Failed requests incur no charge, and the response includes standard HTTP status codes to facilitate straightforward error handling in client applications.

Quality Control

Sound wave illustration for: Quality Control

Quality control ensures generated audio meets strict consistency standards for educational use. Each synthetic file includes an inaudible watermark, marking it as AI-generated without affecting playback clarity.

Voice profiles remain stable across sessions, while language detection defaults to English for Latin script unless explicitly overridden.

Synthetic Audio Watermarking

Every generated audio file carries an inaudible watermark that marks it as synthetic speech. This allows downstream applications to identify AI-generated content without altering the listening experience or requiring additional metadata.

Consistent Voice Profiles

Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobooks. Each voice preset is consistent across requests.

Language Guessing Logic

If the language field is not set, the system guesses the language from the text script. Latin script text defaults to English. For non-English Latin-script text, the language parameter must be set explicitly to avoid misidentification.

  • Supported languages: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish.
  • Unsupported: Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali.
Quality Control

Pricing Structure

Sound wave illustration for: Pricing Structure

EchoLingua utilizes a transparent, per-character billing model designed for predictable cost management in language learning applications. Pricing is set at $10 per 1 million characters, equating to $0.01 per 1,000 characters. Spaces and punctuation are included in the character count, ensuring accurate attribution of usage costs.

Per Character Rates

Requests are charged only upon successful synthesis. If a request fails, the character count is not deducted from your balance, ensuring you pay strictly for usable audio output. This structure eliminates waste from retry loops common in educational drill applications.

Trial Credit Eligibility

Users signing in via Google receive $0.50 in trial credit, sufficient for approximately 50,000 characters. This credit is valid for seven days. Accounts created using email and password do not receive initial trial credit, requiring an immediate top-up to begin generation.

Crypto Top-Up Options

Balance is replenished exclusively via USDT on the TRON network (TRC-20). There are no credit cards, PayPal options, or VAT invoices. The minimum top-up amount is $5. Credits are credited automatically within minutes of transfer confirmation and do not expire.

  • USDT (TRC-20) only
  • Minimum $5 top-up
  • Automatic credit within minutes
  • No monthly subscriptions or seats

Developer Experience

Sound wave illustration for: Developer Experience

EchoLingua provides straightforward, well-documented endpoints that integrate seamlessly with existing developer workflows. By adhering to standard request shapes, teams can leverage familiar tools without extensive custom middleware.

Documented Endpoints

Access voice configurations and model details via GET requests. The primary speech synthesis endpoint accepts JSON bodies, ensuring consistent behavior across different programming languages and frameworks used in language learning applications.

  • GET /v1/voices for voice and language metadata
  • GET /v1/models for available engine details
  • POST /v1/audio/speech for synthesis requests

Error Handling Standards

Failed synthesis requests incur no charge, with the full amount returned to the account balance. Standard HTTP status codes indicate success or failure, allowing for reliable automated retry logic in production environments.

Support Channels

Developer support is available via email only. There is no live chat or phone support.

Use Cases in EdTech

Sound wave illustration for: Use Cases in EdTech

EchoLingua’s API enables precise text-to-speech generation tailored for educational applications. By leveraging standardized endpoints and character-accurate billing, developers can integrate high-quality audio outputs directly into language learning platforms without managing complex infrastructure.

Reading Comprehension Tools

Applications can send raw text inputs to generate audio files for digital reading materials. The API supports 23 languages, allowing learners to hear correct pronunciations in their target language while maintaining access to the original script.

  • Support for 23 languages including English, Spanish, and Japanese
  • Character-accurate billing ensures cost efficiency for large text corpora
  • Automatic language guessing reduces configuration overhead

Pronunciation Drills

Developers can create interactive exercises where students listen to specific phrases generated by distinct voice presets. The consistent voice profiles ensure that learners hear the same tonal qualities across different drill sessions, aiding in auditory pattern recognition.

  • Eight distinct voice presets for varied auditory experiences
  • Speed adjustment (0.25–4.0x) allows for slow, clear articulation
  • Multiple audio formats (mp3, wav, opus) for flexible playback

Audiobook Creation

Longer texts are automatically split into 4096-character segments and joined to produce continuous audio. This workflow supports the creation of educational audiobooks or storybooks, with each segment processed sequentially to maintain narrative flow.

  • Client-side text splitting for inputs exceeding 4096 characters
  • Generation speed is roughly real time (about 25 characters per second of audio)
  • Inaudible watermarking identifies synthetic audio for content verification

System Reliability

Sound wave illustration for: System Reliability

Request processing follows a sequential queue model where synthesis tasks are handled one after another, ensuring consistent output quality. Under high load, individual requests may experience latency as they wait for their turn in the processing line, with typical generation speeds approximating real-time audio output.

Request Queuing Logic

Requests are processed sequentially, meaning under load a request may wait in a queue before synthesis begins. This ensures consistent resource allocation but introduces variable latency depending on current system load. Users should account for potential delays when initiating multiple simultaneous synthesis tasks.

  • Sequential processing model ensures consistent output quality.
  • Latency increases under high request volume.
  • Real-time generation speed for standard texts.

Character Limit Constraints

Each API request accepts a maximum of 4096 characters of input text. For longer texts, developers must implement client-side splitting, generating audio for each segment and joining the resulting files. Spaces and punctuation are counted toward the character limit and billing total.

  • Maximum input: 4096 characters per request.
  • Longer texts require client-side splitting and joining.
  • Spaces and punctuation count as characters.

Data Usage Policies

Input text is used solely for audio generation and is not retained for training models. Generated audio files are returned in the response and are not stored on our servers. Request metadata, including timestamp, character count, and status, is retained exclusively for billing and usage tracking purposes.

  • Input text is not used for training.
  • Generated audio is not stored server-side.
  • Metadata kept for billing purposes only.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Build your app with multilingual support so players worldwide can learn the language effortlessly.

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. Python documentation
  4. LibriTTS-R corpus (OpenSLR 141)
  5. Tether (USDT)
  6. W3C WAI: making audio and video accessible
  7. openai-python on GitHub
  8. ISO 639 language codes
  9. LibriVox public-domain audiobooks
  10. OpenAI API reference: create speech
  11. MDN: Web Speech API
  12. IETF RFC 7845: Ogg Opus

More on this site