Frequently asked questions
Is the text to speech API python integration free?
The API is not free, but new Google sign-ups receive a $0.50 trial valid for 7 days. After that, pricing is $10 per 1 million characters. You can top up via USDT on the TRON network. Failed requests are free, ensuring you only pay for successful synthesis.
Can I use the API for commercial audiobooks?
Yes, the generated audio files are ready for commercial use. Each file includes an inaudible watermark marking it as synthetic speech. The voices are based on licensed recordings from LibriTTS-R and LibriVox, making them suitable for self-published audiobooks without additional licensing complexity.
How many characters can I process in one request?
Each API request accepts up to 4096 characters of text in the input field. For longer manuscripts, you should split the text into parts of this size and join the resulting audio files. This ensures consistent processing and avoids request limits.
Which voices are best for long-form narration?
For long-form narration, consider Luna (soft, storytelling) or Aria (warm, clear narrator). Sage offers a calm, instructional tone suitable for non-fiction. These voices provide consistent clarity over extended periods, helping maintain listener engagement throughout your entire manuscript.
Does the API support multiple languages?
The API supports 23 languages, including English, Spanish, French, German, Japanese, and Arabic. Any voice can speak any of these languages. If you do not specify a language, the system guesses it from the script, defaulting to English for Latin text.
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. You can retry the request or adjust parameters like speed or voice without losing credit.
Do I need to split long chapters manually?
Yes, you must split texts into parts of up to 4096 characters per request. The API does not handle automatic splitting for long chapters. You can process these parts sequentially, then join the resulting audio files to create the full chapter.
Are there any monthly subscription fees?
No, there are no monthly plans, seats, or minimum spend requirements. You pay only for the characters you use. Balance does not expire, and you can top up as needed. This model is ideal for freelancers with variable publishing schedules.
Can I use my own voice recordings?
No, custom voice cloning is not offered. You cannot upload your own voice or design custom voices. The API uses eight preset voices based on licensed recordings. If you need a specific voice, you must choose from the available presets.
How is the audio quality compared to human narrators?
The audio is clear and natural, based on licensed recordings from LibriTTS-R and LibriVox. It carries an inaudible synthetic watermark. It provides consistent quality and is suitable for self-publishing, though it lacks emotion tags.
What audio formats are available for download?
You can choose from mp3, wav, opus, flac, and pcm formats. Use the response_format field in your request to specify the desired output. These formats cover most distribution needs, from web streaming to high-quality archival storage for your audiobooks.
Is the API suitable for self-publishing platforms?
Yes, the API is designed for self-publishing workflows. You can generate audio files directly and upload them to platforms. The transparent character-based pricing and lack of monthly fees make it cost-effective for independent authors.
How do I track my character usage?
Your account dashboard displays your balance, characters left, and usage history. You can also view request metadata, including time, characters, and status, which is kept for billing purposes. This helps you monitor spending and plan your production schedule effectively.
Can I change my API key if it gets compromised?
Yes, you can issue a new API key at any time from your account page. When you issue a new key, the old one stops working immediately. This ensures your account remains secure if a key is exposed or compromised.
First request
curl
curl https://api.rx115.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.mp3Python Integration for Authors
NarrativeNode’s API mirrors the OpenAI speech endpoint structure, allowing Python developers to switch providers by simply updating the base_url to https://api.rx115.cc/v1. This compatibility means you can use the official OpenAI Python SDK with your existing NarrativeNode API key without rewriting your core logic.
Integration is straightforward: send a JSON payload via POST requests to /v1/audio/speech. The system handles the synthesis and returns the audio file directly in the response, keeping your workflow clean and efficient for converting manuscripts into audio.
OpenAI SDK Compatibility
By adopting the same request shape as OpenAI, NarrativeNode ensures that your Python scripts remain portable. You only need to change the base URL to https://api.rx115.cc/v1 and inject your tts-... bearer key into the authorization header. This approach lets you leverage familiar libraries while accessing our specific voice models and pricing.
Simple POST Requests
Sending text for narration is as simple as constructing a JSON body with model, input, and voice fields. The API accepts text up to 4096 characters per request, handling the heavy lifting of synthesis. You can adjust parameters like speed and response_format directly within this single call.
JSON Response Format
The API returns an audio file (binary) in the requested format, ensuring seamless integration with Python’s requests or httpx libraries. This allows you to easily save the audio file to your local storage or process it directly in your audiobook production pipeline.
Narration Voices for Books
NarrativeNode provides eight distinct voice presets, each engineered for specific narrative styles. Whether you are recording a cozy mystery or a high-energy promotional track, selecting the right voice ensures your audiobook maintains consistent engagement from start to finish.
Our voices are based on licensed recordings from LibriTTS-R, ensuring high clarity and natural intonation. Every generated file carries an inaudible watermark to clearly mark it as synthetic speech, maintaining transparency for your listeners.
Warm Narrator Aria
Aria offers a warm, clear narration style perfect for fiction and storytelling. Her tone is inviting and steady, making her ideal for novelists who need a reliable voice to carry their narrative without distracting the listener.
She excels in emotional depth, delivering dialogue with natural inflection. This makes her a top choice for self-publishing authors looking to produce professional-grade audiobooks quickly and affordably.
- Warm, clear narrator tone
- Ideal for fiction and novels
- Natural dialogue inflection
Deep Documentary Orion
Orion delivers a deep, authoritative tone that is ideal for non-fiction and documentary-style content. His voice commands attention, providing high clarity and a serious demeanor suitable for educational or historical texts.
Use Orion when you need your content to sound established and trustworthy. He handles complex narratives with ease, ensuring your message is delivered with precision and gravitas.
- Deep, authoritative tone
- Ideal for non-fiction
- High clarity and gravitas
Friendly Conversational Milo
Milo brings a friendly, conversational voice to your text. He sounds like a knowledgeable friend explaining a concept, which works well for self-help books, tutorials, or casual memoirs.
His approachable style helps listeners connect with the content on a personal level. Milo reduces the distance between the author and the audience, making long texts feel more engaging and less monotonous.
- Friendly, conversational tone
- Ideal for self-help and tutorials
- Approachable and engaging
Supported Languages
NarrativeNode supports 23 languages, allowing indie authors to reach global audiences without hiring multiple voice actors. Our API handles language detection automatically for Latin script, defaulting to English, but explicitly setting the language code ensures accuracy for non-English texts.
English and American English
English is the default for Latin-script input, but you can explicitly set the language parameter for precision. All eight voices handle English natively, from the warm narration of Aria to the conversational tone of Milo.
- Automatic detection for Latin script
- Explicit language code support
- All 8 voices support English
European Languages
Expand your reach into major European markets with dedicated support for languages like French, German, Spanish, Italian, and Russian. Each voice renders these languages with natural intonation, ensuring your audiobook sounds professional and engaging.
- French, German, Spanish, Italian, Russian
- Danish, Dutch, Finnish, Greek, Hebrew, Polish, Portuguese, Swedish, Turkish, Norwegian, Arabic, Swahili
Asian and African Languages
Generate content in high-demand Asian and African languages including Chinese, Japanese, Korean, Hindi, and Malay. Our engine processes these scripts efficiently, maintaining the clear, character-based pricing model that makes long-form narration affordable for self-publishers.
- Chinese, Japanese, Korean, Hindi
- Malay, Arabic, Swahili
Audio Formats for Distribution
NarrativeNode supports multiple audio formats to match your distribution workflow. Choose the format that best fits your platform, mastering needs, or archival standards without losing quality or compatibility.
MP3 for Streaming
MP3 is a standard format for web streaming and most audiobook platforms. It offers small file sizes and broad device compatibility, making it ideal for direct upload to listeners.
WAV for Mastering
WAV provides uncompressed, high-fidelity audio perfect for professional mastering. Use this format if you plan to edit the audio further or need lossless quality for audiobook production standards.
FLAC for Archiving
FLAC delivers lossless compression, preserving every detail of the synthesis. It is an excellent choice for long-term archiving of your generated audiobook files, ensuring no data is lost.
Pricing for Long Text
NarrativeNode charges $0.01 per 1,000 characters, making long-form audiobook production predictable and transparent. Spaces and punctuation count toward the total, so a 100,000-character manuscript costs exactly $1.00. This flat rate applies to both tts-1 and tts-1-hd models, ensuring consistent pricing regardless of quality tier.
Per Character Cost
With a $0.01 per 1,000-character rate, you pay only for what you generate. Failed requests are free, and credits are returned in full if synthesis fails. This structure supports high-volume self-publishing without unexpected bill shocks.
No Hidden Fees
There are no monthly plans, seats, or minimum spends. You top up with USDT (TRC-20) on the TRON network, with a $5 minimum. Your balance never expires, and you can issue a new API key at any time without losing remaining credit.
Fair Usage Limits
The API allows 60 requests per minute per key. If you exceed this limit, requests queue up naturally. For texts longer than 4,096 characters, split your input into chunks and join the resulting audio files seamlessly in your Python workflow.

