Frequently asked questions
What is a TikTok voice over generator?
CourseVoice is a cloud text-to-speech API that converts text into audio files via a simple POST request. It generates human-sounding narration for e-learning modules, not just TikTok. You send JSON input and receive audio in formats like mp3 or wav, making it suitable for any platform requiring consistent voice-over without hiring talent.
How do I generate voice-overs for my online courses?
Send a POST request to https://api.mxgana.info/v1/audio/speech with your script, selected voice, and format. Authenticate with your API key. The API returns the audio file directly. For long scripts, split text into 4096-character chunks, generate each part, and join the resulting audio files for your final course module.
Which voice is best for instructional content?
Q: Which voice is suitable for instructional content? A: Sage is designed for calm, instructional narration. Atlas offers a neutral, news-style delivery suitable for factual content. For conversational or friendly tones, consider Milo. All eight voices can speak any of the 23 supported languages, allowing you to match the tone precisely to your course material without needing custom voice design.
Can I use the API for multiple course modules?
Yes, the API supports unlimited requests within your rate limits. You can generate audio for as many modules as needed. There are no monthly plans, seats, or minimum spend requirements. Each request is billed based on character count, making it scalable for single courses or extensive library expansions.
How many characters can I send in one request?
Each request accepts up to 4096 characters of input text. Spaces and punctuation count toward this limit. For longer course scripts, split the text into parts of 4096 characters or less, generate audio for each part, and join the files to create a continuous narration track for your module.
Does the API support multiple languages?
Yes, the API supports 23 languages including English, Spanish, German, French, Japanese, and Chinese. Any voice can speak any supported language. If the language is not specified, it is guessed from the script, but setting the ISO code explicitly ensures accuracy for non-English Latin-script text or specific language requirements.
Are the voices human or synthetic?
The voices are synthetic but based on licensed recordings from LibriTTS-R and LibriVox. Every generated file contains an inaudible watermark marking it as synthetic speech. The voices are presets derived from licensed recordings (LibriTTS-R) and public-domain audiobook readings (LibriVox), providing consistent, human-sounding narration without the variability of live human recording sessions.
Is there a limit to how many requests I can make?
You are limited to 60 requests per minute per API key. Before your first top-up, this limit is 10 requests per minute. Requests are processed sequentially, so under load, a request may wait in a queue. Failed requests do not count against your limit and are free.
How long does it take to generate audio?
Generation takes roughly real time, averaging about 25 characters of text per second of audio. Short phrases may take a few seconds. Under load, requests are processed one after another, so generation time may increase if many requests are queued. Typical long texts generate at near real-time speed.
Can I edit the text after generating audio?
Yes, you can edit the text and send a new request. The API does not store the generated audio permanently, only request metadata for billing. You can regenerate audio for specific sections by sending new text inputs, allowing you to refine narration for your course modules as needed.
Do I need technical skills to use the API?
Basic technical skills are helpful but not mandatory. The API uses standard JSON requests compatible with the OpenAI SDKs. You can use curl examples or simple scripts. For non-technical users, the /get-api-key/ page provides ready-to-use examples. No custom SDK or complex setup is required to start generating audio.
What happens if a request fails?
If synthesis fails, the charge is returned in full. No characters are deducted from your balance. You can retry the request with the same or modified parameters. Failed requests are free, ensuring you only pay for successfully generated audio files. Check your response status for details on the failure cause.
How is billing calculated for course content?
Billing is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count as characters. Failed requests are free. You can top up using USDT on the TRON network (TRC-20) with a minimum of $5. Balance does not expire, and there are no monthly plans.
Is my course script data stored permanently?
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 permanently. Request metadata, such as time, characters, and status, is kept for billing purposes. Your course scripts are not retained for other uses.
First request
curl
curl https://api.mxgana.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.mp3Why use TTS for online courses?
For creators building courses without hiring voice talent, maintaining a single narrator’s voice across dozens of modules is difficult. Our TTS API ensures your English, Spanish, or German modules sound consistent, eliminating the jarring effect of switching voices between lessons.
Curriculum changes require re-recording only the modified text, not the entire module. This reduces production time significantly, allowing you to update course content rapidly without scheduling studio sessions or managing talent availability.
Consistent narrator across all modules
Human voice actors vary in tone and quality. Using a single preset like Sage (calm, instructional) or Milo (friendly, conversational) guarantees uniform audio quality across your entire library, from introductory videos to advanced technical deep-dives.
Consistency builds trust with learners. When the narration style remains stable, students focus on the material rather than adjusting to different speaking styles or audio artifacts between modules.
Rapid content updates without re-recording
When you need to correct a fact or update a statistic, generate a new audio file from the revised text in seconds. There is no need to re-record the entire module or wait for a voice actor’s availability.
Send the updated script via a simple JSON request and receive the new audio file immediately. This workflow supports agile course development, where content evolves based on user feedback or industry changes.
Cost-effective scaling for large libraries
Pricing is $10 per 1 million characters, with no monthly subscription fees. You pay only for the characters you use, making it economical to expand your course catalog without increasing fixed overhead.
Unlike hiring multiple voice actors or maintaining a recording studio, API usage scales linearly with content growth. This model suits no-code creators who need to produce high volumes of audio without significant upfront investment.
Available voices for education
Select a voice preset that matches your course's pedagogical style. The API supports eight distinct voices, each optimized for specific delivery modes, ensuring your narration remains consistent across all modules without the variability of hiring external talent.
Sage: Calm, instructional tone
Sage is designed for structured learning content. Its steady, clear delivery reduces cognitive load, making it ideal for complex tutorials or step-by-step guides where clarity is paramount.
- Best for: Technical tutorials, academic lectures, and detailed explanations.
Milo: Friendly, conversational style
Milo offers a warm, approachable voice that simulates a one-on-one coaching session. Use this for introductory modules or soft-skill courses to keep learners engaged and comfortable.
- Best for: Onboarding videos, conversational practice, and engaging introductions.
Atlas: Neutral, news-style delivery
Atlas provides a professional, unbiased narration style. It is particularly effective for factual content, news-style updates, or objective reporting where emotional inflection is secondary to accuracy.
- Best for: Fact-based modules, news updates, and objective reporting.
Supported languages for global reach
CourseVoice supports 23 languages, allowing you to localize course content without hiring new voice talent. Every voice preset can speak any supported language, ensuring consistent audio quality across your entire library. You can specify the language using an ISO code or let the system guess it from the text script, though setting it explicitly is recommended for non-English Latin texts.
Major languages: English, Spanish, German
These core languages are fully supported with all eight voice presets available. Whether you need the calm, instructional tone of Sage or the energetic promo style of Felix, you can generate high-quality narration in English, Spanish, or German. This flexibility helps maintain brand voice consistency across different regional modules.
Asian markets: Japanese, Korean, Chinese
Expand into Asian markets with native-sounding narration in Japanese, Korean, and Chinese. All eight voices work across these languages, letting you choose the perfect tone for your educational content. Whether you prefer the soft storytelling of Luna or the deep documentary style of Orion, these languages are ready for your scripts.
European variants: French, Italian, Portuguese
Support diverse European audiences with French, Italian, and Portuguese narration. The API handles complex phonetics accurately across all 23 supported languages. Use the same API endpoint and voice selection process you already know, simply changing the language parameter to reach new learners in these regions.
API integration for no-code users
Our API follows a standard JSON structure, making it easy for no-code platforms like Zapier or Make to handle. You send text, specify the voice, and receive an audio file without complex middleware.
Simple JSON request structure
Send a POST request to the speech endpoint with your text and voice selection. The body is a standard JSON object containing the model, input text, and desired voice preset.
- Standard JSON payload
- Supports up to 4096 characters per request
- Optional language code for Latin-script text
OpenAI SDK compatibility
Use the official OpenAI SDKs by simply changing the base URL to our API endpoint. This allows you to integrate voice generation into existing workflows with minimal code changes.
Direct audio file delivery
The API returns the generated audio file directly in the response body. No need to fetch the file from a separate storage bucket; the audio is delivered immediately upon synthesis.
Text-to-speech formats
Select the output format that fits your LMS player requirements. The API supports MP3, WAV, OPUS, and FLAC, allowing you to balance file size, quality, and compatibility.
MP3 for web playback
MP3 is the standard choice for embedding audio directly into course modules. It offers small file sizes and universal browser support, ensuring smooth playback for students on any device.
WAV for high-quality needs
WAV provides uncompressed audio for maximum fidelity. Use this format if your production workflow requires lossless quality or if your LMS player handles large files efficiently.
OPUS and FLAC options
OPUS delivers efficient compression for modern web players, while FLAC offers lossless compression. These formats provide flexibility for specific technical constraints or archival purposes within your course library.

