Frequently asked questions
What is a TTS API?
A cloud text-to-speech API that accepts text and returns an audio file. You send a POST request to the speech endpoint with your input text, selected voice, and desired format. It functions like the OpenAI speech endpoint, allowing you to use standard HTTP requests or compatible SDKs for automated audio generation.
How does TTS differ from human narration?
Our TTS synthesizes speech from licensed LibriTTS-R recordings (CC BY 4.0) and LibriVox public-domain audiobooks. Each file includes an inaudible synthetic watermark. Unlike human narration, it lacks emotion tags or custom voice cloning. It offers consistent, automated production without studio time or scheduling constraints, ideal for converting long-form text into audiobooks at scale.
Can I use TTS for commercial audiobooks?
Yes. The API is engineered for self-publishing freelancers converting long-form text into audiobooks. Voices are based on licensed recordings: LibriTTS-R (CC BY 4.0), from LibriVox public-domain audiobook readings. You pay per character used, with no monthly plans or minimum spend, making it scalable for commercial self-publishing workflows.
How accurate is the language detection?
The API infers language from the script if unspecified, defaulting to English for Latin text. Explicitly set the language parameter for non-English Latin-script content. The API supports exactly 23 languages. Unsupported languages, such as Vietnamese, Thai, or Indonesian, are not supported at all; setting the parameter does not enable them.
What is the maximum character limit per request?
Each request accepts 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 less, generate audio for each, and join the resulting files manually or via script.
Do I need to split the text manually?
Yes, you must split text into parts of up to 4096 characters. The API does not handle automatic splitting for long documents. You send multiple requests, receive individual audio files, and join them to create the final audiobook chapter or full book.
How long does it take to generate a chapter?
Generation is roughly real-time, processing about 25 characters per second. Short phrases take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue. Longer texts require multiple requests, increasing total generation time proportionally.
Can I change the voice mid-book?
Yes, you can switch voices between requests. Select any of the eight presets (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion) for each individual request. This allows you to use different voices for different chapters, characters, or sections within the same audiobook project.
What audio formats are supported?
The API supports MP3, WAV, OPUS, FLAC, and PCM formats. Specify the desired format in the response_format field of your request. These options allow you to choose between compressed files for distribution or lossless formats for editing, depending on your production needs.
Is the audio quality comparable to human readers?
Voices are based on licensed LibriTTS-R recordings (CC BY 4.0) from LibriVox public-domain audiobook readings. Each file includes an inaudible watermark identifying it as synthetic speech. The engine lacks emotion tags and custom voice cloning, but delivers consistent, scalable audio for long-form content without requiring human studio time.
How do I handle punctuation in the text?
Punctuation counts toward the 4096-character limit and influences pacing. The API relies on standard text formatting for flow control. There is no SSML support, nor phoneme dictionaries or custom pronunciation lexicons. You cannot insert custom pauses or override pronunciation; you must manage timing through standard text structure and speed adjustments.
Can I adjust the speaking speed?
Yes, you can adjust the speed between 0.25 and 4.0. Set the speed parameter in your request to slow down or speed up the narration. This allows you to fine-tune the delivery for different content types, such as slower speeds for complex explanations.
What happens if the API goes down?
We do not offer an SLA or uptime guarantee. If synthesis fails, you receive a full refund for that request. We retain request metadata for billing purposes. Since there is no enterprise contract, you should monitor status independently and implement your own retry logic for failed requests to manage your workflow effectively.
Do I need to pay for each file separately?
No, you pay based on the total character count processed. The rate is $10 per 1 million characters. Failed requests are free. You do not pay per file, but rather for the volume of text synthesized, regardless of how many requests you make.
How do I store the generated audio files?
Generated audio is returned in the response and not stored by the API. You must download and store the files yourself. Request metadata (time, characters, status) is kept for billing purposes. You are responsible for managing your own audio storage and distribution pipeline.
Can I use this API for children's books?
Yes. The API supports 23 languages and offers voices like Aria (warm narrator) and Milo (friendly, conversational), which fit children’s content well. You can adjust speed and specify language for non-English text. Note that suitability depends on your specific use case, as the API provides the technical capability without guaranteeing specific tonal appropriateness for all audiences.
Is there a limit to the number of voices I can use?
No, you can use all eight preset voices (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion) across your requests. There is no limit on switching voices between requests. Each voice can speak any of the 23 supported languages, giving you full flexibility for your project.
How do I test the API before buying?
Sign in with Google to receive a free trial with $0.50 credit, valid for 7 days. This provides about 50,000 characters for testing. Accounts created with email/password start without trial credit. You can use the provided curl example on the /get-api-key/ page to verify functionality.
What is the role of the API key?
The API key authenticates your requests via the Authorization header. Each account has one active key; issuing a new one invalidates the old one immediately. It tracks your usage, balance, and rate limits. Keep it secure to prevent unauthorized character consumption from your account.
Can I use the API in a mobile app?
Yes. Use the OpenAI SDK or plain HTTP; there is no official mobile SDK. Send POST requests to the API endpoint with your Bearer token. Note the 60 requests/minute rate limit per key and manage character splitting (max 4096 chars) for long texts. No streaming or WebSocket support is available.
Understanding TTS for Audiobooks
Converting text to audiobooks via API replaces expensive studio time with automated synthesis. You send JSON payloads to receive audio files, enabling scalable production for self-publishing freelancers. This method handles the mechanical generation of speech, allowing you to focus on editing and distribution rather than booking studio hours.
Unlike human narration, TTS ensures consistent voice performance across all chapters. The engine applies the same vocal characteristics to every segment, eliminating variations in tone or energy that can occur during long recording sessions. This uniformity is critical for maintaining listener immersion in long-form content.
Synthesis vs. Recording
API synthesis generates audio programmatically. You submit text up to 4096 characters and receive an audio file. This removes the need for physical studios, microphones, and session engineers. It is a direct data-in, audio-out process suitable for high-volume workflows.
Recording involves capturing human performance in real-time. It allows for nuanced emotional delivery but requires scheduling, equipment, and per-hour fees. TTS trades some nuanced human variation for unlimited scalability and instant generation.
- No studio booking required
- Instant generation of audio files
- Standard HTTP request/response pattern
Consistency in narration
The same voice preset is applied uniformly across your entire manuscript. Whether you are generating chapter one or chapter fifty, the vocal tone, pacing, and articulation remain identical. This prevents the jarring effect of voice drift often found in multi-narrator productions.
You can adjust the speed parameter (0.25–4.0) to control pacing. This allows you to fine-tune the listening experience without re-recording. Consistency is maintained because the underlying engine processes each segment with the same voice model.
- Uniform voice across all chapters
- No voice drift between sessions
- Predictable audio characteristics
Cost efficiency
Pricing is based on character count: $0.01 per 1,000 characters. This is significantly lower than per-hour studio rates for long-form books. You only pay for what you generate, with no minimum spend or monthly subscriptions.
Failed requests are free. If synthesis fails, the charge is returned in full. This reduces risk during development and testing phases. You can process large manuscripts with predictable, linear costs.
- $0.01 per 1,000 characters
- No minimum spend
- Pay-per-use model
- No monthly subscriptions
Choosing the Right Voice
Selecting the correct narrator preset establishes the baseline tone for your audiobook. The eight available voices—Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion—are derived from licensed LibriTTS-R recordings. Each preset offers distinct vocal characteristics, from warm narration to neutral news delivery, ensuring a consistent listening experience across your entire project.
Because the engine lacks emotion tags, the emotional tone is fixed by your initial preset selection. Matching the voice to the content style ensures uniformity. For instance, use Aria or Luna for fiction to maintain a storytelling flow, or Atlas for non-fiction to provide a neutral, news-like delivery. All voices support 23 languages, allowing you to reuse a favorite narrator across different linguistic editions of the same book.
Narrator presets
The eight presets cover a wide range of styles. Aria offers a warm, clear narrator style, while Nova provides a bright, upbeat tone. Luna is soft and suited for storytelling, and Sage delivers calm, instructional audio. On the male side, Felix is energetic for promos, Milo is friendly and conversational, Atlas is neutral and news-oriented, and Orion is deep and documentary-style.
Every generated file carries an inaudible watermark marking it as synthetic speech. This ensures transparency without affecting audio quality. The voices are based on licensed recordings from LibriVox public-domain audiobook readings, providing a high-quality baseline without the variability of human fatigue.
- 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
Tone matching
Consistency is critical for long-form content. Selecting a voice that aligns with your genre helps maintain listener engagement. Since the synthesis engine does not support emotion tags, the emotional tone is fixed by the preset selection. Choose carefully to avoid tonal shifts between chapters.
All voices support 23 languages, allowing you to reuse a favorite narrator across different linguistic editions of the same book. If you do not set the language parameter, the system guesses it from the script, defaulting to English for Latin text. For non-English Latin-script text, explicitly set the language field.
Character count estimation
Pricing is based on character count, including spaces and punctuation. You are charged $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are free, but successful ones incur the full cost regardless of audio length.
Estimating costs early helps with budget planning. With a typical speed of roughly 25 characters per second, you can approximate audio duration. For example, a 50,000-character chapter generates about 33 minutes of audio at normal speed. The free trial includes $0.50 credit, valid for 7 days, sufficient for about 50,000 characters.

