Node.js Text-to-Speech API for Teachers and Methodologists

By VerboLink editorial team · Updated 2026-11-19

VerboLink is a straightforward Node.js API designed specifically for teachers and methodologists who need to convert lesson text into audio files for their LMS platforms. Instead of managing complex integrations, you can use the official OpenAI SDK structure to turn your scripts into audio files with just a few lines of code.

This page outlines how our API simplifies the creation of audio content for online courses. You will find practical examples of integration, details on our 23-language support, and a transparent breakdown of our character-based pricing. Whether you are building accessibility features or expanding your course reach, we provide the technical tools you need without the overhead.

Node.js Text-to-Speech API for Teachers and Methodologists

Frequently asked questions

Is this API suitable for generating audio for online courses?

Yes. VerboLink is designed for teachers and methodologists to turn lesson text into audio files for LMS platforms. It provides clear, natural voices in 23 languages without complex integrations, making it ideal for creating accessible course content efficiently.

Which programming languages are supported for integration?

Since the endpoint matches the OpenAI speech endpoint shape, you can use any language that supports the official OpenAI SDKs. Simply change the base_url to https://api.alanodt2.info/v1 and use your site's key. It also works with plain HTTP requests.

How many characters can I send in a single request?

You can send up to 4096 characters per request. For longer texts, you must split them into parts of this size and join the resulting audio files. This ensures consistent processing and avoids limits on a single API call.

What happens if the synthesis fails during generation?

Failed requests are free. If synthesis fails, the charge is returned in full. You can retry the request without worrying about additional costs, ensuring you only pay for successfully generated audio files.

Are the voices suitable for educational content?

Yes. The eight presets include calm, instructional voices like Sage and neutral, news-style voices like Atlas. They are based on licensed recordings and designed for clear narration, making them well-suited for educational materials and lessons.

Can I use the generated audio in my LMS platform?

Yes. The API returns audio files in standard formats like MP3, WAV, Opus, FLAC, or PCM. You can download these files and upload them directly to your LMS platform for student access without additional conversion steps.

Does the API support multiple languages for global courses?

Yes. It supports 23 languages, including English, Spanish, German, French, Japanese, and Arabic. Any voice can speak any of these languages. You can specify the language via an ISO code or let the system guess it from the script.

How are characters counted in the pricing model?

Pricing is $10 per 1 million characters. Spaces and punctuation count as characters. For example, 1,000 characters cost $0.01. This simple model ensures predictable costs for your course audio production without hidden fees.

Is there a free trial available for new users?

Yes. Signing in with Google gives you $0.50 of credit (about 50,000 characters) valid for 7 days. Accounts created with email and password start without trial credit. You can top up later via USDT on the TRON network (TRC-20).

Can I change my API key if it gets compromised?

Yes. You can issue a new key at any time from your account page. The old key stops working immediately, ensuring your previous key cannot be used once you replace it, maintaining security for your account.

What audio formats are available for download?

You can choose from mp3, wav, opus, flac, and pcm. These formats cover most LMS requirements. Select the desired format in your request body to receive the audio file in the type best suited for your platform.

How long does it take to generate audio for long texts?

Typical speed is roughly real-time, about 25 characters per second of generation. Short phrases take a few seconds. For long texts, split them into parts. Requests are processed sequentially, so load may cause queuing delays.

Is there a limit to how many requests I can make per minute?

Yes. The limit is 60 requests per minute per key. Before your first top-up, the limit is 10 requests per minute. This ensures fair usage and maintains service stability for all users during peak times.

Do I need to pay VAT when topping up my balance?

No. There are no invoices with VAT. Top-ups are made via USDT on the TRON network (TRC-20). The minimum top-up is $5, and credits are added automatically within minutes after the transfer is confirmed.

First request

curl

curl https://api.alanodt2.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 Choose This API for Your LMS?

Sound wave illustration for: Why Choose This API for Your LMS?