Technical Constraints
Long manuscripts require splitting your input into chunks of 4096 characters. This limit applies per request, so you must handle the logic to join the resulting audio files seamlessly.
Our pricing model is character-based, so understanding this boundary helps you optimize your generation pipeline without unexpected cuts in narrative flow.
4096 Character Limit
Each API call accepts up to 4096 characters, including spaces and punctuation. For longer chapters, split your text programmatically and concatenate the audio outputs.
This constraint ensures consistent processing speed and prevents timeouts during generation, keeping your production workflow predictable.
- Count every space and punctuation mark toward the 4096 limit
- Split text at logical sentence boundaries to preserve audio continuity
Rate Limits Explained
New accounts are limited to 10 requests per minute. Once you top up, this increases to 60 requests per minute per key.
These limits prevent server overload during peak usage times, ensuring stable performance for all audiobook creators.
- Initial limit: 10 requests/minute
- Post-top-up limit: 60 requests/minute
Queue Processing
Requests are processed sequentially. Under heavy load, your synthesis job may wait in a queue before generating audio.
Typical speed is roughly real-time, but short phrases may take a few seconds to process completely.
- Requests are queued under load
- Processing is sequential, not parallel
Voice Licensing
Our voices are built from high-quality speech data, ensuring consistent and professional narration for your self-published titles. We prioritize transparency about the source of these audio assets so you understand exactly what you are licensing.
LibriTTS-R Source
The voice models are derived from the LibriTTS-R dataset. This provides a robust foundation for natural-sounding speech synthesis across multiple languages and styles.
CC BY 4.0 License
We use the Creative Commons Attribution 4.0 International license for the underlying voice data. This allows us to build TTS models while respecting the original creators' rights.
Public Domain Basis
Many of the source recordings come from LibriVox public-domain audiobook readings. This ensures that the core vocal performances are free from restrictive copyright claims, simplifying your distribution process.
Data Privacy
Your manuscript’s text is processed solely to generate the audio file and is never used to train our models. Once the synthesis is complete, the generated audio is returned directly in the response and is not stored on our servers, ensuring your unpublished work remains private.
No Training Data
Unlike some consumer platforms, we do not use your input text or generated audio to improve our voice engines. Your content remains yours, with no risk of it appearing in our training datasets or being used to train future versions of our voices.
No Audio Storage
The audio file you receive is transient. We do not retain a copy of your generated audiobook chapters or short phrases after the response is delivered to your client. This ensures that your creative output stays exclusively in your control and your infrastructure.
Billing Metadata Only
We keep only the essential data required for accurate billing: the timestamp, character count, and request status. This minimal metadata allows us to verify your usage and process your USDT payments without storing the actual content of your manuscripts.
Getting Started
Start by creating your account at the /get-api-key/ page using Google or email. You will receive an active API key immediately, along with $0.50 in trial credit valid for 7 days, giving you roughly 50,000 characters to test your first chapters.
Once you have your key, you are ready to integrate. The system uses the standard OpenAI SDK structure, making it easy for Python developers to switch base URLs and begin generating audio without learning a new library.
Sign Up for API Key
Visit the /get-api-key/ page to register. You can sign in with Google for immediate access or use an email and password. Your account dashboard displays your unique API key, current balance, and usage statistics.
- Google or email registration
- Instant API key generation
- $0.50 free trial credit (7 days)
- Dashboard shows key and balance
Install Python SDK
Install the OpenAI Python package using pip. Configure the client to point to our API base URL: https://api.rx115.cc/v1. This allows you to use the standard speech endpoint method with your NarrativeNode credentials.
Ensure your key starts with "tts-" and is stored securely. The SDK handles JSON serialization and response parsing automatically, keeping your code clean and focused on the manuscript data.
- pip install openai
- Set base_url to https://api.rx115.cc/v1
- Use standard speech() method
- No custom library required
Run Your First Generation
Pass your text to the API via a POST request. The engine returns an audio file in your chosen format, such as MP3 or WAV. You can then stitch these files together for your full audiobook.
Remember that text is limited to 4,096 characters per request. Split longer chapters into manageable segments before sending them to the API to ensure smooth processing.
- Send text via POST request
- Receive audio file in response
- Split text >4096 chars
- Format: MP3, WAV, OPUS, FLAC, PCM
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. For English-language manuscripts, the system defaults to English if the language parameter is omitted.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- Python documentation
- MDN: Web Speech API
- openai-node on GitHub
- W3C WAI: making audio and video accessible
- Creative Commons Attribution 4.0
- LibriTTS-R paper (arXiv 2305.18802)
- IETF RFC 7845: Ogg Opus
- ISO 639 language codes
- LibriVox public-domain audiobooks
- LibriTTS-R corpus (OpenSLR 141)
- FFmpeg documentation
