Text to Audio French API for Connected Devices

By SmartVoice editorial team · Updated 2026-11-19

SmartVoice delivers a reliable Text-to-Speech API designed specifically for indie developers building localized voice assistants. We handle the complexity of audio generation, ensuring consistent voice quality across your connected devices. Whether you are developing smart speakers or home automation alerts, our API integrates seamlessly with your existing workflow using standard JSON requests and OpenAI SDK compatibility.

This page outlines how to integrate French TTS into your IoT projects with minimal friction. You will find details on our eight distinct voice presets, technical specifications for audio formats like MP3 and OPUS, and a transparent pricing model starting at $10 per million characters. We also explain our data privacy practices and how to get your API key instantly via Google or email to start testing with a free trial credit.

Text to Audio French API for Connected Devices

Frequently asked questions

Does the API support French language specifically?

Yes, French is one of the 23 supported languages. You can specify it via the optional language parameter. If omitted, the system guesses the language from the script, defaulting to English for Latin text. Setting the language explicitly ensures accurate pronunciation for your smart home interface.

Which voices sound best for smart home interfaces?

Any voice suits smart home interfaces. sage offers a calm, instructional tone for commands, while nova provides a bright, upbeat experience for notifications. atlas is neutral for news-style updates. All eight presets support all 23 languages, allowing you to choose the best fit for your device's personality. Since voices are based on licensed recordings, they provide consistent quality for localized voice assistants without requiring custom cloning.

How fast is the text-to-speech generation?

Generation speed is roughly real-time, processing about 25 characters of text per second. Short phrases may take a few seconds. Requests are processed sequentially, so under load, a request might wait in a queue. This ensures consistent quality without the latency of streaming partial audio.

Can I use the API with my existing smart home hub?

Yes, the API uses standard HTTP POST requests with JSON bodies, compatible with any hub that can make web requests. It follows the same request shape as the OpenAI speech endpoint, so you can use the official OpenAI SDKs by simply changing the base_url to our API endpoint.

What happens if the synthesis 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, protecting your budget during integration testing or when handling edge cases in your smart home application logic.

Is there a limit to the number of characters per request?

Yes, each request supports up to 4096 characters of input text. For longer texts, you should split the content into parts of this size and join the resulting audio files. Spaces and punctuation count toward this character limit.

Do I need to pay upfront for the API?

You start with a free trial of $0.50 credit (about 50,000 characters) valid for 7 days if you sign in with Google. Otherwise, you can top up via USDT on the TRON network. There are no monthly subscriptions or minimum spend requirements, and balance does not expire.

Are the voices pre-recorded or AI-generated?

The voices are based on licensed recordings from LibriTTS-R (CC BY 4.0), derived from LibriVox public-domain audiobook readings. While they are synthesized from these recordings, every generated file carries an inaudible watermark marking it as synthetic speech, distinguishing it from original human recordings.

Can I change the speed of the audio output?

Yes, you can adjust the speed parameter between 0.25 and 4.0. This allows you to speed up notifications or slow down instructions for better clarity. The default speed provides a natural pace suitable for most smart home interactions without sounding robotic or rushed.

What audio formats are supported?

The API supports mp3, wav, opus, flac, and pcm formats via the response_format field. MP3 is efficient for bandwidth, while WAV and FLAC offer high quality. PCM provides raw data for specific hardware integrations. Choose the format that best fits your smart home device's playback capabilities.

Is there a free trial available?

Yes, signing in with Google provides a $0.50 trial credit, valid for 7 days, allowing about 50,000 characters. Accounts created with email and password start without this trial credit. This allows you to test the API's quality and integration before committing to a top-up.

How do I top up my account balance?

Top-ups are done via USDT on the TRON network (TRC-20) only. The minimum amount is $5. Credits are automatically added within minutes after the transfer is confirmed. There are no other payment methods like cards or PayPal, and no invoices with VAT are generated.

Are there any monthly subscriptions?

No, there are no monthly plans, seats, or minimum spend requirements. You pay only for the characters you use at $0.01 per 1,000 characters. Your balance does not expire, so you can top up once and use the credits whenever you need them for your projects.

How is data privacy handled for user requests?

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. Request metadata (time, characters, status) is kept solely for billing purposes. This ensures your voice data remains private and transient.

First request

curl

curl https://api.6game.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.mp3

Why choose our TTS API for French?

Sound wave illustration for: Why choose our TTS API for French?

SmartVoice delivers consistent voice quality across diverse connected devices, ensuring your French voice assistants sound uniform whether they are running on a kitchen hub or a living room speaker. Our API handles the complexity of audio generation so you can focus on your application logic.

