Frequently asked questions
What is a TTS API?
A cloud text-to-speech API lets you send text and receive an audio file via a simple POST request. It uses a standard JSON body, making it easy to integrate into any application. You can use the official OpenAI SDKs by adjusting the base URL, allowing for straightforward integration into your existing educational workflows without needing custom infrastructure.
How does text-to-speech work in LMS platforms?
LMS platforms send user-selected text to the API endpoint, which returns an audio file. This allows students to listen to course materials, improving accessibility. The system splits long texts into parts, generates audio for each, and joins them. This workflow supports immersive reading experiences and helps students with visual or reading difficulties consume content effectively.
Which voices are best for reading literature?
Q: Which voices are suitable for reading literature? A: Aria offers a warm, clear narrator style, while Luna provides a soft, storytelling tone. Sage is calm and instructional, suitable for academic texts. Orion’s deep, documentary style works well for historical narratives. These eight presets cover various tones, allowing you to match the voice to the specific mood and genre of the book being read.
Can TTS handle long texts like novels?
Yes, but you must split texts into parts of up to 4096 characters per request. The API generates audio for each part, which you then join. Typical speed is roughly real-time, so a novel may take hours to process. Requests are queued, so under load, generation may take longer than for short phrases.
Is the API compatible with OpenAI SDKs?
Yes, the API uses the same request shape as the OpenAI speech endpoint. You can use the official OpenAI SDKs by changing the base URL to https://api.nbcasino.info/v1 and using your site’s key. This allows you to leverage existing code and libraries without rewriting your integration logic for a new proprietary format.
What languages are supported for educational content?
We support 23 languages, including English, Spanish, French, German, Chinese, Japanese, and Arabic. Any voice can speak any of these languages. If the language is not set, it is guessed from the script, but for non-English Latin text, you should set the language explicitly. Unsupported languages include Vietnamese, Thai, and Ukrainian.
How much does it cost to read a chapter?
Pricing is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count as characters. If a chapter is 50,000 characters, it costs $0.50. Failed requests are free, with the charge returned in full. There are no monthly plans or minimum spends, so you only pay for what you generate.
Do I need a developer to integrate the API?
Basic integration requires sending a POST request with JSON, which developers can handle easily. You can use the OpenAI SDK or plain HTTP. The /get-api-key/ page provides a ready curl example and shows your key and balance. While a developer helps with complex workflows like splitting long texts, simple text-to-audio calls are straightforward.
What happens if a request fails?
If synthesis fails, the charge is returned in full. You are not billed for failed requests. This ensures you only pay for successfully generated audio files. You can retry the request with the same text and parameters. Failed requests do not count against your rate limit or character balance, protecting your usage during testing.
Are the voices synthetic or human recordings?
The voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobooks. However, every generated file carries an inaudible watermark marking it as synthetic speech. They are generated audio based on these licensed sources.
Can I use the audio in my paid courses?
Yes, the generated audio can be used in your educational content. The input text is not used for training, and the audio is returned in the response. There are no restrictions on using the audio in paid courses or LMS platforms. You can use the generated files for your specific use cases, with no subscription fees.
Does the API support multiple voices in one text?
No, each request specifies a single voice. To use multiple voices, you must split the text into sections and send separate requests for each voice. Then, join the resulting audio files. This allows you to create dialogues or varied narration styles by manually assigning different voices to different parts of your content.
What is the character limit per request?
The input text limit is 4096 characters per request. For longer texts, you must split the content into chunks of this size. Each chunk is processed separately, and the resulting audio files are joined. This limit ensures efficient processing and allows for precise control over audio generation, especially when switching voices or languages within a document.
How do I track my API usage?
The /get-api-key/ page displays your balance, characters left, and usage history. You can also view request metadata, including time, characters, and status, kept for billing purposes. Failed requests are free and do not affect your balance. You can issue a new key at any time, which stops the old one immediately, ensuring secure tracking.
First request
curl
curl https://api.nbcasino.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.mp3Immersive Reading in Online Courses
Text-to-speech integration allows product teams to embed audio narration directly into online courses, transforming static literature into accessible content. By sending text via our API, educators can provide immediate audio alternatives for novels like 'To Kill a Mockingbird', ensuring students can consume material through listening as well as reading.
Text-to-speech integration for literature
Our API accepts up to 4096 characters per request, enabling precise control over how long-form texts are segmented. For longer chapters, texts are split and joined seamlessly, maintaining narrative flow without manual intervention. This structure supports both short reading exercises and full chapter narrations within an LMS environment.
- JSON body requests compatible with OpenAI SDKs
- Automatic text splitting for long-form content
- Deterministic audio generation for consistent playback
Accessibility standards in education
Audio narration helps meet accessibility standards by providing alternative text formats for students with reading difficulties or visual impairments. Each generated file includes an inaudible watermark identifying it as synthetic speech, maintaining transparency about the content source. This feature supports inclusive design.
- Supports diverse learning needs
- Inaudible synthetic speech watermark
- No complex markup required
Engaging students with audio narration
Engaging students with audio narration requires voices that match the tone of the material. With 8 presets ranging from warm narrators to calm instructors, educators can select voices that enhance the learning experience. The speech quality is clear, helping students follow the content.
- 8 distinct voice presets
- Realistic speech quality
- Reduces reading fatigue
Voice Selection for Educational Content
Selecting the right voice is critical for educational content, ensuring students remain engaged without distraction. The API offers eight distinct presets, each designed for specific tonal needs in learning environments.
Clear narration voices like Aria
Aria provides a warm, clear narrator style ideal for literature and storytelling. Her tone helps students follow complex narratives without the fatigue often associated with long reading sessions. This clarity supports accessibility standards by making text easily digestible.
- Aria: warm, clear narrator
Instructional tones like Sage
Sage offers a calm, instructional voice perfect for lessons and tutorials. Her steady pace aids comprehension for technical or educational material. This tone ensures that instructional content remains engaging and easy to follow for diverse learners.
- Sage: calm, instructional
Conversational styles like Milo
Milo brings a friendly, conversational style suitable for interactive modules or casual reading. His approachable tone can make learning materials feel more personal and less rigid. This style is effective for keeping students attentive during longer study sessions.
- Milo: friendly, conversational
Technical Integration for Product Teams
Product teams can integrate VoiceLoom’s TTS API using standard OpenAI SDKs by simply changing the base_url to https://api.nbcasino.info/v1. This approach allows developers to leverage familiar libraries without learning a new client, ensuring a smooth transition for existing codebases.
OpenAI SDK compatibility
The API mirrors the OpenAI speech endpoint structure, enabling direct use of official SDKs. Authentication requires an Authorization: Bearer tts-... header, with one active key per account that can be rotated instantly.
API request structure
Send a POST request to /v1/audio/speech with a JSON body containing model, input, voice, response_format, and optional speed (0.25–4.0). The endpoint accepts texts up to 4,096 characters per request, supporting formats like MP3, WAV, OPUS, FLAC, and PCM.
Handling long-form texts
For longer educational content, split the input into 4,096-character segments. The client application must join the resulting audio files sequentially. Processing is sequential, so under load, requests may queue. Typical speed is roughly real-time on long texts.
Language Support for Global LMS
VoiceLoom supports 23 languages, including English, Spanish, French, German, and Japanese, enabling global LMS platforms to serve diverse student bodies without needing separate voice providers. The API handles script detection automatically, defaulting to English for Latin script if the language field is omitted, though explicit ISO codes are recommended for non-English Latin texts to ensure accuracy.
23 supported languages
The platform covers major educational markets with Arabic, Chinese, Danish, Dutch, Finnish, Greek, Hebrew, Hindi, Italian, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Swahili, Swedish, and Turkish. Unsupported languages like Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, and Bengali are excluded, so product teams should verify their target demographic’s language before integration.
- 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
When the language parameter is omitted, the engine guesses the language based on the text script, assuming English for Latin characters. For precise control, especially with mixed-language content or less common scripts, explicitly setting the ISO code ensures consistent voice delivery and avoids mispronunciation artifacts.
Multi-voice capabilities
All eight voices—Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion—speak all 23 supported languages fluently. This allows educational teams to maintain consistent character voices across different language versions of a course, enhancing immersion without needing to manage separate voice models for each locale.
Pricing Models for Developers
VoiceLoom charges $0.01 per 1,000 characters, with spaces and punctuation counting toward the total. Failed requests incur no cost, ensuring you only pay for successful synthesis. This model scales effortlessly with your course volume.
Top-ups require USDT on the TRON network (TRC-20), with a $5 minimum. Credits arrive automatically within minutes, and your balance never expires. There are no monthly subscriptions, seats, or hidden VAT fees.
Pay-per-character billing
The API bills $10 per million characters. This flat rate applies regardless of voice choice or speed. You can track usage directly in your dashboard alongside your balance.
- $0.01 per 1,000 characters
- Spaces and punctuation count
- Failed requests are free
Free trial for testing
Google sign-ups receive $0.50 in trial credit, valid for seven days. Email-created accounts start without trial funds. This allows product teams to validate the API’s integration and audio quality before committing to larger volumes.
- $0.50 trial credit
- 7-day validity
- Google sign-up required
USDT top-up options
Payments are processed exclusively via USDT on the TRON network. The minimum top-up is $5. Once transferred, funds are credited automatically within minutes, ensuring continuous service for your LMS platform.
No credit cards, PayPal, or invoices are supported. The balance remains active indefinitely until used, providing predictable cost management for long-term educational content production.
- USDT (TRC-20) only
- $5 minimum top-up
- Automatic credit within minutes

