Text-to-Speech API for Online Course Voice-Over

By CourseVoice editorial team · Updated 2026-11-19

EduEcho provides a reliable text-to-speech API designed for startups building online courses and LMS platforms. Convert lesson scripts into professional audio files programmatically, ensuring consistent voice quality across all your educational content. This solution simplifies content production by handling the audio generation pipeline, allowing your team to focus on curriculum design rather than recording logistics.

This page outlines the practical steps to integrate our API into your workflow. You will find concrete examples of how to generate voice-overs, manage multiple languages, and scale production efficiently. Whether you are building a new platform or upgrading an existing LMS, EduEcho offers a straightforward, cost-effective way to deliver high-quality audio lessons to your students.

Text-to-Speech API for Online Course Voice-Over

Frequently asked questions

What is the youtuber ai voice generator?

Q: What is EduEcho? A: EduEcho is a cloud text-to-speech API for online courses and LMS platforms. It converts lesson scripts into audio files via a POST request. Startups automate content production by sending text and receiving audio, eliminating the need for voice actors or complex infrastructure.

How many characters can I send in one request?

You can send up to 4096 characters per request. For longer lesson scripts, you should split the text into parts of this size and join the resulting audio files. This limit applies to each individual API call regardless of the model or voice selected.

Which voices are available for course content?

Eight presets are available: Aria, Nova, Luna, and Sage (female); Felix, Milo, Atlas, and Orion (male). For educational content, Sage offers a calm, instructional tone, while Milo provides a friendly, conversational style. All voices support 23 languages and are based on licensed recordings.

Does the API support multiple languages?

Yes, the API supports 23 languages including English, Spanish, German, French, Chinese, Japanese, and Hindi. Any voice can speak any of these languages. If the language parameter is omitted, the system guesses the language from the script, defaulting to English for Latin text.

How is the price calculated per character?

Pricing is $10 per 1 million characters, which equals $0.01 per 1,000 characters. Spaces and punctuation count as characters. Failed requests are free, with the charge returned in full if synthesis fails. There are no monthly plans, seats, or minimum spend requirements.

Is there a free trial for the API?

Yes, signing in with Google provides $0.50 of credit, valid for 7 days, which covers about 50,000 characters. Accounts created with an email and password start without this trial credit. The balance does not expire, and you can top up later using USDT.

What payment methods are accepted?

The only accepted payment method is USDT on the TRON network (TRC-20). The minimum top-up is $5, and credits are automatically added within minutes. There are no credit cards, PayPal, subscriptions, or invoices with VAT. No other payment methods are supported.

Can I change my API key if it is compromised?

Yes, you can issue a new API key at any time from your account dashboard. When a new key is generated, the old one stops working immediately. Each account has one active key at a time, ensuring simple and secure access control.

How long does text synthesis take?

Synthesis takes roughly real time, averaging 25 characters of text per second of generation. Short phrases may take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue before processing begins.

Are failed requests charged?

No, failed requests are free. If synthesis fails, the charge is returned in full to your balance. You only pay for successfully generated audio files. This ensures you are not charged for errors or timeouts during the text-to-speech process.

Is the audio watermarked?

Yes, every generated audio file carries an inaudible watermark that marks it as synthetic speech. This helps identify AI-generated content. The watermark is embedded in the audio file and does not affect the quality or usability of the voice-over for your courses.

Do I need to use the OpenAI SDK?

No, you do not need the OpenAI SDK. You can use any HTTP client to send a POST request to the speech endpoint. The request shape matches the OpenAI speech endpoint, so the OpenAI SDK works if you change the base URL, but it is optional.

What happens if the service is under load?

Requests are processed one after another. If the service is under load, your request may wait in a queue before synthesis begins. This may increase latency for long texts, but the processing order remains sequential.

Is my input text stored long-term?

No, input text is used only to produce the audio and is not used for training. Generated audio is returned in the response and not stored. Request metadata, such as time, characters, and status, is kept for billing purposes only.

First request

curl

curl https://api.api36.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 Course Creators Choose API Voice-Over

Sound wave illustration for: Why Course Creators Choose API Voice-Over