This API is a cloud service that allows you to integrate audio generation directly into your LMS workflows. By adjusting the base_url in the official OpenAI SDK, you can start sending text and receiving audio files with minimal code changes. It handles the heavy lifting of synthesis so you can focus on your course content.

Simple Integration with Node.js

Simple Integration with Node.js

Integrate the TTS endpoint POST /v1/audio/speech using standard HTTP requests or the OpenAI SDK. Pass your API key in the Authorization header and send your lesson text as JSON. The system returns the audio file directly, ready for storage or playback in your learning management system.

  • Compatible with official OpenAI SDKs via base_url change
  • Standard JSON request body with model, input, and voice
  • Supports both tts-1 and tts-1-hd models

Cost-Effective Character Pricing

Pricing is straightforward: $10 per 1 million characters, which equals $0.01 per 1,000 characters. Spaces and punctuation count toward the total. This model allows you to budget precisely for your course production without worrying about hidden monthly fees or voice-cloning costs.

  • $0.01 per 1,000 characters
  • No minimum spend or monthly plans
  • Failed requests are free

Perfect for Lesson Scripts

Generate audio for lesson scripts up to 4,096 characters per request. For longer lessons, split the text into parts and join the resulting audio files. Typical generation speed is roughly real-time, making it efficient for producing full course modules without excessive waiting times.

  • 4,096 character limit per request
  • Supports splitting long texts for multi-part audio
  • Real-time generation speed on long texts

Voices for Every Lesson Style

Sound wave illustration for: Voices for Every Lesson Style

Choosing the right voice ensures your lesson materials resonate with students, whether they are listening to a story or following a technical tutorial. VerboLink provides eight distinct presets designed to match the tone of your content, from warm narrators to clear instructors.

Each voice is built from licensed recordings, offering a natural sound that keeps learners engaged without the stiffness of robotic speech. You can select the perfect tone for each module in your LMS with a simple API parameter.

Warm Narrators for Stories

Aria’s warm, clear narration style is ideal for literature lessons or historical narratives. Luna offers a soft, storytelling tone that works well for younger audiences or calming study sessions.

These voices bring character to text-heavy lessons, helping students connect emotionally with the material while maintaining clarity and pace suitable for educational listening.

  • Aria: Warm, clear narrator
  • Luna: Soft, storytelling tone

Clear Instructors for Tutorials

Sage provides a calm, instructional voice perfect for step-by-step guides or technical explanations. Nova’s bright, upbeat tone keeps energy high for quick tutorials or motivational content.

Milo’s friendly, conversational style helps simplify technical concepts, making complex topics feel more approachable for students who might otherwise struggle with dry text.

  • Sage: Calm, instructional
  • Nova: Bright, upbeat
  • Milo: Friendly, conversational

Neutral Voices for News

Atlas delivers a neutral, news-style delivery that remains unbiased and clear, ideal for factual updates or exam preparation materials. Orion offers a deep, documentary tone for serious subject matter.

These voices ensure that the content itself remains the focus, providing a professional backdrop for academic content without adding unnecessary emotional bias.

  • Atlas: Neutral, news-style
  • Orion: Deep, documentary

Support for 23 Languages

Sound wave illustration for: Support for 23 Languages

VerboLink supports 23 languages, enabling you to localize lesson content without hiring multiple voice actors. Whether your course is in Arabic, Chinese, or Swahili, the API handles the audio generation seamlessly.

Each voice can speak any of the supported languages, giving you flexibility in matching tone to content type while maintaining consistent quality across all modules.

Global Reach for Courses

Expand your course library to international markets with native-sounding audio. The API covers major languages including English, Spanish, French, German, Japanese, and Korean, ensuring your educational material feels local and engaging.

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

Automatic Language Detection

The API guesses the language from the script if you do not specify one. Latin script defaults to English, so for non-English Latin text, you should set the language parameter manually.

