Python Text to Speech API: Voices, Pricing & Code

By IndieTTS Review editorial team · Updated 2026-11-18

This page provides a technical review of the IndieTTS text-to-speech API, focusing on Python integration for indie developers. We test latency, pricing, and SDK compatibility so you can ship faster. You will find concrete code examples, real-world statistics, and a breakdown of the 8 preset voices and 23 supported languages.

We cover the full workflow from authentication to audio generation using the OpenAI-compatible SDK. The guide details per-character pricing, rate limits, and data privacy policies. Whether you are building a mobile app or a web service, this review helps you evaluate if this API fits your project's constraints without vendor lock-in or hidden fees.

Python Text to Speech API: Voices, Pricing & Code

Frequently asked questions

What is the character limit per request?

Each request supports up to 4096 characters of input text. Spaces and punctuation count toward this limit. For longer texts, you must split the content into chunks of 4096 characters or fewer and join the resulting audio files manually.

How does the Python SDK work with this API?

The API uses the same request shape as the OpenAI speech endpoint. You can use the official OpenAI Python SDK by changing the base_url to https://api.9999winth.com/v1 and providing your API key. This allows for easy integration into existing Python workflows.

Is the API free for small projects?

Signing in with Google provides a $0.50 free trial, valid for 7 days, which covers approximately 50,000 characters. Email-only accounts start without trial credit. After the trial or balance is exhausted, you pay $0.01 per 1,000 characters with no minimum spend.

Which voices support which languages?

All eight voice presets (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion) support all 23 listed languages. Any voice can speak any supported language. If the language field is omitted, the system guesses the language, defaulting to English for Latin script.

Does the API support SSML tags?

No, the API does not support SSML tags. It accepts plain text input up to 4096 characters. You cannot use SSML for custom pronunciation or prosody control. The API focuses on simple text-to-speech conversion without markup language support.

How long are audio files stored?

Generated audio is returned in the response and is not stored by the service. Only request metadata, such as time, character count, and status, is kept for billing purposes. Input text is used only to produce the audio and is not stored for training.

Can I use the audio commercially?

The product facts do not explicitly define commercial usage rights or licensing terms for the generated audio files. Voices are based on licensed recordings (LibriTTS-R, CC BY 4.0) and public-domain readings. You should verify specific licensing needs for commercial use based on the source material.

What happens if a request fails?

If synthesis fails, the charge is returned in full. Failed requests are free, so you are not billed for characters processed during a failed attempt. This ensures you only pay for successfully generated audio files.

Is there a minimum spend requirement?

There is no minimum spend requirement. You can top up with a minimum of $5 using USDT on the TRON network. There are no monthly plans, seats, or mandatory minimums. Balance does not expire, and you pay only for what you use.

Do you offer voice cloning?

No, custom voice cloning is not offered. You cannot upload your own voice or design a new voice. The API provides eight preset voices based on licensed recordings. There is no voice cloning feature available for customers.

How do I top up my balance?

Top up using USDT on the TRON network (TRC-20) only. The minimum top-up amount is $5. Credits are automatically added to your account within minutes after the transfer is confirmed. No other payment methods like cards or PayPal are supported.

Is support available via phone?

No, phone support is not available. Support is provided via email only. There is no live chat or phone number listed. For technical issues or billing inquiries, you should contact support through the email channel provided on the site.

What is the base URL for the API?

The API base URL is https://api.9999winth.com/v1. To use the OpenAI SDK, set this as the base_url parameter. The speech endpoint is POST https://api.9999winth.com/v1/audio/speech. All requests require an Authorization: Bearer header with your API key.

Are there any hidden fees for formats?

There are no hidden fees for different audio formats. The price is $10 per 1 million characters regardless of the response_format chosen (mp3, wav, opus, flac, pcm). You pay based on the input character count, not the output format or file size.

First request

curl

curl https://api.9999winth.com/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

API Overview and Python Integration

Sound wave illustration for: API Overview and Python Integration

The IndieTTS Review API provides a straightforward cloud endpoint for converting text into audio files. By using a standard POST request to /v1/audio/speech, indie developers can integrate speech synthesis directly into Python applications without managing complex infrastructure. The service mirrors the structure of the OpenAI speech endpoint, allowing immediate compatibility with existing client libraries.

Endpoint Structure

Endpoint Structure

Send a JSON payload to https://api.9999winth.com/v1/audio/speech. The request requires the model, input text, voice preset, and response_format. Text is limited to 4096 characters per request, with longer content split and joined by the client. This predictable structure simplifies debugging and integration for Python scripts.

  • POST https://api.9999winth.com/v1/audio/speech
  • JSON body with model, input, voice, and format
  • Max 4096 characters per request

OpenAI SDK Compatibility

The API accepts the same request shape as the OpenAI speech endpoint. You can use the official OpenAI Python SDK by simply changing the base_url to https://api.9999winth.com/v1. This eliminates the need for custom HTTP clients or parsing logic, letting you leverage familiar methods like client.audio.speech.create.

  • Identical JSON request structure to OpenAI
  • Works with official OpenAI Python SDK
  • Change base_url to integrate