For online course creators, consistency is key to building trust. EduEcho’s API ensures every lesson uses the same professional voice, whether you are producing one video or one hundred. This uniformity strengthens your brand identity without requiring manual coordination between scriptwriters and voice actors.

API-driven voice-over eliminates the bottleneck of traditional recording sessions. You can generate audio files programmatically as soon as a script is finalized, allowing your development team to integrate audio directly into LMS platforms without waiting for external production cycles.

Consistent Brand Voice

Consistent Brand Voice

Every generated audio file uses one of eight distinct presets, from warm narrators to energetic promo voices. This allows you to maintain a specific tone across all your content. Whether your course requires a calm, instructional style or an upbeat, conversational approach, the voice remains uniform across all lessons.

Consistency reduces cognitive load for learners. When students encounter the same vocal timbre and pacing in every module, they can focus on the material rather than adapting to new speakers. This standardization is critical for scalable course platforms.

  • Eight distinct voice presets for consistent tone
  • Uniform audio style across all modules
  • No need to manage multiple voice talent contracts

Rapid Content Scaling

Generate audio for hundreds of lessons in parallel. The API processes requests efficiently, allowing you to scale content production beyond the limits of human recording studios. You can update audio for revised lessons instantly without re-recording entire sessions.

This speed is particularly valuable for startups launching multiple courses simultaneously. Instead of waiting weeks for studio availability, you can produce audio assets on-demand, accelerating your time-to-market for new educational products.

  • Parallel processing for high-volume content
  • Instant updates for revised lessons
  • No studio scheduling bottlenecks

Cost-Effective Production

Pay only for what you use, with no monthly fees or minimum commitments. At $10 per million characters, generating audio for a typical course module costs just a few cents. This model eliminates the high upfront costs of studio rentals and voice actor day rates.

Failed requests are free, so you only pay for successful audio generation. This efficiency allows startups to budget accurately for content production, scaling costs directly in line with user engagement and course volume.

  • $10 per million characters
  • No monthly fees or subscriptions
  • Free failed requests

Supported Languages and Voices

Sound wave illustration for: Supported Languages and Voices

EduEcho provides eight distinct voice presets designed to match the tone of educational content, from warm narration to documentary depth. Each voice is based on licensed recordings, ensuring professional quality for your lessons.

Select from female voices like Aria for clear instruction or Luna for storytelling, and male options like Felix for energetic promos or Atlas for neutral news-style delivery. All voices support any of the 23 languages.

8 Distinct Voice Presets

Choose from eight presets: Aria (warm narrator), Nova (bright), Luna (soft), Sage (calm), Felix (energetic), Milo (friendly), Atlas (neutral), and Orion (deep documentary).

Every generated file includes an inaudible watermark marking it as synthetic speech. The voices are derived from LibriTTS-R (CC BY 4.0) and LibriVox public-domain readings, ensuring licensed quality for commercial use.

  • Female: aria, nova, luna, sage
  • Male: felix, milo, atlas, orion

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 the language from the script, defaulting to English for Latin text. For non-English Latin text, set the language code explicitly.

  • Arabic, Chinese, Danish, Dutch, English
  • Finnish, French, German, Greek, Hebrew
  • Hindi, Italian, Japanese, Korean, Malay
  • Norwegian, Polish, Portuguese, Russian, Spanish
  • Swahili, Swedish, Turkish

Flexible Audio Formats

Output supports mp3, wav, opus, flac, and pcm formats. Choose mp3 for efficient storage or wav for high-fidelity playback in your LMS.

The API returns the audio file directly in the response, allowing immediate integration into your course player without intermediate storage steps.

  • mp3, wav, opus, flac, pcm

How the TTS API Works

Sound wave illustration for: How the TTS API Works

EduEcho converts your lesson scripts into professional audio files via a single API call. You send a JSON payload containing the text, selected voice, and desired format to the speech endpoint. The system processes the request and returns the generated audio file directly in the response.

Send Text, Receive Audio

The workflow is straightforward: post your text and receive an audio file. For texts exceeding 4096 characters, split the input into parts, generate each segment, and join the resulting audio files. This ensures consistent quality and manageable request sizes for your course content.

OpenAI SDK Compatible