Preparing Your Text
Before sending your manuscript to the API, ensure the input text does not exceed 4096 characters per request. Any text beyond this hard limit will cause the synthesis request to fail entirely, requiring you to split the content manually or via your script. This constraint applies to the raw string length, including spaces and punctuation, so accurate counting is essential for budgeting and workflow stability.
Long chapters must be divided into segments of up to 4096 characters. Your automation logic should handle these splits and rejoin the resulting audio files sequentially. This approach allows you to process standard-length books efficiently without hitting single-request boundaries, ensuring consistent narration across your entire project.
Character limits
The API enforces a strict 4096-character limit on the input field. If your text exceeds this boundary, the request fails rather than truncating silently. You must calculate the character count of each segment before submission. Note that spaces, punctuation, and any formatting markers all count toward this total, affecting both your character budget and the limit check.
- Hard limit: 4096 characters per request.
- Spaces and punctuation count as characters.
- Exceeding the limit results in a failed request.
Splitting long chapters
For novels or lengthy manuscripts, implement a splitting logic that breaks text into chunks of 4096 characters or fewer. Process each chunk independently and join the audio outputs. This method ensures reliable generation even for multi-chapter books. Keep in mind that requests are processed sequentially, so under load, a request may wait in a queue.
- Split text into 4096-character segments.
- Process segments independently.
- Join audio files sequentially.
Formatting cleanup
The engine does not support SSML, so stylistic markers like bolding or italics are ignored but still count toward the character limit. Remove unnecessary markup to save characters and avoid confusion. Ensure the text is clean plain text before submission to prevent unexpected character count errors.
- No SSML support.
- Stylistic markers count as characters.
- Clean plain text recommended.
Making the API Request
To convert your text into an audiobook, you send a POST request to the synthesis endpoint. The request body is a standard JSON object containing the text, selected voice, and desired output format. This single approach handles everything from short phrases to multi-paragraph chapters, eliminating the need for custom integration logic.
JSON payload structure
The core request includes the model ("tts-1" or "tts-1-hd"), input text (up to 4096 characters), voice preset, and response_format (mp3, wav, opus, flac, or pcm). You can optionally set speed between 0.25 and 4.0. For non-English Latin text, specify the language code to ensure accurate synthesis.
- model: tts-1 or tts-1-hd
- input: string up to 4096 characters
- voice: one of 8 presets (e.g., aria, atlas)
- response_format: mp3, wav, opus, flac, pcm
- speed: 0.25–4.0
- language: optional ISO code
Authentication header
Include your unique API key in the Authorization header using the Bearer scheme. Each account holds one active key; issuing a new key immediately invalidates the previous one. This ensures your usage is billed correctly against your current balance.
Endpoint URL
Send your request to https://api.neo79ok.com/v1/audio/speech. This endpoint accepts standard JSON bodies, allowing you to use existing OpenAI SDKs by simply changing the base URL to https://api.neo79ok.com/v1.
Processing the Response
The API returns the generated audio file directly in the response body, allowing you to save the output instantly. You can select from MP3, WAV, Opus, FLAC, or PCM formats via the response_format parameter to suit your distribution needs.
Audio file download
Receive the binary audio data immediately after synthesis completes. Store the file locally or push it to your CDN for audiobook distribution.
Error handling
If synthesis fails, the system returns a 4xx or 5xx error code. The charge is refunded in full, ensuring you only pay for successful generations. Always check the status code before processing the payload.
File format selection
Choose the format that best fits your platform. MP3 is standard for web players, while WAV and FLAC offer lossless quality for archival purposes. PCM provides raw data for further processing.
Handling Long Texts
For long-form content, divide your manuscript into segments of up to 4,096 characters per request. This ensures each synthesis completes efficiently without hitting endpoint limits. Since requests are processed sequentially, longer texts may queue under load, so batch your splits to maintain a steady throughput.
Splitting logic
Split your text at natural boundaries like chapter breaks or sentence ends to avoid audio artifacts. Each segment must stay within the 4,096-character limit. This approach allows you to manage character counts precisely and keeps individual requests small enough for quick processing.
- Maximum 4,096 characters per request
- Split at natural text boundaries
- Process requests sequentially
Joining audio files
Once synthesis completes, concatenate the returned audio files in the correct order. Use standard audio libraries to merge MP3, WAV, Opus, FLAC, or PCM files. The generated audio carries an inaudible watermark marking it as synthetic. This applies to every segment, so each piece retains its synthetic identity.
- Merge files in sequence
- Supports MP3, WAV, Opus, FLAC, PCM
- Inaudible synthetic watermark on each file
Gap management
Ensure your joining process preserves the original pacing. Avoid adding extra silence between segments unless your editing workflow requires it. Consistent gap management maintains the listener’s immersion, ensuring the final audiobook feels like a single continuous recording rather than disjointed parts.
Pricing Your Output
NarrativeEngine charges $10 per 1 million characters, equating to $0.01 per 1,000 characters. Spaces and punctuation count toward this total. Failed requests are free, ensuring you only pay for successful synthesis. This predictable cost structure allows precise budgeting for long-form projects without hidden fees or subscription tiers.
Cost per chapter
Calculate your audiobook cost by counting total characters, including spaces. For a 50,000-character manuscript, the base synthesis cost is $0.50. Since requests are processed sequentially, longer texts may require splitting, but the per-character rate remains constant regardless of volume.
- Standard rate: $0.01 per 1,000 characters.
- Spaces and punctuation count as characters.
- Failed requests incur zero charge.
Budget planning
Top-ups are made via USDT on the TRON network (TRC-20). Minimum deposit is $5, credited automatically within minutes. There are no monthly plans, seats, or minimum spends. Your balance never expires, allowing you to scale usage as your catalog grows.
- Payment: USDT (TRC-20) on TRON network only.
- Minimum top-up: $5.
- Credit time: Automatic, within minutes.
- No expiration on remaining balance.
Trial usage
Signing in with Google provides $0.50 in trial credit, valid for 7 days. This covers approximately 50,000 characters, sufficient for testing voice consistency and audio quality across multiple presets before committing to larger purchases.
- Google sign-up bonus: $0.50 credit.
- Validity: 7 days.
- Approx. 50,000 characters.
- Email/password accounts start with zero credit.

