Text-to-Speech API for French Language Instruction

By Phoneme Logic editorial team · Updated 2026-11-19

This page details the Phoneme Logic text-to-speech API, designed for linguists and educators requiring precise, consistent audio for language instruction. You will find specific technical documentation for integrating our OpenAI-compatible endpoint, a clear breakdown of pricing based on character count, and a structured overview of our eight voice presets suitable for narrative and instructional contexts.

We cover essential workflow details including language support beyond French, data privacy policies regarding input text usage, and performance metrics such as rate limits and queue processing. The content is intended for teachers and methodologists who need reliable synthetic speech for pronunciation drills without proprietary lock-in.

Text-to-Speech API for French Language Instruction

Frequently asked questions

What is text-to-speech for French pronunciation?

Text-to-speech converts written text into audio files via a cloud API. You send text and receive an audio file suitable for pronunciation drills and listening comprehension. The service supports 23 languages and allows precise control over voice and speed, ensuring consistent synthetic speech for educational materials without proprietary lock-in.

Which voices are best for instructional French?

All eight voices support French. For instructional content, sage offers a calm, instructional tone, while aria provides a warm, clear narrator style. Nova is bright and upbeat, and milo is friendly and conversational. You can select any preset to match your curriculum’s specific pedagogical needs for clear audio output.

How accurate is the synthetic French pronunciation?

Accuracy depends on the voice engine and text clarity. The API generates synthetic speech based on licensed recordings. While not perfect, it provides consistent audio for instructional materials. Users can adjust speed between 0.25 and 4.0 to enhance clarity. The output is reliable for standard text within the supported language list.

Does the API support other languages besides French?

Yes, the API supports 23 languages including Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any voice can speak any of these languages, allowing versatile use across different linguistic curricula.

How are characters counted in the API?

Characters are counted exactly as provided in the input text. Spaces and punctuation count as characters. You are billed $0.01 per 1,000 characters. This includes all symbols and whitespace in your submitted string, so precise text preparation helps manage costs and ensures accurate billing for your educational projects.

Is the audio generated considered royalty-free?

The product facts do not specify royalty terms for the generated audio. Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain readings. However, the API service itself does not grant explicit royalty-free rights for the generated audio files in the provided facts. Check specific licensing if required.

Can I use this API for commercial educational materials?

Yes, the API is available for any use case, including commercial educational materials. There are no monthly plans, seats, or minimum spend requirements. You pay per character used, with a balance that does not expire. Failed requests are free, and you can top up via USDT (TRC-20) for continuous usage.

How does the language detection work?

If the language field is not set, the API guesses the language from the script. Latin script text defaults to English. For non-English Latin-script text, you must set the language parameter explicitly. This ensures correct pronunciation for languages like French, German, or Spanish when using Latin characters.

What happens if a synthesis request fails?

If synthesis fails, the charge is returned in full. Failed requests are free, so you are not billed for audio that is not generated. This ensures cost efficiency for your workflow. You can retry the request or adjust parameters like speed or voice to resolve the issue and generate the audio.

Is there a limit on the length of text per request?

Yes, the input field accepts up to 4096 characters per request. For longer texts, you must split them into parts of up to 4096 characters and join the resulting audio files. This limit applies to each individual API call to ensure consistent processing and manageable response times for your educational content.

How long are the generated audio files stored?

Generated audio is returned in the response and not stored by the API. Request metadata, such as time, characters, and status, is kept for billing purposes. You receive the audio file directly in the response, allowing you to store it locally or in your own systems as needed for your curriculum.

Do I need to install any SDKs to use this API?

No, you do not need to install any specific SDKs. The API uses a standard JSON request shape compatible with the OpenAI SDKs, which you can use by changing the base_url. You can also use plain HTTP requests. There is no official SDK from Phoneme Logic, ensuring flexible integration.

Can I specify the language explicitly for Latin script text?

Yes, you can explicitly set the language parameter using an ISO code. This is recommended for non-English Latin-script text, as the default guess is English. Explicitly specifying the language ensures accurate pronunciation for French, German, or other supported languages, avoiding misinterpretation by the automatic language detection mechanism.

What is the cost per 1,000 characters?

The cost is $0.01 per 1,000 characters. This is equivalent to $10 per 1 million characters. Spaces and punctuation count as characters. Failed requests are free, and you can start with a $0.50 trial credit valid for 7 days. Top-ups are processed via USDT on the TRON network.

