Frequently asked questions
What is text to speech?
Text-to-speech is a cloud API that converts your input text into an audio file. You send a POST request with your message, and the service returns synthesized speech. It is designed for automated audio generation without human recording, making it ideal for digital displays and PA systems in transport.
How does TTS work for buses?
Your system sends text via POST to the API endpoint. The service generates audio using licensed voices and returns the file. You can play this audio through your bus PA system. It supports multiple languages and formats like mp3 or wav, ensuring compatibility with standard transport hardware.
Which voice is best for buses?
A: For bus announcements, atlas (neutral, news) or milo (friendly, conversational) are suitable choices. Atlas provides a neutral delivery for safety alerts, while Milo offers a friendly, conversational tone for general updates. Both voices support all 23 languages, ensuring clarity for diverse passenger demographics across different routes.
Can I change the voice dynamically?
Yes, you can select any of the 8 available voices per request. Simply specify the voice parameter in your API call. This allows you to switch between atlas for news and luna for storytelling dynamically, depending on the type of announcement or time of day.
How fast is the generation?
Generation takes roughly real time, 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. This speed is sufficient for most scheduled announcements and real-time route updates in transport environments.
Do I need an internet connection?
Yes, an internet connection is required to send requests to the cloud API. The audio is generated on our servers and returned to your device. Without connectivity, you cannot trigger new speech synthesis. Ensure your bus systems have stable network access for reliable operation.
Is the audio clear in a bus?
A: The API delivers audio files in formats like wav or mp3. The voices are based on licensed recordings, ensuring clarity. You can adjust the speed between 0.25 and 4.0 to optimize intelligibility in noisy bus environments, ensuring passengers hear route updates and safety alerts clearly.
Can I use this for electric buses?
Yes, the API works for any vehicle with network connectivity. Since audio is generated in the cloud, it does not depend on the bus engine. Electric buses benefit from the same clear, synthesized announcements as diesel or hybrid vehicles, ensuring consistent passenger communication across your entire fleet.
How do I handle schedule changes?
Update your text payload in the API request when schedules change. The system generates fresh audio instantly. Failed requests are free, so you can retry without cost. This allows you to push real-time delay announcements or route diversions immediately to your digital displays and PA systems.
What if the text is too long?
The API accepts up to 4096 characters per request. For longer texts, split the content into parts, generate audio for each, and join the files. This ensures all route details or lengthy safety instructions are delivered completely without truncation, maintaining the integrity of your passenger announcements.
Can I use my own text?
Yes, you provide any text up to 4096 characters. The API converts your specific message into speech. You can include custom route names, station titles, or unique safety warnings. The system does not restrict content, allowing you to tailor announcements precisely to your fleet’s specific needs and updates.
Do I need a developer?
A developer helps integrate the API, but it is not strictly required for basic usage. The endpoint matches the OpenAI SDK shape, so standard HTTP clients work. You can use provided curl examples to test quickly. However, automating schedule updates and voice selection typically benefits from basic programming integration.
Is it expensive for small fleets?
Pricing is $10 per 1 million characters. There are no monthly plans or minimum spends. You only pay for what you use. Failed requests are free. This model suits small fleets well, as costs scale directly with the volume of announcements you generate, without fixed overheads.
How do I test the audio quality?
Use the free trial credit of $0.50 to generate sample audio. Send a test request via the API and listen to the returned file. You can adjust voice, speed, and language to find the best fit. This allows you to verify clarity and tone before full deployment.
Why use TTS for bus routes?
Transit teams need reliable audio that sounds the same across every bus and every day. A text-to-speech API provides a consistent voice for route updates and safety alerts, eliminating the variability of human recordings or inconsistent voice synthesizers.
Unlike pre-recorded tapes, TTS allows for real-time updates. When a route changes or a delay occurs, you can generate new audio instantly via the API, ensuring passengers always hear the latest information without waiting for physical media distribution.
Consistent voice quality
Every generated file uses licensed recordings from LibriTTS-R, ensuring a uniform, professional tone across your entire fleet. Whether using Atlas for clear instructions or Felix for friendly reminders, the voice remains identical from vehicle to vehicle.
The audio is delivered in standard formats like MP3 or WAV, compatible with most onboard digital display and PA systems. This consistency builds passenger trust and reduces confusion caused by varying audio quality.
- Uniform voice across all vehicles
- Compatible with standard PA systems
- No variability in tone or speed
Real-time updates
Generate audio on demand when incidents occur. Send a simple POST request with the updated text, and receive an audio file within seconds. This eliminates the need for pre-recording every possible delay or detour scenario.
Ideal for dynamic announcements where timing is critical. The API processes requests sequentially, so under load a request may wait in a queue.
- Instant audio generation on incident
- No pre-recording required
- Ideal for dynamic scenarios
Multilingual support
Serve diverse communities with 23 supported languages, including English, Spanish, French, German, and Arabic. Any voice can speak any of these languages, allowing a single fleet to serve multilingual routes without multiple voice actors.
Set the language field to ensure accurate pronunciation for non-English Latin-script text. This avoids guessing errors and ensures clarity for non-native speakers, which is crucial for safety alerts and station announcements.
- 23 supported languages
- Any voice speaks any language
- Accurate pronunciation via language field
Choosing the right voice
Selecting the correct voice ensures your passengers receive clear, consistent audio that matches the context of the announcement. Our TTS API provides eight distinct presets, each designed for specific communication styles. Choosing the right tone helps reduce cognitive load for riders and improves compliance with safety instructions.
Atlas for clear instructions
Atlas offers a neutral, news voice ideal for precise route instructions. Its balanced delivery ensures that critical information, such as upcoming stops or transfer points, is understood without distraction. This makes it the default choice for standard operational announcements across diverse passenger demographics.
Felix for friendly reminders
Felix brings an energetic, promo-style tone that works well for friendly reminders. Use this voice for announcements about fare changes, special events, or courtesy requests. The upbeat nature helps maintain a positive atmosphere in the cabin, encouraging passenger cooperation without sounding robotic.
Nova for upbeat alerts
Nova delivers a bright, upbeat sound perfect for urgent but non-emergency alerts. Whether announcing a brief delay or a gate change, Nova’s clear enunciation cuts through ambient noise effectively. This voice keeps passengers informed while maintaining a sense of calm and efficiency.