Authentication Method

Authenticity is handled via a single active Bearer token per account. Include Authorization: Bearer tts-... in the request header. You can rotate keys instantly via the dashboard; the old key stops working immediately, ensuring secure access control without session complexity.

  • Bearer token in Authorization header
  • One active key per account
  • Instant revocation on key rotation

Voice Selection and Capabilities

Sound wave illustration for: Voice Selection and Capabilities

The API provides eight distinct voice presets, each derived from licensed recordings in the LibriTTS-R dataset (CC BY 4.0). These voices are designed for specific tonal needs, ranging from warm narrators to energetic promo styles. Every generated audio file contains an inaudible watermark identifying it as synthetic speech, ensuring clear provenance for your content.

You can select any voice for any supported language, as the voices are not tied to a single native tongue. This flexibility allows you to maintain a consistent audio brand across your Python applications, regardless of the target audience's region or primary language.

8 Preset Voices

Choose from four female voices: Aria (warm narrator), Nova (upbeat), Luna (storytelling), and Sage (calm instructor). The male options include Felix (energetic), Milo (conversational), Atlas (neutral news), and Orion (deep documentary).

All voices support the full range of 23 languages. For example, you can use the friendly Milo voice to read German text or the deep Orion voice for Japanese narration. The voice parameter in your POST request accepts these exact names.

  • Aria: Warm, clear narrator
  • Nova: Bright, upbeat
  • Luna: Soft, storytelling
  • Sage: Calm, instructional
  • Felix: Energetic, promo
  • Milo: Friendly, conversational
  • Atlas: Neutral, news
  • Orion: Deep, documentary

Voice Characteristics

Each voice has a specific tonal profile optimized for different content types. Sage is ideal for instructional Python tutorials, while Felix suits quick promotional snippets. Orion’s deep tone works well for long-form documentary-style reads.

The underlying recordings come from LibriVox public-domain audiobooks. You can test these voices using the /v1/voices endpoint to hear samples before integrating them into your app.

Neutral vs. Character Voices

Atlas serves as the neutral option, best for news or factual content where the voice should remain unobtrusive. In contrast, Felix and Nova add personality, making them suitable for marketing or engaging user interfaces.

Unlike character-specific cloning, these are fixed presets. You cannot modify their pitch or emotion tags, but their distinct personalities reduce the need for extensive post-processing in your Python workflow.

Language Support and Accuracy

Sound wave illustration for: Language Support and Accuracy

IndieTTS supports 23 languages, including major options like English, Spanish, German, French, Japanese, and Korean. Any of the 8 preset voices can speak any of these languages fluently, allowing you to build multilingual apps without managing separate voice models or providers. This broad coverage ensures consistent quality across diverse markets with a single API integration.

23 Supported Languages

The platform covers Arabic, Chinese, Danish, Dutch, Finnish, Greek, Hebrew, Hindi, Italian, Malay, Norwegian, Polish, Portuguese, Russian, Swahili, Swedish, and Turkish. You do not need to select a specific voice for each language; the same voice presets work across all supported tongues, simplifying your codebase and voice management logic.

  • Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish

Auto-Detection Logic

If you omit the language field, the API guesses the language from the text script. Latin script defaults to English, so non-English Latin text (like Spanish or French) should explicitly set the language parameter to ensure correct pronunciation. Other scripts like Cyrillic or CJK are detected automatically based on the characters used.

Non-Supported Languages

Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, and all other languages are not supported. If you need one of these, you must wait for an update or implement a workaround. The API will not fail, but it may default to English pronunciation for Latin-script non-supported languages if not explicitly defined.

Audio Formats and Output

Sound wave illustration for: Audio Formats and Output

The API returns audio in five standard formats: mp3, wav, opus, flac, and pcm. Choose mp3 for efficient storage, wav for lossless quality, or pcm for raw binary streams that require custom decoding in your Python pipeline.

Supported Formats

Select response_format in your request to define the output container. MP3 offers the best balance of size and compatibility. WAV and FLAC provide lossless audio for high-fidelity use cases. OPUS is ideal for low-bandwidth transmission.

  • mp3: Compressed, widely supported
  • wav: Uncompressed PCM
  • opus: Efficient compression
  • flac: Lossless compression
  • pcm: Raw binary data

PCM and Raw Audio

PCM output delivers raw audio samples without headers. This format is optimal for real-time audio players or custom encoding pipelines where you control the container structure. Use it when minimizing latency in audio processing is critical.

MP3 Compression

MP3 provides compressed audio, reducing bandwidth usage significantly compared to WAV or PCM. This is the recommended format for storing audio files. It ensures broad compatibility across all modern players and devices.

Pricing Structure for Indie Projects

Sound wave illustration for: Pricing Structure for Indie Projects

Indie developers benefit from a straightforward per-character pricing model at $10 per 1 million characters, or $0.01 per 1,000 characters. This structure scales linearly with usage, making it easy to predict costs for small projects without hidden fees or monthly subscriptions.

Failed requests incur no charge, ensuring you only pay for successful synthesis. There are no minimum spend requirements or tiered discounts, keeping the billing simple and transparent for developers managing tight budgets.