First request

curl

curl https://api.broo55.cc/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

Precise Synthetic Speech for Instruction

Sound wave illustration for: Precise Synthetic Speech for Instruction

Phoneme Logic delivers reliable synthetic speech for French language instruction, ensuring consistent pronunciation across all generated audio files. The API utilizes licensed voice models based on LibriTTS-R recordings, providing a stable baseline for phonetic accuracy without the variability of dynamic emotional tagging. This consistency is critical for educators creating standardized listening materials where specific phoneme realization must remain uniform across a curriculum.

The system supports multi-script input, automatically detecting Latin script characters or allowing explicit language tagging via ISO codes. While the interface defaults to English for Latin text, French input triggers the appropriate phonetic rendering. This flexibility allows methodologists to generate audio from raw text inputs without requiring complex preprocessing, ensuring that instructional content remains accessible and technically straightforward to integrate into existing learning management systems.

Consistent Pronunciation Models

Consistent Pronunciation Models

Each voice preset maintains a fixed timbre and phonetic approach, ensuring that repeated requests for the same text produce identical audio characteristics. This determinism allows educators to build reliable pronunciation drills where students can compare their speech against a stable reference point. The absence of variable emotion tags prevents unintended tonal shifts that could confuse learners in instructional contexts.

The underlying engine processes text sequentially, adhering to a predictable character-per-second rate. This predictability aids in curriculum timing, allowing teachers to estimate audio duration accurately. The voices are derived from public-domain audiobook readings, offering a natural yet controlled speech pattern suitable for both beginner and advanced listening comprehension exercises.

  • Fixed timbre across all generations for the selected voice
  • No variable emotion tags affecting phonetic output
  • Derived from licensed LibriTTS-R recordings for natural baseline

Multi-Script Support

The API accepts text in various scripts, with automatic detection for Latin characters. For French instruction, the system correctly renders phonemes even when the input contains mixed scripts or special characters common in linguistic materials. Users can explicitly set the language parameter to 'fr' to ensure correct pronunciation, overriding the default English behavior for Latin text.

This capability extends to other supported languages, allowing educators to create multilingual comparative materials. The system does not require custom pronunciation dictionaries, reducing the technical overhead for methodologists who need to generate audio for diverse linguistic datasets. The output remains consistent regardless of the input script's origin, provided the language code is specified.

  • Automatic detection of Latin script input
  • Explicit language parameter for precise control
  • Support for mixed-script linguistic materials

Audio Format Flexibility

Generated audio is available in multiple formats, including MP3, WAV, Opus, FLAC, and PCM. This flexibility allows integration with various educational platforms that may have specific audio codec requirements. For instance, WAV files are suitable for high-quality analysis in phonetic software, while MP3 or Opus formats are optimized for web-based listening exercises.

The API returns the audio file directly in the response, ensuring immediate availability for playback or download. This direct delivery model simplifies the workflow for developers building custom language learning applications. The choice of format does not affect the phonetic accuracy of the speech, allowing educators to prioritize file size or compatibility without compromising instructional quality.

  • Support for MP3, WAV, Opus, FLAC, and PCM
  • Direct audio file return in the API response
  • No quality loss between formats for phonetic accuracy

Voice Selection for Different Contexts

Sound wave illustration for: Voice Selection for Different Contexts

Selecting the appropriate voice ensures that synthetic speech aligns with the pedagogical goal, whether delivering a narrative or delivering clear instructions.

Narrative and Storytelling Voices

Aria provides a warm, clear narrator tone suitable for reading passages. Luna offers a soft, storytelling voice ideal for immersive listening exercises.

Instructional and Neutral Tones

Sage delivers a calm, instructional tone for grammar explanations. Atlas maintains a neutral, news-style delivery for clear, unbiased pronunciation drills.

Energetic and Conversational Options

Felix brings an energetic, promo-style energy for engaging activities. Milo provides a friendly, conversational tone for dialogue simulations.

Language Support Beyond French

Sound wave illustration for: Language Support Beyond French

Phoneme Logic supports 23 languages, allowing educators to build comprehensive multilingual curricula without managing multiple distinct services. This range covers major European, Asian, and African languages, ensuring consistent synthetic speech quality across diverse instructional materials.

23 Supported Languages

The API covers Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Each language is processed with the same high-fidelity engine, guaranteeing uniform audio characteristics regardless of the target language.

  • 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 field is omitted, the system infers the language from the text script. Latin script text defaults to English if no other cues are present. This simplifies integration for monolingual drills but may misidentify mixed-script content.