Manual Language Setting

For precise control, pass the ISO code for the language field. This ensures correct pronunciation and intonation, especially for mixed-language lessons or specific dialects.

Note: Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, and other languages are not supported.

Technical Details for Developers

Sound wave illustration for: Technical Details for Developers

The API mirrors the OpenAI speech endpoint structure, allowing you to reuse existing Node.js code by simply updating the base_url to https://api.alanodt2.info/v1. Pass your unique tts-... key in the Authorization header, and the official OpenAI SDKs handle the rest without extra wrappers.

You can choose from five audio formats—mp3, wav, opus, flac, and pcm—to suit your LMS requirements. Adjust the playback speed between 0.25 and 4.0 to match your teaching pace, ensuring the audio fits perfectly within your course modules.

OpenAI SDK Compatible

The API mirrors the OpenAI speech endpoint structure, allowing you to reuse existing Node.js code by simply updating the base_url to https://api.alanodt2.info/v1. Pass your unique tts-... key in the Authorization header, and the official OpenAI SDKs handle the rest without extra wrappers.

  • Uses standard JSON body requests
  • Works with official OpenAI SDKs
  • Simple header-based authentication

Multiple Audio Formats

Choose from mp3, wav, opus, flac, and pcm to fit your LMS player. Speed ranges from 0.25x to 4.0x, letting you slow down complex explanations or speed up simple reviews.

All requests are processed sequentially, so under heavy load, a request may wait in a queue. Plan your generation batches accordingly to avoid delays during peak course upload times.

  • mp3, wav, opus, flac, pcm
  • Speed control: 0.25–4.0x
  • Sequential processing

Rate Limits Explained

You get 60 requests per minute per key. Before your first top-up, this limit drops to 10 requests per minute, which is sufficient for testing small lesson snippets.

Keep your API key secure, as only one key is active per account. You can issue a new key anytime if needed, and the old one stops immediately.

  • 60 requests/minute (standard)
  • 10 requests/minute (pre-top-up)
  • Single active key per account

How It Works

Sound wave illustration for: How It Works

Integrating VerboLink into your LMS workflow is straightforward. You send lesson text to the API endpoint and receive an audio file ready for playback.

Managing longer lessons or multi-part scripts is handled by splitting text into 4,096-character chunks. The API processes these sequentially, allowing you to join the resulting audio files seamlessly.

Send Text, Get Audio

Use the standard Node.js client by pointing it to our base URL. Pass your text, choose a voice like Aria or Felix, and receive the audio file directly in your response.

  • Supports mp3, wav, opus, flac, and pcm formats
  • Response includes the audio file immediately upon completion

Handle Long Lessons

Lessons often exceed the 4,096-character limit. Split your script into parts, send each via POST requests, and concatenate the returned audio files to create a complete lesson track.

Track Usage Easily

Monitor your character consumption and balance directly from the dashboard. Failed requests are free, and you can see exactly how many characters have been processed for billing purposes.

How It Works

Data Privacy for Educators

Sound wave illustration for: Data Privacy for Educators

Your lesson scripts are private by design. We use your input text solely to generate the audio file and never use it for training our models, ensuring your course content remains yours.

Every generated audio file carries an inaudible watermark that marks it as synthetic speech. This helps identify AI-generated content without affecting the listening experience for your students.

No Training on Your Text

We process your text only to produce the audio and do not store the content for model improvement. Your unique lesson scripts and educational materials are not used to train our engine, keeping your intellectual property secure.

Invisible Watermarks

Each audio file includes a subtle, inaudible watermark identifying it as synthetic speech. This feature helps you maintain transparency with your audience regarding the source of the audio in your LMS courses.

Metadata for Billing

We retain request metadata such as timestamp, character count, and status specifically for billing purposes. This allows you to verify your usage and costs accurately without storing the actual content of your lessons.

Pricing Overview

