Frequently asked questions
What is the best voice for French pronunciation?
Q: Which voice is best for French pronunciation? A: All eight voices support French. Aria offers a warm, clear narrator style suitable for instructional materials. Luna provides a soft, storytelling tone for listening comprehension. Select the voice that matches your pedagogical approach, as any voice can speak French accurately.
How do I ensure accurate French pronunciation?
Set the language parameter to "fr" in your request. Without this, Latin-script text defaults to English. Explicitly defining the language ensures the engine applies correct French phonetics. This is critical for non-English Latin-script text to avoid mispronunciation in your exercises.
Can I control the speed of the audio?
Yes, adjust the speed parameter between 0.25 and 4.0. This allows you to slow down audio for detailed pronunciation drills or speed it up for advanced listening tests. The API processes requests sequentially, so speed adjustments do not affect queue wait times.
Does the API support accented characters?
The API accepts standard text input up to 4096 characters. Accented characters are treated as part of the input text. Spaces and punctuation count toward the character limit. Ensure your input text is properly encoded before sending the POST request to the speech endpoint.
How do I handle long texts for exercises?
Split your text into parts of up to 4096 characters. Send each part as a separate request and join the resulting audio files. This ensures consistent generation quality. Typical speed is roughly real-time, so long texts will take time proportional to their length.
Is the audio suitable for listening tests?
Yes, the synthetic speech includes an inaudible watermark marking it as synthetic. The audio quality is consistent across all voices. Failed requests are free, ensuring you only pay for usable audio. This makes it reliable for generating standardized listening comprehension materials.
Can I use different voices for different characters?
Yes, specify a different voice for each request. You can assign Aria for one character and Felix for another. Each request generates a separate audio file. This allows you to create distinct audio profiles for various roles in your educational content.
How do I integrate this into a learning platform?
Send a POST request to https://api.broo55.cc/v1/audio/speech with your Bearer token. Use the standard OpenAI SDK by changing the base_url. The response returns the audio file directly. Integrate this call into your platform’s text-to-audio workflow for on-demand generation.
What happens if the text is in multiple languages?
The language is guessed from the script if not set. For mixed languages, explicitly set the language parameter to the dominant language or split the text. Latin text defaults to English. For non-English Latin text, always set the language to ensure accuracy.
Is the API reliable for high-volume usage?
Rate limits are 60 requests per minute per key. Requests are processed sequentially, so under load, a request may wait in a queue. Ensure your integration handles queue delays.
How do I track my usage costs?
Check the /get-api-key/ page to view your balance, characters left, and usage history. Costs are $0.01 per 1,000 characters. Failed requests are free. The dashboard provides real-time data on your consumption, allowing precise tracking of expenses for your language courses.
Can I download the audio files for offline use?
Yes, the API returns the audio file in the response. You can save the file locally for offline use in learning materials. The audio carries an inaudible watermark. Generated audio is not stored by the API, so you must save it yourself.
Does the API support voice cloning?
No, the API uses eight preset voices based on licensed recordings. There is no custom voice cloning or uploading of your own voice. Each voice is a fixed preset. This ensures consistent output without the variability of cloning technology.
What is the latency for generating audio?
Typical speed is roughly real-time, about 25 characters per second. Short phrases take a few seconds. Requests are processed sequentially, so latency may increase under load. Plan your integration accordingly, especially for high-volume generation during peak usage times.
Understanding Synthetic Speech for Education
Synthetic speech provides consistent pronunciation for educational materials, eliminating the variability of human narration. This reliability ensures that learners hear the same phonetic standard across all exercises, which is critical for building accurate auditory memory in language acquisition.
Consistency in Pronunciation
Each generated audio file maintains uniform phonetic accuracy, allowing educators to standardize listening comprehension tests. The API processes text up to 4096 characters per request, ensuring that pronunciation remains stable even within longer instructional segments.
Variety in Voice Selection
Learners benefit from exposure to different vocal timbres, which can aid in distinguishing speech patterns. The platform offers eight distinct voice presets, including female options like Aria and Luna, and male options such as Felix and Milo, all capable of fluent French delivery.
- Aria: Warm, clear narrator suitable for textbook readings.
- Nova: Bright and upbeat, ideal for engaging interactive exercises.
- Luna: Soft tone for storytelling-based lessons.
- Sage: Calm and instructional, designed for clear command delivery.
- Felix: Energetic voice for promotional or quick-practice drills.
- Milo: Friendly, conversational tone for dialogue simulations.
Audio Quality Standards
Preparing Text for Synthesis
To ensure accurate phonetic output for French pronunciation exercises, input text must adhere to strict character constraints. Each API request accepts a maximum of 4096 characters, including spaces and punctuation. Exceeding this limit results in a failed request, which remains free of charge. You must split the content into parts of up to 4096 characters and join the resulting audio files.
Proper text preparation is critical for maintaining linguistic integrity. The system does not support SSML or custom pronunciation lexicons, so all phonetic nuances must be represented directly in the standard text. Special characters, accents, and punctuation must be valid UTF-8 to ensure correct language detection and synthesis.
Character Limit Management
The API enforces a hard limit of 4096 characters per request. This count includes every character in the input string, such as spaces, commas, and accent marks. For educational materials, it is advisable to keep individual phrases concise to avoid truncation.
If a text exceeds this limit, the synthesis will fail. Since failed requests are free, you can safely test boundaries without incurring costs. However, accurate counting is necessary to prevent workflow interruptions during automated exercise generation.
- Limit: 4096 characters per request.
- Includes spaces and punctuation.
- Failed requests are free.
Handling Special Characters
French requires specific diacritics (e.g., è, ê, é, ç) for correct pronunciation. Ensure your text encoding is UTF-8. The API guesses the language from the script; if Latin script is used for non-English text, you must explicitly set the language parameter to 'fr' to avoid defaulting to English pronunciation.
Avoid relying on implicit pronunciation rules for rare homographs. Since custom lexicons are not available, standard spelling is the only variable for pronunciation accuracy. Test ambiguous words with different voices to ensure clarity for students.
- Use valid UTF-8 encoding.
- Set
language: 'fr'explicitly. - Standard spelling determines pronunciation.
Splitting Long Texts
For longer lesson texts, split the input into chunks of up to 4096 characters. Synthesize each chunk separately and join the resulting audio files sequentially. This ensures that no part of the text is truncated or silently dropped.
Use a simple script to divide the text by sentence boundaries or fixed character counts. Concatenate the output audio files (mp3, wav, or flac) to create a single continuous audio file for the learner.
Selecting the Right Voice
Voice selection directly influences learner comprehension and engagement in phonetic exercises. Phoneme Logic provides eight distinct presets, allowing educators to differentiate between narrative storytelling and clear instructional delivery based on the specific pedagogical goal of the audio file.
Narrative vs. Instructional Tones
Aria offers a warm, clear narrator style suitable for continuous listening comprehension passages. Sage provides a calm, instructional tone ideal for explicit pronunciation drills where clarity of individual phonemes is prioritized over expressive nuance.
Gender and Pitch Variations
The API supports four female voices (Aria, Nova, Luna, Sage) and four male voices (Felix, Milo, Atlas, Orion). Using varied gender and pitch helps maintain student attention during repetitive listening exercises and mirrors natural classroom diversity.
- Aria: Warm, clear narrator
- Sage: Calm, instructional
- Felix: Energetic, promo
- Milo: Friendly, conversational
Matching Voice to Context
Select voices based on content type. Use Atlas for neutral news-style readings or Orion for deep documentary tones. Ensure the voice matches the emotional context of the French text without introducing unintended interpretive bias that could distract from phonetic analysis.
Technical Implementation Steps
Authentication relies on a Bearer token passed in the Authorization header. Each account holds one active key; issuing a new key immediately invalidates the previous one. This ensures strict access control for institutional accounts without complex credential management.
The API accepts standard JSON payloads. By setting the base URL to https://api.broo55.cc/v1, the official OpenAI SDKs can route requests directly. This reduces integration overhead for developers already familiar with the standard TTS endpoint structure.
API Key Authentication
Include the header Authorization: Bearer tts-... in every request. The key is issued upon account creation or regeneration. Ensure the key is transmitted securely via HTTPS to prevent interception during transmission to the synthesis engine.
Constructing the JSON Body
Define the model as tts-1 or tts-1-hd. Set input to the French text, ensuring it does not exceed 4096 characters. Specify voice (e.g., nova or aria) and set language to fr to force French output, avoiding guess errors.
- model: "tts-1" or "tts-1-hd"
- voice: e.g., "nova" (bright) or "aria" (narrator)
- response_format: "mp3" or "wav"
- speed: 1.0 (adjustable 0.25–4.0)
Sending the POST Request
Send a POST request to /v1/audio/speech. The request body contains the JSON payload. The endpoint processes the text sequentially. Under load, requests may queue, affecting generation time for large batches.
Processing the Response
The API returns the generated audio file directly in the response body, eliminating the need for polling or additional retrieval steps. You receive a single file in the requested format (mp3, wav, opus, flac, or pcm), ready for immediate use in your educational materials.
Receiving Audio Data
Upon a successful 200 OK response, the binary audio data is embedded in the payload. Ensure your client library is configured to handle binary streams correctly, as the response contains raw audio bytes rather than a JSON object with a URL.
Saving Audio Files
Write the received binary data directly to disk or a cloud storage bucket. Since the API does not store generated audio, you are responsible for persisting the files. Name files sequentially to maintain order for pronunciation exercises, such as lesson_1_phrase_1.mp3.
- Verify file integrity by checking the byte count matches the expected duration.
Handling Errors
If synthesis fails, the API returns a non-200 status code with an error JSON body. Failed requests are free, so no credit is deducted. Log the error message to identify issues like invalid character limits or unsupported voice parameters.
- Check for 400 (Bad Request) errors for input validation issues.
Integrating into Learning Platforms
Once audio files are generated, they must be integrated into your learning management system (LMS) or course materials. Since the API returns standard audio formats (mp3, wav, opus, flac, pcm), these files can be directly embedded as standard media elements within HTML5 players or attached to lesson modules.
Embedding Audio in LMS
Upload the generated audio files to your LMS media library or a static asset server. Use standard HTML5 <audio> tags or your platform’s native media embed codes to link the files. This ensures compatibility with most modern browsers and devices without requiring proprietary plugins.
- Use mp3 or wav for maximum compatibility.
- Link files via direct URL in LMS media zones.
- Ensure consistent naming conventions for easy updates.
Automating Exercise Creation
For large-scale curriculum development, automate the generation process by scripting requests that send predefined text strings to the API. Store the resulting audio URLs in your database or LMS gradebook, linking them to specific vocabulary words or phrases for instant student access.
- Batch generate audio for entire vocabulary lists.
- Store audio URLs in course metadata.
- Trigger regeneration if text corrections are made.
User Experience Considerations
Ensure audio files load quickly by using reliable hosting. Provide clear controls for playback speed, as the API supports speeds from 0.25 to 4.0, allowing students to slow down complex phonetic sequences.
- Offer speed controls (0.25x–4.0x) for learners.
- Preload audio to minimize waiting time.
- Ensure mobile-friendly playback interfaces.
Language Detection and Specification
Accurate language specification ensures synthetic speech matches the intended phonetic rules, which is critical for pronunciation drills. The API attempts to infer the language from the script, defaulting to English for Latin text if unspecified.
Automatic Detection Accuracy
The system guesses the language based on character sets. This works well for distinct scripts but may fail for mixed-language texts or less common Latin-based languages.
Explicit Language Tagging
For reliable results, always provide the language field with the ISO code (e.g., 'fr' for French). This overrides detection and ensures consistent voice rendering.
Handling Ambiguous Scripts
Latin script text defaults to English. To generate French audio from Latin characters, set the language parameter explicitly. Unsupported languages like Vietnamese, Ukrainian, Indonesian, Thai, Romanian, Czech, and Bengali will not synthesize correctly.
- Set
language: 'fr'for French texts. - Default to English for unlabeled Latin text.
- Verify ISO codes before bulk generation.