Quality Control
Quality assurance is critical when converting long-form text into audiobooks. Since the API processes requests sequentially, generation times vary based on queue load. Short phrases may take a few seconds, while longer chapters require splitting and joining. Automated pipelines must account for this latency to maintain consistent throughput without dropping chapters.
Consistency in narration style ensures a professional listening experience. By selecting one voice preset per book, you avoid tonal shifts between chapters. Adjusting the speed parameter allows fine-tuning of pacing without altering the natural flow of the narration.
Listening tests
Run spot checks on synthesized audio to verify clarity and pacing. Listen for awkward pauses or mispronunciations that may arise from complex punctuation. Since the API does not support SSML, you must adjust punctuation or wording in the source text to control flow.
Verify that the generated audio matches the intended tone. For example, use 'sage' for instructional content or 'aria' for narrative storytelling. Ensure the output format (mp3, wav, opus, flac, or pcm) meets your distributor’s specifications.
- Sample 10% of chapters for manual review
- Check audio format compatibility with platforms
- Verify no clipping or distortion in output
Speed adjustments
The speed parameter ranges from 0.25 to 4.0. Adjusting speed can help match the natural cadence of the narrator or accommodate listener preferences. Faster speeds reduce generation time but may sacrifice clarity.
Test different speeds with a sample chapter to find the optimal balance between production efficiency and listening comfort. A speed of 1.0 is usually sufficient for most narration styles.
- Adjust speed between 0.25 and 4.0
- Test 1.0x speed for baseline clarity
- Optimize for production efficiency vs. quality
Voice consistency
Use the same voice preset throughout a single book to maintain narrative continuity. The eight presets (aria, nova, luna, sage, felix, milo, atlas, orion) offer distinct tones, but mixing them within a book may distract listeners.
Ensure the language setting matches the text script. If the language is not specified, the API guesses based on the script (Latin defaults to English). Explicitly setting the language prevents unwanted voice shifts in multilingual texts.
- Lock voice preset per book
- Set explicit language code
- Avoid mixing voice presets within chapters
Deployment Workflow
Audio synthesis is stateless, making it ideal for pipeline automation. Scripts iterate through chapter files, sending each to the API endpoint. Since the service processes requests sequentially, batch jobs naturally queue without complex concurrency logic, ensuring stable throughput during high-volume production runs.
Automating synthesis
Use standard HTTP libraries to loop through your manuscript chapters. Pass each text segment to the speech endpoint with your preferred voice and format. The API returns the audio file directly, allowing your script to save the output immediately without manual intervention.
- Use standard HTTP libraries to loop through your manuscript chapters.
- Pass each text segment to the speech endpoint with your preferred voice and format.
- The API returns the audio file directly, allowing your script to save the output immediately without manual intervention.
CI/CD integration
Integrate TTS synthesis into your build pipeline. Trigger audio generation after text validation passes. Store the resulting audio artifacts alongside your project files, ensuring version control tracks both the source text and the generated audio for reproducibility.
Since requests are processed one after another, batch scripts handle the queue efficiently without manual intervention, preventing API overload while maintaining a steady production rate.
Storage management
Generated audio is returned in the response and not stored by the API. You must manage your own storage for the final MP3 or WAV files. Plan for volume: long-form audiobooks can accumulate significant data, so implement automated cleanup or archival strategies for completed projects.
Input text is used only to produce the audio and is not used for training, so you retain full rights to store and distribute your generated audio files as needed.
- Generated audio is returned in the response and not stored by the API.
- Plan for volume: long-form audiobooks can accumulate significant data.
- Input text is used only to produce the audio and is not used for training.
Common Pitfalls
Developers often encounter predictable hurdles when scaling TTS workflows for audiobook production. Understanding these specific failure modes prevents wasted credits and ensures smooth chapter generation pipelines.
Language detection errors
The API guesses language from script if not explicitly set. Latin-script text defaults to English, causing pronunciation errors for other languages like Dutch or Norwegian without the language parameter.
- Set
languageexplicitly for non-English Latin text. - Non-Latin scripts are detected automatically.
Rate limit hits
You have a hard limit of 60 requests per minute per key. Before your first top-up, this limit is 10 requests per minute.
- Implement exponential backoff for 429 errors.
- Monitor usage via the dashboard to avoid throttling.
Character counting mistakes
Characters include spaces and punctuation. A 4096-character limit applies per request. Miscounting leads to truncation or rejected payloads.
- Count all characters, including whitespace.
- Split text strictly at 4096-character boundaries.
Support and Troubleshooting
Support is available exclusively via email. There is no phone line or live chat option, so responses rely on your detailed written query. This channel handles all technical and billing questions for NarrativeEngine users.
For immediate self-service, consult the API documentation for endpoint details and request examples. The docs cover all standard fields, authentication methods, and response schemas required for audiobook production workflows.
Email support channel
Send inquiries to our support address. Include your API key, request IDs, and error logs to expedite resolution. Typical response times vary based on queue volume, but all tickets are treated with engineering priority.
- No phone support available
- No live chat widget
- Email-only communication channel
Documentation references
The full API reference is hosted at /docs/. It details the /v1/audio/speech endpoint, voice parameters, and supported formats like MP3 and FLAC. Use this resource to verify field requirements before making requests.
- Endpoint specifications
- Voice presets list
- Error code definitions
Error code lookup
Review the documentation for standard HTTP status codes and custom error messages. If synthesis fails, check your request payload for invalid characters or rate limit breaches (60 requests/minute). Failed requests are free, so verify your balance if charges appear unexpected.