Pricing for course creators
CourseVoice charges $0.01 per 1,000 characters, including spaces and punctuation. At $10 per million characters, you can generate approximately 100,000 seconds of audio, covering extensive course libraries without upfront costs.
Balance never expires, and failed requests are free. This model ensures you only pay for successful narration, making it predictable for scaling e-learning content.
$10 per 1 million characters
Each request consumes characters based on input length. With a 4096-character limit per call, longer scripts require splitting. Typical generation speed is roughly real-time, costing minimal amounts per module.
- Cost: $0.01 per 1,000 characters
- Spaces and punctuation count as characters
- Failed requests are free
No monthly subscription fees
There are no seats, minimum spends, or recurring bills. Accounts start with a $0.50 trial credit for 7 days. Top-ups via USDT (TRC-20) are processed automatically within minutes.
- No monthly plans or subscriptions
- No minimum spend requirements
- Balance does not expire
Pay only for used characters
Usage is tracked via request metadata for billing accuracy. You receive audio directly in the response, with no storage fees. This pay-as-you-go structure suits intermittent content updates perfectly.
Technical limitations to know
CourseVoice provides reliable narration, but specific constraints apply to API usage. Understanding these limits ensures your LMS integration runs smoothly without unexpected errors or delays during content generation.
4096 character limit per request
Each API call accepts a maximum of 4,096 characters. If your course script exceeds this length, you must split the text into smaller chunks and join the resulting audio files.
No SSML or emotion tags
The engine does not support SSML, phoneme dictionaries, or emotion tags. Voice expression is determined by the selected preset (e.g., Sage for instructional tone) rather than markup instructions.
Standard latency for generation
Generation typically takes a few seconds per short phrase. Under load, requests may queue, so long texts generate at roughly real-time speed. Failed requests incur no charge.
How it works
CourseVoice provides a straightforward workflow for generating narration. You structure your course script, split it into manageable chunks, and send it to our API endpoint.
Send text via API endpoint
Construct a JSON payload with your text, selected voice, and desired format. The request is sent via a simple POST to the API base URL. Ensure each request stays within the 4096 character limit to guarantee consistent synthesis.
- Use POST method for /v1/audio/speech
- Include 'model', 'input', and 'voice' fields
- Authenticate with your Bearer token
Receive audio file response
The API returns the generated audio file directly in the response body. You receive standard formats like MP3 or WAV, ready for immediate playback. Failed requests incur no charge, ensuring cost efficiency.
Integrate into LMS player
Link the returned audio file to your course module’s media player. Since the audio is returned directly, you can store it or stream it based on your LMS capabilities. This allows for rapid content updates without re-recording voice-overs.
Get started with CourseVoice
Create your account at /get-api-key/ using your Google credentials. This provides immediate access to your unique API key and a $0.50 trial credit valid for seven days, allowing you to generate approximately 50,000 characters without payment details.
Once authenticated, you can immediately begin sending text to the API. The system processes your course scripts and returns synthesized audio files, enabling rapid iteration on your e-learning modules before committing to larger top-ups via USDT.
Sign up for a Google account
Navigate to the /get-api-key/ page and select Google sign-in. This creates your independent storefront account instantly. You will receive one active API key for authentication.
Note that accounts created this way start with trial credit. Email-only accounts do not include this bonus.
- Instant account creation via Google OAuth
- Immediate access to API dashboard
- No credit card required upfront
Receive $0.50 trial credit
Your new account includes $0.50 in trial credit, valid for seven days. This covers approximately 50,000 characters of speech synthesis, allowing you to test voice quality and integration.
This credit is distinct from paid balances. It expires after seven days, so use it to verify your workflow before purchasing USDT for long-term scaling.
- $0.50 initial value
- 50,000 character capacity
- 7-day validity period
Start generating voice-overs
Use your API key to send POST requests to the speech endpoint. Select voices like Sage for instructional content or Milo for conversational modules. The API returns audio files directly, which you can embed in your LMS player.
For texts exceeding 4,096 characters, split them into segments, generate each part, and join the resulting audio files. This ensures consistent narration across your entire course library.
- Use tts-1 or tts-1-hd models
- Support for MP3, WAV, OPUS, FLAC
- Split long texts >4096 chars
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. It maintains a professional yet approachable demeanor throughout long modules.
23 languages
Any voice speaks any of these languages.