Technical requirements
Integrating Audionet into your transport system requires a standard REST API call to https://api.t883casino.com/v1/audio/speech. This endpoint accepts JSON payloads and returns audio files, allowing seamless connection with existing digital display apps and PA system software without complex enterprise contracts.
The API uses a simple POST request structure. You authenticate with a Bearer token and specify parameters like voice, speed, and input text. This straightforward HTTP interface ensures that product teams can deploy announcements quickly without managing custom protocols or proprietary SDKs.
REST API integration
Connect directly via HTTP POST to the /v1/audio/speech endpoint. Use standard libraries in Python, JavaScript, or any language that handles JSON. The base URL is https://api.t883casino.com/v1, so the official OpenAI SDKs work by changing base_url to this address.
Authentication is handled via the Authorization: Bearer header with your unique API key. Each account holds one active key; issuing a new one instantly invalidates the old one, ensuring secure access across your fleet's backend systems.
- Standard HTTP POST method
- JSON request/response format
- Bearer token authentication
- Compatible with standard HTTP clients
JSON request body
Send your announcement text in the input field, capped at 4096 characters per request. Include the model (e.g., tts-1 or tts-1-hd) and voice preset. For non-English Latin text, explicitly set the language code to avoid incorrect English defaults.
Optional parameters like speed (0.25–4.0) allow you to adjust pacing for noisy environments. The API processes requests sequentially, so under load, queueing may occur. Ensure your implementation handles retries gracefully if a request is delayed.
- Max 4096 characters per request
- Supports
model,voice,speed - Explicit
languagecode recommended - Handles sequential processing queues
Audio format selection
Choose from mp3, wav, opus, flac, or pcm via the response_format field. MP3 is efficient for bandwidth, while WAV or FLAC offers uncompressed quality for high-fidelity PA systems. PCM provides raw data for custom processing pipelines.
Failed synthesis requests incur no charge, ensuring you only pay for successful audio generation. The generated audio includes an inaudible watermark, marking it as synthetic speech for transparency in public announcements.
- MP3, WAV, Opus, FLAC, PCM
- Balances quality and bandwidth
- No charge on failure
- Includes synthetic watermark
Handling route changes
Dynamic text input allows your API to react instantly to live traffic data. Instead of playing static loops, your system sends fresh text to the TTS endpoint as conditions change, ensuring passengers hear accurate, up-to-the-minute information about delays or diversions.
Variable substitution enables you to inject specific details like stop names or delay durations into predefined templates. This maintains consistent voice quality across hundreds of unique announcements without requiring manual recording for every possible scenario.
Dynamic text input
By passing real-time updates directly into the input field, you ensure the audio matches the current situation. The API processes these short texts quickly, typically within a few seconds, allowing for near-instant playback of critical alerts.
- Supports up to 4096 characters per request
- Processes requests sequentially, so plan accordingly during high-volume updates
Variable substitution
Combine static voice presets like Atlas for clear instructions with dynamic text. This approach keeps the tone consistent while delivering variable data. Ensure you set the language field explicitly if the variable text might confuse the language guesser.
This method reduces the need for storing thousands of audio files. You only need to manage your text templates and update them when routes change.
- Use
tts-1ortts-1-hdmodels - Limit text to 4096 characters to avoid truncation
Quick response times
Short announcements generate audio rapidly. While long texts take roughly 25 characters per second, a brief delay notice generates in a few seconds. This speed is crucial for real-time bus stops where information must be heard before the bus arrives.
Remember that requests are processed one after another. If you send many updates simultaneously, they may queue. For critical, immediate announcements, prioritize sending them before batch updates.
- Typical speed: ~25 characters per second
- Requests queue under load
Testing your announcements
Before deploying announcements to your fleet, validate your audio output using the $0.50 free trial credit available when signing in with Google. This allows you to generate approximately 50,000 characters of speech without upfront payment, ensuring you can verify quality and tone for critical route updates and safety alerts.
Use free trial credit
Sign in via Google to receive immediate trial credit. Use this balance to test various announcement scripts, ensuring the synthesized speech matches your brand’s voice before committing to paid top-ups via USDT.
- Available immediately upon Google sign-in
- Valid for 7 days
- Approximately 50,000 characters included
Test with different voices
Experiment with preset voices like Atlas for neutral news-style updates or Felix for energetic reminders. Since any voice can speak any supported language, test how each tone performs with specific route names and station announcements to find the best listener comprehension.
Verify audio clarity
Play generated MP3 or WAV files in the actual bus environment to check for clarity against engine noise. Ensure the audio format suits your playback system and that the synthetic watermark does not interfere with audio quality.
Deployment strategies
Choose between pre-generating audio for static routes or generating on-demand for dynamic alerts. Pre-generation reduces latency for standard stops, while on-demand handles real-time changes like detours.
Pre-generate common routes
Generate audio for frequent stops during off-peak hours. This ensures instant playback when the bus arrives, eliminating the few seconds required for synthesis during live operation.
- Store MP3 files locally on the vehicle's device
- Map stop IDs to pre-generated audio URLs
- Update pre-sets when schedules change
On-demand generation
Send text via API when a route change occurs. Use tts-1-hd for high quality in complex announcements. Expect a slight delay due to queue processing under load.
- Trigger API calls only when necessary
- Use Atlas voice for neutral, clear instructions
- Handle API errors gracefully with fallback messages
Cache frequent messages
Store generated audio in a local cache. This avoids re-synthesizing identical messages, saving characters and reducing API calls. Cache keys can be based on text and voice.
- Cache common alerts like 'Next stop: Central'
- Invalidate cache when text or voice changes
- Monitor cache size to avoid storage issues
Monitoring usage
Monitoring your API usage ensures your bus announcements play without interruption. By tracking character counts, you can predict costs accurately, as the rate is $0.01 per 1,000 characters. This helps you stay within budget while maintaining high-quality audio for route updates and safety alerts.
Track character counts
Each request processes up to 4096 characters. Keeping a tally of these characters helps you estimate future expenses and plan for longer route descriptions without unexpected charges.
Monitor rate limits
Your key allows 60 requests per minute. If you generate many announcements quickly, requests may queue. Watching this limit prevents delays in urgent safety alerts during peak hours.
View billing history
Request metadata, including time and status, is kept for billing. You can review this history to verify charges, especially for failed requests which are free.