Quality Assurance for Audio Output
Quality assurance for synthetic speech in educational contexts relies on verifying phonetic consistency and technical compliance. Since the engine generates audio from licensed recordings, output remains uniform across repeated requests, ensuring that pronunciation drills for French learners are reproducible and reliable without unintended variations.
Verification involves checking speed settings for clarity and confirming that the audio format matches your learning management system requirements. By adjusting the speed parameter between 0.25 and 4.0, educators can slow down complex French phonemes for listening comprehension exercises, ensuring students can accurately discern subtle linguistic features.
Checking Pronunciation Accuracy
The API uses consistent voice presets like Aria or Luna, which provide stable phonetic articulation. For French, specify the language field as "fr" to prevent default English guessing. This ensures correct handling of nasal vowels and liaisons, critical for accurate pronunciation instruction.
- Specify
language: "fr"to enforce correct phonetic rules. - Use voices like Luna for soft, storytelling clarity in exercises.
- Verify output by listening to generated samples before bulk generation.
Speed Adjustment Options
Adjust the speed parameter (0.25–4.0) to control articulation rate. For detailed phonetic analysis, a slower speed (e.g., 0.75) aids student comprehension. Faster speeds suit general listening practice. Requests are processed sequentially, so queue times may vary under load.
Slower speeds do not alter pronunciation accuracy but enhance perceptibility of subtle French sounds like the uvular /ʁ/ or silent final consonants. This control allows teachers to tailor audio difficulty levels for different proficiency stages.
- Set
speed: 0.75for detailed pronunciation drills. - Use default speed for natural listening comprehension.
- Adjust speed per request to match student proficiency.
Format Compatibility
Select formats like MP3 for broad compatibility or WAV for high-fidelity editing. MP3 is efficient for web delivery, while WAV preserves full spectrum data for professional analysis. FLAC and OPUS offer lossless or efficient compressed alternatives depending on storage constraints.
PCM provides raw audio data, useful for direct programmatic processing. Ensure your LMS or audio player supports the chosen format. All generated files include an inaudible watermark, marking them as synthetic speech for attribution purposes.
- Use MP3 for web-based learning platforms.
- Choose WAV for high-quality archival or editing.
- Select OPUS for efficient bandwidth usage in mobile apps.
Cost Management for Large Projects
Managing audio generation for extensive curricula requires precise cost estimation and efficient resource allocation. By understanding the character-based pricing model and leveraging the API's character limits, educators can predict expenses for large-scale pronunciation exercises with accuracy. This approach ensures that budget constraints are met without compromising the quality of instructional materials.
Effective cost management involves regular monitoring of usage patterns and timely top-ups to maintain uninterrupted service. By aligning character consumption with project milestones, institutions can optimize their spending and ensure consistent audio output for their language learning programs.
Estimating Character Counts
Each request supports up to 4096 characters, including spaces and punctuation. At $0.01 per 1,000 characters, you can calculate exact costs for your text corpus. For example, a 10,000-character lesson costs $0.10. Use this metric to budget for semester-long courses or extensive drill libraries.
Plan your text splitting strategy to maximize efficiency. Since longer texts are processed sequentially, grouping related exercises reduces overhead and ensures consistent pacing in your audio files.
- Count all spaces and punctuation as characters
- Use the 4096-character limit per request to optimize batch sizes
- Calculate costs at $0.01 per 1,000 characters
Budgeting for Top-Ups
Top-ups via USDT (TRC-20) are processed automatically within minutes, ensuring your account remains active without manual intervention. The minimum top-up is $5, which provides approximately 500,000 characters. This allows for significant generation capacity before requiring another transaction.
Since balances do not expire, you can top up in advance during low-usage periods. This strategy helps manage cash flow and ensures that sudden spikes in demand, such as before exam seasons, do not disrupt your audio generation workflow.
- Minimum top-up: $5 USDT (TRC-20)
- Credits are valid indefinitely
- Automatic credit within minutes of transfer
Monitoring Usage
The /get-api-key/ page shows the key, balance, trial, characters left, usage and a ready curl example. Reviewing these metrics helps identify inefficiencies, such as repeated requests for the same text, allowing you to adjust your generation strategy. Consistent monitoring ensures that you stay within your allocated budget for each academic term.
Failed requests are free, so there is no penalty for trial runs or error handling. Use this feature to test voice settings and speed adjustments without impacting your character count or budget.
- Track characters consumed per voice
- Monitor request success rates
- Review balance and usage history
Common Pitfalls and Solutions
Synthesis failures often stem from predictable technical constraints. Understanding the specific limits of the API prevents interrupted pronunciation drills and ensures consistent curriculum delivery.
By anticipating these bottlenecks, educators can maintain workflow continuity without manual intervention or unexpected audio gaps during student exercises.
Character Limit Exceeded
Each request accepts a maximum of 4096 characters. Exceeding this limit causes the synthesis to fail immediately. For long passages, split the text into segments and join the resulting audio files sequentially.
This ensures no data is lost and pronunciation remains accurate across the entire exercise.
- Limit: 4096 characters per request
- Solution: Split text and join audio
Incorrect Language Output
If the language field is omitted, Latin-script French text defaults to English. Always explicitly set the language parameter to fr to guarantee correct phonetic generation.
This prevents the system from guessing incorrectly based on character scripts alone.
- Default: English for Latin script
- Fix: Set language=fr
Rate Limit Exceeded
The API allows 60 requests per minute per key. Rapid batch generation may exceed this, queuing requests or causing temporary delays. Monitor usage to avoid interruption.
For high-volume curriculum creation, space out requests or wait for queue processing to complete.
- Limit: 60 requests/minute
- Status: 10/min before the first top-up.
Advanced Use Cases
Advanced applications leverage the API’s consistency to build structured language exercises. By automating audio generation, educators can create dynamic content that adapts to curriculum needs without manual recording. This approach ensures uniform pronunciation standards across all learning materials.
These use cases maximize the utility of the 4096-character limit and multiple voice presets, allowing for varied auditory stimuli within a single lesson sequence.
Creating Interactive Drills
Generate distinct audio prompts for each quiz item by switching between voices like Aria and Felix. This variation maintains student engagement while ensuring phonetic clarity. The API’s predictable output allows for precise timing in interactive exercises where audio triggers specific user actions.
Use the speed parameter (0.25–4.0) to adjust difficulty. Slower speeds aid beginners, while faster rates challenge advanced learners. Each request remains independent, allowing randomized ordering without re-recording.
- Randomize voice selection per question to prevent pattern recognition.
- Adjust speed dynamically based on student proficiency level.
- Use unique voice profiles for distinct character dialogues in stories.
Generating Dictation Exercises
Produce clear audio files for dictation tasks by specifying the French language code explicitly. This avoids automatic detection errors with ambiguous Latin-script text. The resulting MP3 or WAV files are easily embedded in LMS platforms for student playback.
Since each request is processed sequentially, batch-generate a set of sentences for a single lesson. This ensures consistent audio quality and tone across all items in the exercise, reducing cognitive load for students comparing their written output to the audio.
- Explicitly set 'language': 'fr' to prevent English default guessing.
- Use WAV format for highest fidelity in classroom settings.
- Batch requests to maintain consistent voice tone within a single lesson.
Comparing Pronunciation Variants
Generate the same text using different voices (e.g., Luna vs. Milo) to highlight subtle phonetic differences. This helps students distinguish between similar sounds or intonation patterns. The watermark ensures students know the source is synthetic, focusing attention on the linguistic features rather than the speaker’s identity.
Compare standard pronunciation against slower or faster variants by adjusting the speed parameter. This provides a comprehensive auditory reference for students practicing specific phonemes or stress patterns in French instructional materials.
- Contrast intonation patterns by switching between female and male voices.
- Use speed variations to isolate specific phonemes for focused practice.
- Maintain identical text to ensure direct comparison of vocal delivery.
image
Support and Resources
Phoneme Logic provides structured resources to assist educators in integrating synthetic speech into their curricula. All technical specifications, endpoint details, and voice presets are documented for immediate reference.
Support is handled exclusively via email. We do not offer live chat, phone lines, or on-site assistance. Responses are provided via email only.
Documentation Access
The complete API reference is available at /docs/. It includes code examples for Python, cURL, and JavaScript, detailing the required JSON structure and authentication headers.
You can also retrieve the list of supported voices and languages via the GET /v1/voices endpoint to verify compatibility before generating audio files.
- API Reference: https://broo55.cc/docs/
- Voice List Endpoint: GET /v1/voices
Contacting Support
For technical issues or billing inquiries, send an email to [email protected]. Include your API key and a description of the request for faster resolution.
Please note that we do not provide telephone support or real-time chat. Expect a response within one business day.
- Email: [email protected]
FAQ References
Common questions regarding character limits, voice selection, and payment methods are addressed in our help center. Review these before contacting support to resolve issues independently.
For specific curriculum integration questions, refer to the technical documentation or email our team with your use case details.
- Character Limits: Up to 4096 characters per request
- Supported Languages: 23 languages including French
- Payment: USDT (TRC-20) only
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. This section details specific voice applications for instructional, energetic, and conversational contexts.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- openai-python on GitHub
- Tether (USDT)
- LibriTTS-R corpus (OpenSLR 141)
- IETF RFC 7845: Ogg Opus
- LibriTTS-R paper (arXiv 2305.18802)
- LibriVox public-domain audiobooks
- curl documentation
- MDN: Web Speech API
- OpenAI API reference: create speech
- ISO 639 language codes
- W3C WAI: making audio and video accessible