Audio Formats for Courses
Audio format selection directly impacts the user experience in your online courses. The API supports MP3, WAV, OPUS, and FLAC, allowing product teams to balance file size, quality, and compatibility across different learning management systems.
MP3 for web streaming
MP3 is a common choice for web-based players due to its small file size and universal compatibility. It provides sufficient clarity for narrative content while minimizing bandwidth usage for students on slower connections.
WAV for high quality
WAV files deliver uncompressed audio. This format ensures consistent playback quality across all devices, though it results in larger file sizes.
OPUS and FLAC options
OPUS offers efficient compression with good quality, suitable for modern browsers. FLAC provides lossless compression, retaining full audio fidelity while reducing storage needs compared to WAV, making it a versatile option for archival course materials.
Data Privacy and Training
VoiceLoom treats input text as a transient asset, using it solely to generate the requested audio file without incorporating it into model training datasets. This ensures that proprietary course content or sensitive student reading materials remain distinct from the training pipeline, providing clarity for educational institutions managing intellectual property.
Input text usage policy
Once the synthesis completes, the generated audio is returned directly in the API response and is not stored on our servers. The input text is processed in real-time and discarded after audio generation, ensuring that your educational content remains your own without lingering copies in our infrastructure.
Audio storage limits
We do not maintain a library of your generated audio files. Each request produces a temporary output that you must download or store in your own LMS or cloud storage. This zero-retention model for audio ensures that you control the lifecycle and distribution of your narrated lessons.
Metadata retention
Request metadata, including timestamp, character count, and status, is retained solely for billing and audit purposes. This limited data allows us to verify usage for your account and resolve any discrepancies in character counts, without storing the actual content of your educational texts or audio files.
Common Use Cases in EdTech
Product teams building online courses often need to convert static text into audio to support diverse learning styles. Our TTS API allows you to transform lesson materials into accessible audio files, ensuring that students with dyslexia or visual impairments can engage with content equally.
E-book audio conversion
Convert large literary texts, such as "To Kill a Mockingbird," into audio files by splitting the input into 4096-character chunks. The API returns separate audio files that you can join programmatically, preserving the narrative flow without exceeding request limits.
- Support for long-form literature via chunking
- Compatible with standard MP3 or WAV output
- No manual transcription required
Lesson plan narration
Use the "sage" voice for instructional tone or "aria" for clear narration. Generate audio summaries for daily lessons, allowing students to listen while commuting or reviewing material. The 0.25–4.0 speed control lets learners adjust playback to their comprehension pace.
- Clear instructional tones available
- Adjustable playback speed (0.25–4.0x)
- Instant generation for rapid content updates
Student reading support
Provide audio alternatives for reading assignments in 23 languages. Automatic language detection works for most scripts, but explicitly setting the language code ensures accuracy for non-English Latin text. This supports global LMS platforms serving diverse student populations.
- 23 supported languages
- Automatic language detection
- Explicit language code override
Editorial Review Summary
VoiceLoom offers a pragmatic TTS solution for educational content, prioritizing reliable character-based billing over complex feature sets. It serves product teams building LMS platforms who need straightforward audio integration without enterprise overhead.
The API’s compatibility with standard OpenAI SDKs simplifies development, while its transparent pricing and USDT top-up options provide a clear path for scaling usage in course platforms.
Honest API assessment
The service delivers consistent, high-quality narration for literature and instructional content, with a focus on reliability and ease of integration. It lacks streaming and custom voice cloning.
Audio generation is efficient, though queueing may occur under load. The watermark ensures synthetic origin is clear, supporting transparency in educational materials.
No hype, just facts
VoiceLoom does not claim to be the best or fastest TTS provider. It provides 8 distinct voices and supports 23 languages, with no hidden fees or subscriptions.
Pricing is strictly $10 per million characters, with a $0.50 trial for testing. Failures are free, and billing is transparent.
Product team focus
The API is designed for developers who need to integrate TTS into LMS platforms quickly. The OpenAI SDK compatibility reduces integration time, and the clear documentation supports efficient implementation.
Data privacy is straightforward: input text is not used for training, and audio is not stored, minimizing compliance risks for educational institutions.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Choosing the right female voice for LMS content directly influences learner retention and comprehension.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- Node.js documentation
- openai-node on GitHub
- W3C WAI: making audio and video accessible
- curl documentation
- TRON developer hub: TRC-20
- LibriTTS-R paper (arXiv 2305.18802)
- Creative Commons Attribution 4.0
- LibriVox public-domain audiobooks
- Python documentation
- OpenAI API reference: create speech
- IETF RFC 7845: Ogg Opus