Common pitfalls
Bus announcements often exceed the 4096-character limit per request. If you send a long route description in one go, the API rejects it. Split your text into smaller chunks and concatenate the resulting audio files to ensure the full message plays without truncation.
Ignoring character limits
Each API call handles up to 4096 characters, including spaces and punctuation. Exceeding this limit causes the request to fail, resulting in no audio and no charge. Always validate your text length before sending it to the endpoint.
- Limit input to 4096 characters per request.
- Split long texts into manageable parts.
- Concatenate audio files for final output.
Missing language codes
The system guesses the language from the script, defaulting to English for Latin text. If your bus runs through a region with a different primary language, omitting the language parameter may cause incorrect pronunciation. Explicitly set the ISO code to ensure clarity.
- Default language is English for Latin scripts.
- Set
languagefor non-English destinations. - Supported languages include French, German, Spanish, and 20 others.
Not handling errors
Requests may fail due to rate limits or server issues. Failed requests are free, but you must handle the error response to retry or alert your team. Ignoring errors can lead to silent failures where passengers hear nothing during a critical announcement.
- Retry on temporary failures.
- Monitor rate limits (60 req/min).
- Log errors for debugging.
Best practices for clarity
Clear audio ensures passengers catch critical safety instructions and station names, even on busy routes. Our TTS engine processes text efficiently, but clarity depends on how you structure your input. Simple phrasing reduces cognitive load for listeners who are often distracted or moving quickly.
By focusing on concise language and avoiding unnecessary complexity, you ensure the synthesized voice remains intelligible. This approach works well with voices like Atlas for neutral news-style updates or Felix for energetic reminders, keeping the message direct and easy to understand.
Use simple sentences
Break long route descriptions into short, declarative statements. Instead of "The bus is now arriving at the central station which is located near the city hall," use "Now arriving at Central Station." This reduces character count and improves readability.
Short sentences also help the API process text faster, especially under load when requests may wait in a queue. Clear, brief prompts ensure the voice model delivers each word distinctly without rushing.
- Keep sentences under 15 words when possible.
- Use active voice for direct instructions.
- State one piece of information per sentence.
Avoid complex punctuation
Standard commas and periods work well, but avoid excessive semicolons, em dashes, or nested parentheses. These can confuse the speech engine’s pacing, leading to unnatural pauses or rushed delivery.
Stick to basic punctuation marks. If you need a pause, use a period instead of a comma. This gives the voice model a clear cue for breath and emphasis, resulting in a more natural flow.
- Use periods for clear pauses.
- Avoid ellipses (...) unless necessary.
- Keep formatting minimal.
Test in noisy environments
Bus interiors and stops vary in noise levels. Test your audio clips at different volumes and in realistic conditions, such as with engine rumble or crowd noise.
Voices like Sage or Luna offer soft, storytelling tones that might get lost in high-noise areas. Consider using Atlas for a neutral, news-style clarity that cuts through background sound more effectively.
- Play audio at low volume to check intelligibility.
- Test during peak traffic hours.
- Verify clarity with different voice presets.
Integration examples
Integrating Audionet into your bus announcement system is straightforward. You can use the OpenAI-compatible SDK or simple HTTP requests to send text and receive audio files instantly.
Below are practical examples in Python, JavaScript, and cURL to help you get started quickly with your specific tech stack.
Python code snippet
Use the openai Python library, pointing it to our API base URL. Pass your text, voice selection, and desired format to generate the audio file.
- Install via
pip install openai - Set
base_urltohttps://api.t883casino.com/v1 - Use
model='tts-1'or'tts-1-hd'
JavaScript fetch example
A native fetch call works well for web-based dispatch apps. Send a POST request with the JSON body containing your announcement text and voice parameters.
- Set
Authorization: Bearer your-api-key - Request format:
mp3orwav - Handle the binary response stream
cURL command line
For quick testing or scripting, use cURL to send a request. Replace YOUR_API_KEY and Your Announcement Text with your actual credentials and message.
- Run in any terminal
- Verify the
200 OKresponse - Save output to an
.mp3file
Scaling for fleets
Scaling your TTS infrastructure for a bus fleet requires a straightforward approach that prioritizes reliability over complexity. By centralizing your audio generation, you ensure consistent branding across all vehicles while simplifying technical management.
A single API key allows your entire fleet to draw from one pool of characters, eliminating the need to manage dozens of individual accounts. This unified system tracks usage and billing in one place, making it easy to monitor costs as your network grows.
Single API key usage
Use one active key for all vehicles. The rate limit of 60 requests per minute applies globally, so distribute requests evenly across your fleet to avoid throttling.
If you need more concurrent capacity, you can issue a new key at any time, which instantly invalidates the old one. This allows for zero-downtime key rotation if needed.
- One key covers the entire fleet.
- 60 requests per minute limit shared.
- Instant key rotation supported.
Multiple vehicles
Each bus or tram acts as a client sending text to the same API endpoint. You can pre-generate common route announcements and cache them, reducing real-time load.
For dynamic updates like safety alerts, send short texts directly. Since short phrases take a few seconds to generate, plan your queueing logic to handle these delays gracefully.
Centralized billing
All character usage is billed to your single account balance. You pay $0.01 per 1,000 characters, with failed requests refunded automatically.
Track your usage via the dashboard to see exactly how many characters each vehicle consumes. This transparency helps you budget accurately without hidden fees or subscriptions.

Support and resources
Support is straightforward and accessible via email. We do not offer phone lines or live chat, ensuring that every inquiry receives a thoughtful, written response from our team. This approach keeps our operations simple and costs low for you.
All technical resources are centralized in our documentation. You will find clear guides for integration, troubleshooting, and best practices tailored to transport announcements.
Email support available
For questions about billing, API keys, or integration issues, email us directly. We aim to respond promptly to every message.
Our support team is knowledgeable about transport use cases and can help you troubleshoot specific announcement workflows.
Documentation links
Visit /docs/ for complete API reference, including request shapes, voice descriptions, and error codes.
The pricing page (/pricing/) details character costs and top-up methods via USDT on the TRON network (TRC-20).
Community examples
Explore community-shared snippets for Python, JavaScript, and cURL to accelerate your integration.
These examples demonstrate common patterns for bus route updates and safety alerts.
- Python integration guide
- JavaScript fetch example
- cURL quick start
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Please secure all cargo and remain seated until the vehicle reaches its final destination safely.
23 languages
Any voice speaks any of these languages.