Per Character Rate

The base rate is $10 per 1 million characters, equivalent to $0.01 per 1,000 characters. Spaces and punctuation count toward the total character count, so plan your input text accordingly to avoid unexpected costs.

Volume Discounts

There are no volume discounts or tiered pricing structures. The rate remains constant regardless of whether you generate 1,000 or 1 million characters. This consistency simplifies budget forecasting for indie projects with variable traffic.

Trial Credit Limits

New accounts signed in with Google receive $0.50 in trial credit, valid for 7 days. This allows for approximately 50,000 characters of generation to test integration before committing funds. Email-based accounts start with zero credit.

  • Trial credit expires after 7 days
Pricing Structure for Indie Projects

Performance Metrics and Latency

Sound wave illustration for: Performance Metrics and Latency

Understanding latency is critical for indie apps. The API generates audio at roughly real-time speed, producing approximately 25 characters of text per second of audio. This ensures predictable resource planning for your Python projects.

Generation Speed

Short phrases typically require a few seconds to synthesize. Longer texts scale linearly with duration, maintaining consistent throughput without significant per-request overhead.

Queue Behavior

Requests are processed sequentially. Under heavy load, your request may wait in a queue before synthesis begins. This linear processing model ensures fairness but can increase total wait time during peak usage periods.

Real-Time Approximation

"Real-time" here means the generation time closely matches the audio duration. For a 10-second clip, expect roughly 10 seconds of processing time plus queue delay. This predictable cadence aids in building responsive UIs.

Data Privacy and Usage

Sound wave illustration for: Data Privacy and Usage

We treat your input text as a transient payload, used exclusively for the purpose of generating the requested audio file. We do not retain the raw text content for any secondary purposes, such as marketing or analysis, beyond the immediate synthesis process.

Input Text Handling

The text you submit is processed solely to create the audio output and is discarded immediately after synthesis. No personal data or proprietary content is extracted or repurposed from your input strings.

Training Data Policy

Unlike many competitors, we do not use your input text to train our neural networks. Your data remains yours; the audio generated is not stored on our servers after delivery, and the input text is not added to our training corpus.

Audio Storage

Generated audio files are returned directly in the response and are not retained on our infrastructure. We keep only request metadata—such as timestamp, character count, and status—for billing and troubleshooting purposes, ensuring transparency without storing your creative output.

Rate Limits and Scaling

Sound wave illustration for: Rate Limits and Scaling

Indie developers managing background jobs or batch processing need to understand how the API handles volume. This section details the specific rate limits, concurrency behavior, and burst handling mechanics to help you design robust retry logic without overloading the service or wasting credits on throttled requests.

Requests Per Minute

The API enforces a hard limit of 60 requests per minute per active key. Before your first top-up, this limit is stricter at 10 requests per minute. This constraint applies to all endpoints, including voice and model lookups, so plan your metadata calls accordingly.

  • Standard limit: 60 requests/minute/key
  • Pre-top-up limit: 10 requests/minute
  • Applies to all endpoint types

Concurrent Processing

Requests are processed sequentially, not in parallel. If the server is under load, your request may wait in a queue before synthesis begins. This means concurrent requests from a single key do not necessarily finish at the same time, potentially increasing total latency for bulk jobs.

Burst Handling

Bursts are handled gracefully but subject to the per-minute cap. If you exceed 60 requests in a minute, subsequent requests will be rejected with a rate limit error. Implement exponential backoff in your Python client to handle these rejections efficiently without wasting API calls.

Why Indie Developers Choose This API

Sound wave illustration for: Why Indie Developers Choose This API

Indie developers prioritize predictable costs and rapid integration. This API eliminates complex billing tiers with a flat per-character rate, allowing precise budgeting for small-scale projects without surprise overage fees.

Cost Efficiency

Pricing is straightforward: $0.01 per 1,000 characters, with failed requests refunded instantly. The free $0.50 trial lets you validate the integration before committing, while USDT top-ups ensure no hidden subscription fees or currency conversion costs.

Simplicity

Integration requires only standard HTTP calls or the OpenAI SDK with a modified base URL. There are no proprietary libraries to install, no complex SSML tags to learn, and no custom voice cloning setup to manage. You send text, you receive audio.

No Vendor Lock-in

By mimicking the OpenAI speech endpoint structure, you can switch providers or scale easily without rewriting your core TTS logic. The API uses standard JSON bodies and Bearer token authentication, keeping your codebase clean and portable across different deployment environments.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. These platforms provide extensive toolsets for video editing, translation, and speech-to-text, which are unnecessary for simple TTS integration.

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. Node.js documentation
  3. Tether (USDT)
  4. openai-node on GitHub
  5. openai-python on GitHub
  6. Python documentation
  7. LibriTTS-R paper (arXiv 2305.18802)
  8. LibriTTS-R corpus (OpenSLR 141)
  9. FFmpeg documentation
  10. OpenAI API reference: create speech
  11. LibriVox public-domain audiobooks
  12. MDN: Web Speech API

More on this site