Explicit Language Tagging

For non-English Latin-script text, explicitly setting the language parameter ensures correct pronunciation and intonation. This prevents the default English interpretation of French, German, or Dutch text, maintaining phonetic accuracy for listening comprehension exercises.

Technical Integration for Developers

Sound wave illustration for: Technical Integration for Developers

The API exposes a standard POST https://api.broo55.cc/v1/audio/speech endpoint, accepting JSON bodies identical to the OpenAI speech structure. This allows educators and developers to reuse existing OpenAI SDKs by simply updating the base_url to https://api.broo55.cc/v1.

Requests require a JSON payload specifying the model (tts-1 or tts-1-hd), input text (up to 4096 characters), voice, and response_format. Optional fields like speed (0.25–4.0) and language allow precise control over audio output for instructional materials.

OpenAI-Compatible Endpoint

The endpoint follows the exact request shape of the OpenAI speech API. By changing the base_url in any official OpenAI SDK to https://api.broo55.cc/v1, you can immediately generate synthetic speech without rewriting integration logic. This ensures compatibility with standard HTTP clients and SDKs without proprietary lock-in.

Standard JSON Requests

Submit text via the input field in a JSON body. The API returns audio files in formats like mp3, wav, opus, flac, or pcm. For texts exceeding 4096 characters, split the input into parts, generate each segment, and join the resulting audio files sequentially.

  • Supported formats: mp3, wav, opus, flac, pcm
  • Max input length: 4096 characters per request
  • Speed control: 0.25 to 4.0

Simple Authentication

Include your API key in the request header as Authorization: Bearer tts-.... Each account holds one active key; issuing a new key immediately invalidates the previous one. Keys are managed via the /get-api-key/ dashboard.

Pricing Structure for Institutions

Sound wave illustration for: Pricing Structure for Institutions

Phoneme Logic charges $0.01 per 1,000 characters, including spaces and punctuation. This flat rate applies to all models, with no monthly subscriptions or per-seat fees. Failed requests are refunded in full, ensuring you pay only for successful audio generation.

Accounts begin with a $0.50 free trial (50,000 characters) valid for 7 days when signing in with Google. Top-ups are made via USDT (TRC-20) on the TRON network, with a $5 minimum. Balances do not expire, and no invoices or VAT are issued.

Pay Per Character

The standard rate is $10 per 1 million characters. Each request processes up to 4,096 characters. Longer texts must be split and joined by the client or SDK.

  • $0.01 per 1,000 characters
  • $10 per 1 million characters
  • Failed requests are free

No Hidden Fees

There are no monthly plans, minimum spends, or seat limits. The price is identical for tts-1 and tts-1-hd models. Support is email-only; no premium support tiers exist.

Transparent Usage

Request metadata, including time, character count, and status, is retained for billing purposes. Input text is used solely for generation and not for training. Generated audio is returned in the response and not stored.

  • USDT (TRC-20) payments only
  • Minimum top-up: $5
  • Balance never expires
Pricing Structure for Institutions

Use Cases in Language Methodology

Sound wave illustration for: Use Cases in Language Methodology

Phoneme Logic enables educators to generate consistent audio for structured language exercises. By leveraging precise synthetic speech, teachers can create reliable listening materials without the variability of human recording sessions, ensuring uniform pronunciation across all curriculum assets.

Pronunciation Drills

Generate repeated audio clips with identical vocal characteristics for comparative listening exercises. The API supports speed adjustments from 0.25 to 4.0, allowing instructors to slow down complex phonetic sequences for student analysis or accelerate them for fluency practice.

  • Consistent voice output for accurate phonetic comparison
  • Adjustable speed for progressive difficulty levels
  • Multiple format support (MP3, WAV, FLAC) for various learning platforms

Listening Comprehension Tests

Create standardized audio assessments where vocal tone and pacing remain constant across different test versions. This eliminates the confounding variable of speaker emotion or fatigue, ensuring that student performance reflects comprehension rather than audio quality differences.

  • Uniform audio quality across multiple test iterations
  • Support for 23 languages for multilingual assessment programs
  • Quick turnaround for rapid content updates

Digital Textbooks