Sound wave illustration for: Pricing Overview

VerboLink uses a straightforward pay-per-character model: $10 per million characters, or $0.01 per 1,000 characters. Spaces and punctuation count toward this total. There are no monthly subscriptions, hidden fees, or minimum spends, making it easy to budget for your course production needs.

Pay Per Character

You only pay for successful audio generation. If a request fails, the charge is returned in full. This ensures you are billed precisely for the content your students actually receive.

  • No monthly plans or seats
  • Failed requests are free
  • Balance does not expire

Free Trial Credit

Start with $0.50 of credit (about 50,000 characters) valid for 7 days when you sign in with Google. This allows you to test voice quality and integration before committing to larger projects.

  • 7-day validity period
  • Available with Google sign-in
  • Email accounts start without credit

USDT Top-Up

Top up your balance using USDT on the TRON network (TRC-20). The minimum top-up is $5, and credits are typically added within minutes. We do not accept credit cards, PayPal, or issue VAT invoices.

  • TRC-20 only
  • Minimum $5 top-up
  • No credit cards or PayPal

Common Use Cases

Sound wave illustration for: Common Use Cases

Turn lesson scripts or reading materials into clear audio files for your LMS. Use voices like Luna for storytelling or Felix for energetic promos, ensuring students have accessible content without manual recording.

Audiobook Creation

Convert textbook chapters or short stories into listenable formats. With a 4,096-character limit per request, split longer texts and join the audio files. Use the tts-1-hd model for narration.

  • Convert lesson scripts into audio
  • Split long texts into 4,096-character parts
  • Use Luna for storytelling or Felix for promos

Language Learning

Provide authentic pronunciation models in 23 languages. Students can hear speech in English, Spanish, German, and more. Set the language parameter explicitly to avoid guessing errors, ensuring accurate accent representation for each module.

  • Support for 23 languages
  • Explicit language setting for accuracy
  • Clear pronunciation for ESL/EFL students

Accessibility Features

Make your courses compliant with accessibility standards by offering audio alternatives to text. Generate audio files in MP3 or WAV formats that work with most LMS players, ensuring all students can consume your material.

  • MP3 and WAV output support
  • Screen reader compatible
  • Simple integration for LMS platforms

Get Started Today

Sound wave illustration for: Get Started Today

Create your account on our /get-api-key/ page using Google or email to receive $0.50 in trial credit immediately. This allows you to generate approximately 50,000 characters of audio within seven days, giving you enough time to test voice quality and integration without any financial commitment.

Sign Up for Free Trial

Signing up is quick and requires no credit card. Once registered, you can start generating audio files for your lessons right away. The trial credit is valid for seven days, providing a safe environment to evaluate the API's performance for your specific teaching materials.

  • Instant access with Google or email registration
  • $0.50 trial credit (approx. 50,000 characters)
  • No credit card required to start

View API Documentation

Our documentation explains how to use the standard OpenAI SDK with our base URL. You will find ready-to-use code examples for Node.js, detailing the required JSON body structure and authentication headers. This makes integration into your existing LMS workflows straightforward and minimal.

  • Compatible with official OpenAI SDKs
  • Node.js code examples included
  • Clear authentication and request details

Contact Support

For any questions regarding integration or billing, reach out via email. We do not offer phone support or live chat, ensuring our support team can provide detailed, thoughtful answers to your technical queries. We are here to help you streamline your course production.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Each voice is derived from licensed recordings, ensuring clear and natural audio for your students.

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. OpenAI API reference: create speech
  4. TRON developer hub: TRC-20
  5. IETF RFC 7845: Ogg Opus
  6. curl documentation
  7. openai-python on GitHub
  8. Tether (USDT)
  9. LibriVox public-domain audiobooks
  10. W3C WAI: making audio and video accessible
  11. LibriTTS-R paper (arXiv 2305.18802)
  12. openai-node on GitHub

More on this site