Next Steps
You can generate your first audiobook chapter in minutes by securing your API key and testing the synthesis engine. The trial credit allows immediate validation of voice quality and audio formats without financial commitment.
Once verified, integrate the API into your production pipeline using standard HTTP requests. The consistent endpoint structure ensures seamless scaling from single titles to large catalogs.
Get your API key
Navigate to /get-api-key/ to sign in with Google or create an account. Your unique key enables authentication for all synthesis requests.
- Google or email registration
- Instant key generation
- Start with $0.50 trial credit
Try the demo
Use the provided curl example to send a short text and receive an audio file. Verify that the voice, speed, and format meet your audiobook standards.
- Copy-paste ready curl command
- Immediate audio response
- Test multiple voices
Read the full docs
Review /docs/ for detailed endpoint specifications, character limits, and error handling. The documentation covers all parameters needed for automated, long-form synthesis.
- Endpoint specifications
- Rate limit details
- Voice presets guide
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Master the art of self-publishing to launch your audiobooks and secure lasting freelance success.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- Creative Commons Attribution 4.0
- W3C WAI: making audio and video accessible
- openai-node on GitHub
- FFmpeg documentation
- curl documentation
- Tether (USDT)
- Python documentation
- LibriTTS-R corpus (OpenSLR 141)
- LibriVox public-domain audiobooks
- OpenAI API reference: create speech
- LibriTTS-R paper (arXiv 2305.18802)
