Frequently asked questions
What is the best Python TTS library?
There is no single best library. LectioLab provides a lightweight Python library for the OpenAI-compatible API. It works with the official OpenAI SDK by changing the base_url. This allows you to generate audio files from text using standard Python code, integrating easily into your existing LMS workflows without learning a new proprietary system.
How does this API compare to OpenAI?
The API uses the same request shape and engine as OpenAI’s speech endpoint. However, it is not affiliated with OpenAI. It offers 8 specific voice presets and supports 23 languages. Pricing is $0.01 per 1,000 characters. It lacks some OpenAI features like custom voice cloning but provides transparent, flat-rate pricing.
Is the OpenAI SDK compatible?
Yes. You can use the official OpenAI Python SDK by setting the base_url to https://api.788t.info/v1. Pass your API key in the Authorization header. The request fields match the OpenAI speech endpoint exactly. This allows you to generate audio files using familiar code structures without needing a custom library or complex integration.
Which voice is best for courses?
Sage is designed for calm, instructional content, making it ideal for lectures. Aria offers a warm, clear narrator style suitable for general course material. Luna works well for storytelling segments. You can choose the voice that matches your course tone. All voices support all 23 languages, so you can select the best fit for your content.
What format is best for LMS?
MP3 is the most widely supported format for LMS platforms and web players. WAV provides uncompressed quality for high-fidelity needs. You can specify the format in the API request. MP3 offers a good balance of quality and file size for streaming. The API returns the audio file directly, ready for upload to your course platform.
Is it cheaper than other APIs?
Pricing is $0.01 per 1,000 characters. Failed requests are free. There are no monthly plans or subscriptions. You pay only for what you use. This flat rate applies to all voices and models. Compare this to per-minute or per-character models of other providers to determine the best cost for your specific volume of course content.
Does it support multiple languages?
Yes, it supports 23 languages including English, Spanish, German, French, Chinese, and Japanese. Any voice can speak any supported language. If the language is not set, it is guessed from the script. For non-English Latin text, you should explicitly set the language parameter to ensure accurate pronunciation and delivery in your course materials.
Can I use it for commercial courses?
Yes, you can use the generated audio for commercial courses. The audio files are returned in the response and not stored by the API. Input text is used only for synthesis. There are no restrictions on usage. You own the generated audio files. This makes it suitable for both internal training and external commercial educational products.
How is audio quality?
Audio is generated using licensed recordings from LibriTTS-R and LibriVox. It includes an inaudible watermark marking it as synthetic. The quality is consistent and clear. Use the tts-1-hd model for the same engine with a different price tier. The audio is natural and suitable for educational content. There are no emotion tags or SSML, so the tone is determined by the voice preset.
Is there a free trial?
Yes, signing in with Google gives $0.50 of credit, valid for 7 days. This covers about 50,000 characters. Email-based accounts start without trial credit. You can top up with USDT on the TRON network. There are no minimum spend requirements. The trial allows you to test the API with your course materials before committing to a balance.
Do I need a developer?
Basic usage requires minimal coding. You can use the provided curl examples or the Python SDK. For bulk generation or complex LMS integration, a developer is helpful. You need to handle text splitting for long courses. The API is straightforward, but automating the workflow for large course libraries may require custom scripting and error handling.
How long does generation take?
Generation is roughly real-time, about 25 characters per second. Short phrases take a few seconds. Longer texts are processed sequentially, so requests may queue under load. Splitting long texts into parts under 4096 characters ensures efficient processing. The API returns the audio file once synthesis is complete, allowing you to proceed with your LMS upload.
Can I automate the process?
Yes, the API is designed for automation. You can send POST requests with JSON bodies. Use the Python SDK or any HTTP client. Split long texts into chunks, generate audio for each, and join them. You can integrate this into your LMS workflow to automatically convert new course content into audio files without manual intervention.
Is it secure for student data?
Input text is used only to produce audio and is not used for training. Generated audio is returned in the response and not stored. Request metadata is kept for billing. There is no SLA or uptime guarantee. Data is processed securely via the API. You are responsible for securing your API key and managing access to your account.
Criteria for selection
Evaluating a TTS solution for LMS integration requires balancing technical simplicity with operational cost. For educators and methodologists, the primary concern is how easily the service fits into existing Python-based course workflows without introducing complex dependencies.
Ease of integration
Using the standard OpenAI SDK shape allows direct integration with minimal code changes. You simply adjust the base URL and provide your API key, leveraging familiar libraries already present in many educational tech stacks.
- Standard JSON request body compatible with existing Python HTTP clients
Cost efficiency
The per-character pricing model ($0.01 per 1,000 characters) ensures you only pay for actual usage. This eliminates fixed monthly fees, making it ideal for semester-based course production where demand fluctuates.
- No minimum spend or subscription commitments
Audio quality
Eight distinct voice presets provide clear, consistent narration suitable for academic content. The synthetic watermark ensures generated files are identifiable, maintaining transparency in your course materials.
API-based approach
The API uses standard HTTP POST requests to deliver audio, eliminating the need for complex client-side libraries or local processing power. This approach ensures that your LMS can generate speech from any server environment without managing heavy dependencies.
By relying on simple JSON payloads, you can integrate TTS directly into your existing Python scripts or LMS plugins. This reduces technical overhead and allows teachers to focus on content creation rather than infrastructure maintenance.
Standard HTTP requests
Send text via a simple POST request to the /v1/audio/speech endpoint. The API returns an audio file in your chosen format, making it easy to save directly to your course materials.
No local dependencies
Since synthesis happens on our cloud servers, your LMS does not need to install large voice models or handle CPU-intensive audio encoding. This keeps your local environment lightweight and reduces compatibility issues across different operating systems.
Scalability
The cloud-based architecture processes requests in sequence. Whether you are generating audio for a single student or a whole cohort, the API processes requests in sequence, ensuring consistent delivery without requiring you to manage server capacity.
OpenAI SDK compatibility
The API follows the standard OpenAI speech endpoint structure. You can use the official Python SDK by simply pointing base_url to our endpoint. This means existing code patterns for TTS work immediately without rewriting logic.
Switching from OpenAI or other compatible services requires only changing the base URL and API key. No new libraries or complex adapters are needed, allowing you to leverage familiar tools like openai directly.
Same request shape
Our POST /v1/audio/speech endpoint accepts the exact same JSON body as the OpenAI API. Fields like model, input, voice, and response_format map directly, ensuring zero friction during integration.
- Supports
tts-1andtts-1-hdmodels - Accepts standard parameters:
voice,input,response_format,speed
Easy migration
Updating your LMS integration is a one-line change. Replace the base URL with https://api.788t.info/v1 and insert your LectioLab API key. The request structure remains identical, so your existing Python scripts continue to function correctly.
- Minimal code changes required
- Drop-in replacement for OpenAI endpoints
Familiar interface
Developers already comfortable with the OpenAI Python library will find this API intuitive. The same methods and error handling patterns apply, reducing the learning curve for your team. You can generate audio files using the same client.audio.speech.create() pattern.
- Uses standard
openaiPython client - No custom SDK installation needed
Voice options
The API offers eight distinct voice presets, ranging from warm narrators to deep documentary styles. These voices are derived from licensed recordings and public-domain audiobook readings, ensuring a professional baseline for course materials without requiring custom voice design.
Each voice handles any of the 23 supported languages natively. You select the voice and optionally specify the language ISO code to ensure accurate pronunciation, especially for non-English Latin-script texts where language guessing might default incorrectly.
8 presets available
Choose from female voices like Aria for clear narration or Luna for storytelling, and male voices like Felix for energetic promos or Atlas for neutral news delivery. These eight presets cover common pedagogical needs, from instructional guides to course introductions.
All voices share the same engine and pricing structure. Whether you switch between Aria and Milo within a single course module, the cost remains consistent at $0.01 per 1,000 characters, simplifying budget calculations for methodologists.
- Aria: warm, clear narrator
- Nova: bright, upbeat
- Luna: soft, storytelling
- Sage: calm, instructional
- Felix: energetic, promo
- Milo: friendly, conversational
Multi-language support
The system supports 23 languages, including English, Spanish, German, French, and Chinese. Any voice can speak any supported language, allowing you to maintain a consistent narrator voice across multilingual course materials.
If the language field is omitted, the system guesses the language from the script. For Latin-script text that is not English, always set the language code explicitly to avoid mispronunciation, as the default guess is English.
Consistent quality
Generated audio carries an inaudible watermark marking it as synthetic speech. This ensures transparency for students while maintaining consistent audio quality across all generated files, regardless of the voice or language used.
Quality is uniform across all presets. There are no varying tiers of realism or emotion tags; each voice delivers a stable, clear output suitable for educational content, ensuring predictable listening experiences for your audience.
Format flexibility
The API returns audio in MP3, WAV, Opus, FLAC, or PCM formats, allowing you to choose the optimal balance between file size and quality for your LMS. MP3 offers efficient storage, while WAV ensures maximum compatibility with legacy learning management systems. You can specify the format directly in the request body via the response_format field.
MP3, WAV, Opus
Selecting the correct format ensures seamless playback across different student devices and LMS players. MP3 is efficient for storage, while WAV provides uncompressed audio for high-fidelity requirements. Opus offers excellent compression for lower bandwidth scenarios.
No custom SDK needed
You do not need to install proprietary libraries specific to our platform. Since the endpoint shape matches the OpenAI speech API, you can use the standard openai Python package or any HTTP client like requests. This reduces dependency overhead and simplifies maintenance in your existing codebase.
Standard protocols
The service relies on standard RESTful HTTP POST requests. This means you can integrate it into any workflow that supports standard API calls, including cron jobs, serverless functions, or backend services. No special middleware or proprietary protocols are required to connect your LMS.
Pricing comparison
Pricing is straightforward: $0.01 per 1,000 characters, including spaces and punctuation. Failed requests are free, ensuring you only pay for successful audio generation. This per-character model eliminates the guesswork of volume tiers.
There are no monthly fees, seats, or minimum spend requirements. You top up via USDT (TRC-20) with a $5 minimum. Balances do not expire, allowing you to manage costs precisely according to your course production schedule.
Per-character model
At $10 per million characters, the cost scales linearly with your content volume. This structure is ideal for methodologists who generate varying amounts of audio daily without worrying about unused credits or overage charges.
Spaces and punctuation count as characters, so plan your text length accordingly. Failed requests are free, protecting your budget from API errors.
- $0.01 per 1,000 characters
- $10 per 1 million characters
- Failed requests are free
No monthly fees
Unlike subscription-based services, LectioLab requires no recurring billing cycles. You only pay for what you use, making it easy to align expenses with academic terms or specific course launches.
Top-ups via USDT on the TRON network are processed automatically within minutes. There are no hidden costs, invoices, or VAT complications to manage.
- No monthly plans
- No seats or minimum spend
- Balance does not expire
Transparent costs
Your dashboard displays the exact balance, characters left, and usage history. This transparency allows educators to forecast audio production costs accurately before generating large course modules.
The per-character model ensures predictable expenses, regardless of audio length or voice selection. Both tts-1 and tts-1-hd use the same engine and price.
Performance
Text-to-speech synthesis operates at approximately real-time speed, processing roughly 25 characters of text per second of generated audio. This ratio holds for long-form content, though short phrases may require a few additional seconds for initialization.
Real-time generation
The engine processes input text at a pace that matches natural listening speeds. For extended course materials, the generation time correlates directly with the audio length, allowing for predictable processing windows during automated LMS workflows.
Queue handling
Requests are processed sequentially, meaning your synthesis job waits in line behind others. Under heavy load, you may experience delays before processing begins. The system handles one request at a time per key, ensuring consistent order.
- Sequential processing ensures predictable audio concatenation
- Delays occur only during peak load periods
- No priority tiers or paid fast lanes
Latency
Latency depends on text length and current queue depth. Short texts return quickly, while longer segments wait for prior jobs to complete. The 60 requests-per-minute limit prevents overwhelming the server, maintaining stable throughput.
- Short phrases: few seconds
- Long texts: real-time ratio
- Queue adds variable wait time