Integrate synthetic audio directly into digital curricula for on-demand playback. Input texts up to 4,096 characters per request, splitting longer passages automatically while maintaining consistent voice profiles. This approach reduces production costs and allows for instant content updates without re-recording.

  • Scalable audio generation for large textbooks
  • No storage costs for generated audio files
  • Instant updates to text and audio content

Data Privacy and Training

Sound wave illustration for: Data Privacy and Training

Input text is used exclusively for the immediate production of audio files and is not retained for model training or improvement. This ensures that curriculum content and student materials remain distinct from the training data pool.

Input Text Usage Policy

The text you submit is processed solely to generate the requested audio output. We do not repurpose your instructional texts, lesson plans, or exam questions for training our synthetic voice models. This separation ensures that your specific pedagogical materials remain proprietary and are not used to influence future voice characteristics.

Audio Storage Limits

Generated audio files are returned directly in the API response and are not stored on our servers after delivery. We retain only request metadata—such as timestamp, character count, and status—for billing and usage verification purposes. This minimal data retention policy reduces the risk of exposing your audio assets to long-term storage vulnerabilities.

Synthetic Watermarking

Every audio file generated by Phoneme Logic contains an inaudible digital watermark. This watermark clearly marks the file as synthetic speech, aiding in the identification of AI-generated content within educational materials. This feature supports transparency in language learning resources where students need to distinguish between human and machine narration.

Reliability and Performance

Sound wave illustration for: Reliability and Performance

Phoneme Logic ensures predictable performance through defined rate limits and transparent queue processing. Understanding these constraints allows educators to plan curriculum generation efficiently without unexpected interruptions or delays during peak usage periods.

Rate Limits Explained

Standard accounts process 60 requests per minute. New accounts begin with a 10 requests per minute limit until the first top-up is confirmed. This structure prevents resource exhaustion while allowing steady generation of instructional audio files for classroom materials.

  • 60 requests/minute after first top-up
  • 10 requests/minute for new accounts
  • USDT top-up activates full rate limit

Queue Processing

Requests are processed sequentially. Under high load, synthesis may wait in a queue before generation begins. Longer texts typically process at roughly real-time speed, while short phrases take a few seconds. This ensures consistent audio quality without concurrent processing conflicts.

Character Limits

Each request supports up to 4,096 characters. For longer texts, split the input into parts and join the resulting audio files. Spaces and punctuation count toward the character limit. Failed requests incur no charge, ensuring accurate billing for instructional content.

  • 4,096 characters per request
  • Spaces and punctuation count
  • Split texts for longer content

Getting Started with Phoneme Logic

Sound wave illustration for: Getting Started with Phoneme Logic

Accessing the Phoneme Logic API begins with account creation on /get-api-key/. Users may register via Google authentication or standard email credentials. Note that Google sign-ups receive a $0.50 trial credit valid for seven days, whereas email-based accounts start with zero balance.

Once registered, the dashboard displays your unique API key, current balance, and usage statistics. This key authenticates all subsequent requests to the API endpoint, ensuring secure access to the synthesis engine for your instructional materials.

API Key Management

Each account maintains one active API key. You can generate a new key at any time via the dashboard. When a new key is issued, the previous one becomes invalid immediately, allowing you to revoke access to compromised or unused credentials without delay.

The key is passed in the request header as Authorization: Bearer tts-.... Ensure you keep this key secure, as it directly deducts from your balance for every successful synthesis request.

  • Generate new keys instantly via dashboard
  • Old keys invalidate immediately upon new issuance
  • Single active key per account

First Request Example

To verify your setup, send a POST request to https://api.broo55.cc/v1/audio/speech. Use the standard JSON body with your model, input text, and voice selection. The API returns the audio file directly in the response.

Below is a basic curl command to generate a French pronunciation sample using the 'nova' voice. Replace YOUR_API_KEY with your actual key.

  • POST https://api.broo55.cc/v1/audio/speech
  • Header: Authorization: Bearer YOUR_API_KEY
  • Body: {"model": "tts-1", "input": "Bonjour", "voice": "nova", "response_format": "mp3"}

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.

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. FFmpeg documentation
  3. TRON developer hub: TRC-20
  4. Creative Commons Attribution 4.0
  5. OpenAI API reference: create speech
  6. LibriVox public-domain audiobooks
  7. Node.js documentation
  8. ISO 639 language codes
  9. IETF RFC 7845: Ogg Opus
  10. LibriTTS-R corpus (OpenSLR 141)
  11. W3C WAI: making audio and video accessible
  12. curl documentation

More on this site