Leverage existing infrastructure by using the official OpenAI SDKs. Simply change the base_url to https://api.api36.info/v1 and use your EduEcho API key. This compatibility allows your engineering team to integrate voice-over generation without learning a new client library or rewriting existing code.

Simple JSON Integration

Interact with the API using standard HTTP requests. The JSON body requires the model, input, and voice fields; response_format and speed are optional. Authentication is handled via a Bearer token in the Authorization header, making it easy to embed into your LMS backend or automation scripts.

  • Use POST requests to https://api.api36.info/v1/audio/speech
  • Include Authorization: Bearer tts-... in headers
  • Set model to "tts-1" or "tts-1-hd"

Technical Specifications

Sound wave illustration for: Technical Specifications

Define the technical boundaries of your API requests to ensure reliable audio generation for course scripts. Understanding the input limits and processing constraints helps you structure your lesson content efficiently without hitting unexpected errors.

4096 Character Limit

Each API request accepts a maximum of 4096 characters for the input text. This limit includes spaces and punctuation. For longer lessons, split your script into chunks under this threshold and join the resulting audio files.

Speed Control 0.25–4.0

Adjust the playback speed between 0.25 and 4.0 to match your audience's preference. Standard speed is 1.0, which produces audio at roughly real-time length. Short phrases may take a few seconds to generate due to queue processing.

Multiple Output Formats

Choose the audio format that best fits your LMS player. Supported formats include mp3, wav, opus, flac, and pcm via the response_format field.

Integration for Startups

Sound wave illustration for: Integration for Startups

EduEcho is built for startups that need reliable integration without overhead. You can connect your LMS or course platform in minutes using standard web technologies. The API accepts simple JSON payloads, making it easy to embed voice generation directly into your existing content workflows.

Easy API Endpoint

Send your lesson scripts to a single endpoint: POST https://api.api36.info/v1/audio/speech. The system returns an audio file ready for playback or download. This simplicity allows your development team to focus on course structure rather than complex audio infrastructure.

No Proprietary SDK Required

You do not need to install a custom library. Since the request shape matches the OpenAI speech endpoint, you can use the official OpenAI SDK by simply changing the base_url to https://api.api36.info/v1. This reduces dependency management and keeps your stack lightweight.

Standard HTTP Requests

All interactions use standard HTTP with JSON bodies. You authenticate using a Bearer token in the header. This approach works with any language or framework that supports HTTP requests, ensuring broad compatibility for your startup’s tech stack.

  • JSON input format
  • Bearer token authentication
  • Standard HTTP methods
  • Works with any HTTP client
Integration for Startups

Pricing Transparency

Sound wave illustration for: Pricing Transparency

EduEcho charges a flat rate of $10 per 1 million characters, equating to $0.01 per 1,000 characters. Spaces and punctuation count toward this total. Failed requests are free, ensuring you only pay for successful audio generation. This straightforward model eliminates surprise bills and simplifies budget forecasting for course production.

Usage is tracked in real-time, allowing you to monitor character consumption directly from your dashboard. There are no hidden fees for format changes or speed adjustments. You can issue a new API key at any time, with the old one stopping immediately, providing simple access control without complex permission tiers.

Pay Per Character

The cost is strictly based on input length. At $0.01 per 1,000 characters, generating a 10-minute lesson typically costs a fraction of a cent. This linear pricing scales predictably as your course library grows, making it easy to estimate costs for bulk content creation.

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

No Monthly Fees

There are no subscriptions, seats, or minimum spend requirements. You only pay for what you use, making it ideal for startups with variable content production cycles. Balances do not expire, so you can top up when needed without losing previous credits.

Payments are accepted via USDT (TRC-20) on the TRON network. Top-ups are credited automatically within minutes, with a minimum deposit of $5. No invoices or VAT are involved, streamlining the accounting process for small teams.

  • No monthly subscriptions
  • No minimum spend
  • Balances do not expire
  • USDT (TRC-20) only

Trial Credit Available

New accounts signed up with Google receive $0.50 in trial credit, valid for 7 days. This covers approximately 50,000 characters, enough to test integration and generate sample audio files before committing funds.

Accounts created with email and password start without trial credit. You can verify the API’s quality and voice options using the free trial or by making a small top-up to access full features immediately.

  • $0.50 trial credit
  • Valid for 7 days
  • Approx. 50,000 characters
  • Google sign-up only