Data privacy
Input text is used exclusively for synthesis and is never repurposed for model training. Generated audio is returned in the response stream and is not persisted on our servers, ensuring that your course materials remain private to your workflow.
No training on data
Your text inputs are processed solely to generate the audio file. We do not use your content to improve our engine or train future models, preserving the integrity of your proprietary course materials.
No audio storage
Synthesized audio files are delivered directly in the response and are not stored after delivery. This ensures that once the audio is downloaded to your LMS or device, no copy remains on our infrastructure.
Metadata only
We retain only request metadata—timestamp, character count, and status—for billing and operational purposes. No audio content or source text is archived beyond the immediate session.
Support and docs
LectioLab provides straightforward support via email for integration questions and billing inquiries. There is no phone line or live chat; you will receive a written response from our team when you need assistance with your LMS workflow.
Our documentation is structured for engineers and methodologists who need clear, concise references. We avoid marketing fluff, focusing instead on precise endpoint descriptions, parameter definitions, and troubleshooting steps that help you get your audio pipeline running quickly.
Email support
Send your queries to our support address. We handle integration issues, key provisioning, and payment questions. Responses are delivered via email, ensuring a clear record of your support ticket.
Clear documentation
Read the full API reference to understand request shapes, rate limits, and error codes. We provide detailed guides on splitting long texts and handling audio formats to ensure reliable automation in your course materials.
Example code
Copy ready-to-use Python snippets that demonstrate how to call the speech endpoint using the OpenAI SDK. These examples cover basic generation, voice selection, and format specification, allowing you to integrate TTS into your LMS with minimal code changes.
- Python 3.6+ compatibility
- OpenAI SDK integration
- MP3 and WAV output examples
Use case: LMS integration
Converting course materials into audio via the API allows educators to update content rapidly without re-recording. By sending text through standard HTTP requests, you generate MP3 or WAV files that integrate directly into your LMS workflow, ensuring materials stay current with minimal effort.
This approach supports accessibility compliance by providing audio versions of reading materials. Students can consume lectures or readings in alternative formats, meeting standard requirements for inclusive education without manual intervention for each new module.
Automated content creation
Use the Python OpenAI SDK to batch-convert syllabi, reading lists, or lecture notes. Each request processes up to 4096 characters, returning an audio file ready for upload to your course page.
The process is straightforward: send the text via POST /v1/audio/speech and receive the file. This eliminates the need for local TTS engines or complex infrastructure setups.
- Batch convert reading materials
- Update course content instantly
- No local dependencies
Accessibility compliance
Generate audio from existing text to support diverse learning needs. The API supports 23 languages, allowing you to provide accessible content in multiple languages if your institution serves an international student body.
Audio files are generated on demand, ensuring that new readings are immediately available in audio format without waiting for production teams.
Student engagement
Audio content allows students to learn during commutes or while multitasking. With eight voice presets, you can choose a tone that fits the subject matter, from calm narration to energetic explanations.
The consistent quality across voices ensures a professional listening experience, encouraging students to engage with the material more frequently.
Use case: Course recordings
Automated text-to-audio conversion allows methodologists to transform static course materials into accessible audio formats without manual recording. This process supports students who prefer listening to reading, enhancing engagement and accessibility across diverse learning styles.
Multi-voice narration allows distinct voices for different sections, making complex topics easier to follow. By assigning specific presets to various characters or topics, educators can create a more dynamic and engaging listening experience.
Text to audio conversion
Convert your course materials into high-quality audio files using the API. The system handles character splitting and joins the resulting audio seamlessly, ensuring smooth playback for long lectures or detailed readings.
You can generate MP3 or WAV files directly, which are widely supported by most Learning Management Systems. This eliminates the need for external conversion tools or local processing power on your server.
- Supports up to 4096 characters per request
- Seamless joining of split audio segments
- Outputs MP3, WAV, Opus, FLAC, or PCM
Multi-voice narration
Assign different voices to different parts of your content to enhance clarity. For example, use a neutral voice for factual content and a warmer tone for storytelling segments.
This feature helps distinguish between speakers or topics, reducing listener fatigue during long audio courses. You can switch voices within a single session or across different audio files.
Available voices include options like Aria for clear narration or Felix for energetic promos, allowing you to match the tone of your material precisely.
- 8 distinct voice presets available
- Consistent quality across all voices
- Supports 23 languages including English, Spanish, and German
Custom playlists
Create custom playlists by combining multiple audio files generated from different texts. This allows you to curate specific lessons or topics into a single audio stream for easier student consumption.
You can generate individual audio files for each section of a course and then combine them using standard audio tools.
This approach provides flexibility in organizing content, allowing students to listen to specific topics or review particular sections without replaying entire long-form lectures.
- Combine multiple audio files into playlists
- Flexible organization by topic or lesson
- Easy integration with standard LMS playlist features
Conclusion
Converting course materials into audio is now a straightforward, cost-effective process. By leveraging the OpenAI SDK compatibility, educators can integrate TTS into their LMS workflows without managing complex infrastructure or licensing fees. The combination of clear, synthetic voices and standard formats ensures reliable accessibility for students while keeping operational overhead minimal.
Summary of benefits
The API offers predictable pricing at $0.01 per 1,000 characters with no monthly commitments. Input data is used solely for generation, ensuring privacy without training usage. You gain access to eight distinct voices across 23 languages, all deliverable via standard HTTP requests compatible with existing Python libraries.
- Zero monthly fees or minimum spend requirements
- Private data handling with no audio storage
- Standard OpenAI SDK integration for ease of use
Recommendation for educators
For methodologists and teachers prioritizing accessibility and content scalability, this API provides a robust, lightweight solution. It eliminates the need for custom voice cloning or SSML, focusing instead on reliable audio generation that integrates with existing course materials.
Next steps
Sign in with Google to receive immediate trial credit. Generate your API key and test the speech endpoint with your first course chapter. Use the provided Python examples to automate the conversion of your remaining syllabus materials into accessible audio files.
- Create an account on 788t.info/get-api-key/
- Test the POST /v1/audio/speech endpoint
- Deploy to your LMS environment
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. We retain only request metadata—timestamp, character count, and status—for billing and operational purposes.
23 languages
Any voice speaks any of these languages.