Requests are processed sequentially, taking a few seconds for short phrases and roughly real-time for longer texts. Under load, a request may wait in a queue.

Consistent voice quality across devices

Consistent voice quality across devices

Our eight voice presets, including Aria and Nova, are designed for clarity and consistency. This ensures that your French content sounds professional and reliable across different hardware environments without needing custom tuning for each device type.

Low latency for real-time responses

Requests are processed sequentially, taking a few seconds for short phrases and roughly real-time for longer texts. This predictable performance allows you to design responsive interfaces for your IoT applications without unpredictable buffering delays.

Support for 23 languages including French

Beyond French, we support 23 languages, allowing you to expand your smart home ecosystem globally. You can set the language explicitly via ISO code or let the system guess from Latin script text, ensuring accurate pronunciation for your users.

  • French, English, German, Spanish, Italian, Portuguese, and 18 others
  • Auto-detection for Latin script defaults to English
  • Explicit language code support for precise control

Available Voices

Sound wave illustration for: Available Voices

SmartVoice offers eight distinct voice presets, all capable of speaking all 23 supported languages, including French. These voices are based on licensed recordings from LibriTTS-R and LibriVox public-domain audiobook readings. Every generated file carries an inaudible watermark marking it as synthetic speech.

Aria: Warm narrator style

Aria delivers a warm, clear narrative tone ideal for guiding users through smart home routines or explaining device status updates.

Nova: Bright and upbeat

Nova provides a bright, energetic delivery suitable for promotional alerts or engaging voice assistant interactions in connected devices.

Luna: Soft storytelling tone

Luna offers a soft, storytelling tone perfect for ambient notifications or calming user experiences in home automation systems.

Technical Integration

Sound wave illustration for: Technical Integration

Integration is straightforward: send a POST request to the standard endpoint with your text and selected parameters. The API accepts simple JSON bodies, making it easy to trigger voice generation from any backend service or script.

Standard JSON request format

Requests use a consistent JSON structure with fields for model, input text, voice selection, and optional speed or language codes. Each request handles up to 4,096 characters of text, returning the audio file directly in the response.

OpenAI SDK compatibility

The API mirrors the OpenAI speech endpoint structure, allowing you to use official OpenAI SDKs by simply updating the base URL. This reduces boilerplate code and lets you leverage existing client libraries for authentication and error handling.

Multiple audio formats (MP3, WAV, OPUS)

Select the output format that best fits your device’s capabilities. MP3 offers standard compatibility, WAV provides uncompressed quality, and OPUS serves as an efficient format for bandwidth-constrained IoT networks. FLAC and PCM are also supported.

Pricing Model

Sound wave illustration for: Pricing Model

SmartVoice charges $10 per 1 million characters, including spaces and punctuation. Failed requests are free, with the charge returned in full if synthesis fails.

$10 per 1 million characters

The cost is $0.01 per 1,000 characters. This simple model helps indie developers predict expenses for smart home voice assistants without hidden fees.

Pay-as-you-go with no minimum

There are no monthly plans, seats, or minimum spend requirements. Balance does not expire, and top-ups via USDT (TRC-20) are credited automatically within minutes.

  • No subscriptions or invoices with VAT
  • Minimum top-up is $5
  • Support via email only

Free trial credit available

Signing in with Google provides $0.50 of credit (about 50,000 characters) valid for 7 days. Email accounts start without trial credit.

Language Support

Sound wave illustration for: Language Support

SmartVoice provides high-quality French voice generation using standard neural models, ensuring consistent audio output for localized smart home interfaces. The system supports French alongside 22 other languages, allowing you to deploy multilingual voice assistants using the same engine.

French voice generation

Our API synthesizes natural-sounding French speech using the same engine as our English model, maintaining consistent audio quality across all supported languages. This consistency simplifies development for smart home devices that need to switch between languages seamlessly.

Auto-detection for Latin script

If you do not specify a language, the API guesses the language from the input script. For Latin script text that is not English, it defaults to English, so you should always set the language code explicitly for French text to ensure correct pronunciation and intonation.

Explicit language code support

You can pass the ISO 639-1 language code (e.g., "fr") in the request body to force French synthesis regardless of the input script. This explicit control prevents misinterpretation of mixed-language strings and ensures that your French-speaking users always hear the correct linguistic output.

Language Support

Use Cases in IoT

Sound wave illustration for: Use Cases in IoT

SmartVoice provides consistent voice quality across diverse hardware, ensuring your localized voice assistants sound natural whether they are embedded in a kitchen hub or a wall-mounted display. By handling text-to-speech conversion via a simple API, you can focus on logic while maintaining clear audio output for French-speaking users.