Use Cases for LMS Platforms

Sound wave illustration for: Use Cases for LMS Platforms

LMS platforms can automatically convert lesson scripts into audio files, enabling students to learn via audio rather than reading. This supports multitasking and reduces screen fatigue for learners accessing course materials on mobile devices or during commutes.

Generated audio files are returned directly in the API response, allowing seamless integration into your course player without managing external media servers. This workflow simplifies content production by turning text scripts into ready-to-play audio assets programmatically.

Audio Lessons Generation

Convert existing lesson scripts into professional voice-overs instantly. The API processes texts up to 4096 characters, splitting longer lessons into manageable segments that are joined automatically. This allows creators to scale content production without hiring voice actors for every new module.

  • Convert text scripts to audio programmatically
  • Automatically join segmented audio files
  • Ideal for mobile learning workflows

Accessibility Compliance

Provide audio alternatives for text-based course materials to meet WCAG guidelines. Synthetic speech with clear articulation ensures content is accessible to users with visual impairments or reading difficulties. Each generated file carries an inaudible watermark marking it as synthetic speech.

  • Support WCAG accessibility standards
  • Clear synthetic speech output
  • Inaudible watermark for identification

Multilingual Courses

Deploy the same voice across 23 languages, ensuring consistent brand tone for global learners. The API guesses the language from the script or accepts an optional ISO code. This allows startups to localize content rapidly without managing separate voice talent for each region.

  • Supports 23 languages including English, Spanish, and German
  • Consistent voice across languages
  • Optional language parameter for precision

Data and Privacy

Sound wave illustration for: Data and Privacy

EduEcho processes your input text solely to generate the audio file. We do not use your lesson scripts or course content to train our underlying neural networks, ensuring your proprietary material remains yours.

Generated audio is returned directly in the response and is not stored on our servers. This minimizes data retention and reduces the risk of unauthorized access to your course assets.

We keep request metadata—such as timestamp, character count, and status—strictly for billing and usage verification. No other personal or content data is retained beyond what is necessary for service delivery.

Text Not Used for Training

Your input text is used exclusively to produce the audio output. We do not incorporate your scripts or educational content into our training datasets, preserving the uniqueness of your course material.

No Audio Storage

The generated audio file is delivered in the response and is not stored on our servers. Once you receive the file, it resides entirely in your infrastructure or cache.

This approach ensures that your voice-overs are not archived in our systems, reducing data retention risks and keeping your content strictly under your control.

Billing Metadata Kept

We retain request metadata, including timestamp, character count, and status, solely for billing accuracy and usage verification.

This minimal data allows us to process your USDT top-ups and character counts correctly without retaining the actual content of your courses.

Get Started Today

Sound wave illustration for: Get Started Today

EduEcho eliminates the friction of manual voice-over production for online course platforms. By integrating directly into your LMS workflow, you convert lesson scripts into high-quality audio files programmatically, ensuring consistent brand voice across all your content without hiring additional talent.

Sign Up with Google

Navigate to the /get-api-key/ page and create your account using your Google credentials. This instant registration grants you immediate access to the developer dashboard and a free trial credit of $0.50, valid for seven days, allowing you to test the API without upfront payment.

Get Your API Key

Once registered, your dashboard displays your unique API key, which you will use to authenticate all requests. The interface also shows your current balance, character usage, and a ready-to-use curl example. You can generate a new key at any time, with the old one stopping immediately.

First Request in Minutes

Start sending text via our standard HTTP endpoint. With the OpenAI SDK compatible format, you can generate audio quickly. For long scripts, split the text into chunks of 4096 characters, process them, and join the resulting audio files seamlessly.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. These voices are best for core curriculum content where clarity and steady pacing are essential for retention.

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. OpenAI API reference: create speech
  3. Creative Commons Attribution 4.0
  4. ISO 639 language codes
  5. LibriTTS-R paper (arXiv 2305.18802)
  6. TRON developer hub: TRC-20
  7. Python documentation
  8. Node.js documentation
  9. FFmpeg documentation
  10. openai-node on GitHub
  11. Tether (USDT)
  12. MDN: Web Speech API

More on this site