Smart speaker voice assistants

Integrate TTS into your custom voice engine to handle commands or conversational responses. With support for 23 languages and speeds up to 4.0x, you can optimize for both clarity and responsiveness without managing complex audio pipelines.

  • Support for 23 languages including French
  • Configurable speed (0.25–4.0) for responsive interactions
  • Standard JSON request format compatible with OpenAI SDKs

Home automation alerts

Deliver clear spoken notifications for security cameras or doorbell rings. Since requests are processed sequentially, you can batch alerts or send individual cues with predictable timing, ensuring users receive audio updates without overlapping voices.

  • MP3, WAV, OPUS, FLAC, and PCM output options
  • Automatic language guessing for Latin script text
  • Explicit language code support for precise localization

Vehicle infotainment systems

Generate navigation instructions or system status updates directly from your app. The API handles up to 4096 characters per request, allowing you to pass full directions or detailed alerts without splitting logic in your vehicle’s backend.

  • No minimum spend or monthly plans required
  • Free trial credit of $0.50 available on sign-up
  • Simple API key authentication via Bearer token

Use Cases in IoT

SmartVoice is designed for indie developers building connected devices. Whether you are creating a smart speaker, a home automation hub, or a vehicle infotainment system, our API provides the audio generation layer you need without the overhead of enterprise contracts.

Developer Experience

Sound wave illustration for: Developer Experience

SmartVoice is built for indie developers who need reliability without complexity. We provide a straightforward API key authentication system and clear documentation to help you integrate text-to-speech into your IoT applications quickly.

Support is by email only.

Simple API key authentication

You receive one active key per account, issued instantly after sign-up. Use the standard Bearer token format in your HTTP headers. If you ever need to rotate credentials, issuing a new key immediately invalidates the old one, keeping your smart home devices secure.

  • Single active key per account
  • Instant key rotation
  • Standard Bearer token format

Detailed documentation

The /docs/ page covers every endpoint, from voice lists to speech generation. We provide ready-to-use curl examples and explain the JSON body structure clearly. This ensures you can start sending requests without guessing the format.

Responsive support via email

We do not offer phone support or live chat. For technical questions or billing issues, our team responds via email. This keeps our costs low and ensures you get thoughtful, written answers to your integration questions.

Data Privacy

Sound wave illustration for: Data Privacy

SmartVoice treats your data with strict operational boundaries. We use input text solely to generate the audio response, ensuring it is not added to training datasets. This preserves the integrity of your proprietary content, whether it’s custom home automation scripts or unique voice prompts for your IoT devices.

Input text not used for training

Your input text is processed exclusively for immediate synthesis. It does not contribute to improving our voice models, keeping your specific phrasing and context isolated from our general training data.

No storage of generated audio

The resulting audio files are returned directly in the API response and are not stored on our servers after delivery. This minimizes your data footprint and reduces potential liability for sensitive voice commands.

Metadata kept for billing only

We retain minimal request metadata—such as timestamp, character count, and status—strictly for accurate billing and usage tracking. This data is not used for advertising or analytics beyond your account management.

Getting Started

Sound wave illustration for: Getting Started

Begin by creating an account on the /get-api-key/ page using either your Google credentials or a standard email and password. This process establishes your unique identity within the SmartVoice ecosystem, allowing you to manage access for your specific projects.

Sign up with Google or email

Accounts are tied to this specific site, ensuring a dedicated environment for your development work. Once registered, you gain immediate access to the dashboard where you can monitor usage and configure settings.

Get your API key instantly

After signing up, you will receive a single active Bearer token (tts-...) directly on your dashboard. This key authenticates all POST requests to the speech endpoint. You can generate a new key at any time, which immediately invalidates the previous one, ensuring secure access control for your IoT integrations.

  • One active key per account
  • Instant invalidation of old keys
  • Standard Bearer token format

Start with a free trial

Google sign-ups receive $0.50 in trial credit, valid for seven days, enough for approximately 50,000 characters. Email-based accounts start without this bonus. This allows you to test the API’s latency and voice quality before committing to a top-up via USDT on the TRON network.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. When a voice assistant confirms a locked door or adjusts the thermostat, consistency in timbre reinforces trust.

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. LibriTTS-R corpus (OpenSLR 141)
  3. ISO 639 language codes
  4. TRON developer hub: TRC-20
  5. W3C WAI: making audio and video accessible
  6. openai-node on GitHub
  7. curl documentation
  8. OpenAI API reference: create speech
  9. Creative Commons Attribution 4.0
  10. openai-python on GitHub
  11. Python documentation
  12. FFmpeg documentation

More on this site