Frequently asked questions
What is text to speech software?
A cloud API that converts text into audio files via a POST request. Transport teams use it to generate announcements programmatically. It requires standard internet connectivity. You send text and receive an audio file, streamlining the production of broadcast-ready audio for large transport networks.
How does TTS work in transport?
Your system sends text to the API endpoint. The service synthesizes the audio using licensed voices and returns the file. You can control speed and format. This integrates directly into your existing announcement networks for automated, reliable playback.
Is the voice robotic?
The voices are based on licensed recordings from LibriTTS-R and LibriVox. They sound natural and clear. Each file carries an inaudible watermark marking it as synthetic. They are designed for clarity rather than human mimicry.
Can I update announcements in real time?
Yes. Send new text to the API anytime to generate audio on demand. There is no streaming; you receive the complete file once synthesis finishes. Short phrases typically take a few seconds to process, while longer texts generate at roughly real-time speed. Requests are queued under load, so update timing depends on current server load and text length.
Do I need special hardware?
No. The API is cloud-based. You only need standard network connectivity to send requests and receive audio files. Your existing speakers or PA systems can play the returned MP3, WAV, or other formats.
How accurate is the pronunciation?
The engine handles 23 languages accurately. If the language is not specified, it guesses from the script. For non-English Latin text, you must set the language code to ensure correct pronunciation and avoid errors.
Can I use multiple languages?
Yes. The API supports 23 languages, including English, Chinese, Spanish, and Hindi. Any voice can speak any supported language. Unsupported languages are Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, and Bengali. You can mix supported languages in your workflow.
Is the API reliable?
The API processes requests sequentially. Under load, requests may queue. Typical speed is roughly real time. Failed requests are free. There is no SLA or uptime guarantee.
What if the internet goes down?
The service is cloud-based, so you need internet to generate audio. If connectivity fails, you cannot request new speech. You must pre-generate announcements or have a fallback system, as there is no on-premise install option.
How do I choose the right voice?
Select from eight presets aligned with your announcement style. Use atlas for neutral news, luna for soft storytelling, or felix for energetic promos. All voices support all 23 languages, allowing flexible deployment across diverse transport networks. Test voices to ensure clarity and tone match your station's requirements before scaling to large teams.
Is it cheaper than hiring voice actors?
Yes. Pricing is $10 per 1 million characters. You pay only for what you use. There are no monthly fees or salaries. Failed requests are free. This is significantly more cost-effective for large teams and frequent updates.
Can I record my own voice?
No. The API uses eight fixed presets (aria, nova, luna, sage, felix, milo, atlas, orion) based on licensed recordings. You cannot upload your own voice, clone it, or design custom voices. You must use the provided voices.
How long does synthesis take?
Long texts generate at roughly real time. Short phrases take a few seconds. Requests are processed sequentially, so under load, you may experience queue delays. The speed depends on text length and current server load.
Is the audio clear in noisy stations?
The voices are optimized for clarity. Adjust speed (0.25–4.0) to suit your environment. Formats like MP3 or WAV ensure compatibility with standard station hardware. For noisy stations, use higher speeds or specific voices like Atlas for neutral clarity.
Definition and Purpose
Transit Voice API converts text into audio files via a cloud-based TTS engine. Teams send text payloads to the endpoint and receive synthesized audio, enabling automated station announcements. This infrastructure replaces the manual recording step for schedules, allowing rapid updates without re-recording.
Unlike static audio loops, this system supports dynamic content and route changes. By centralizing voice management, transport operators maintain consistent audio standards across the fleet while eliminating the need to hire voice actors for every new route or minor schedule adjustment.
Conversion of text to audio files
The API accepts text input and returns an audio file (mp3, wav, etc.) within seconds. Text is processed through a cloud engine, ensuring that the output matches the input script exactly. This allows for precise control over pronunciation and pacing via the voice and speed parameters.
- Input: plain text up to 4096 characters
- Output: selectable formats (mp3, wav, opus, flac, pcm)
- Processing time: roughly real-time for long texts; short phrases take a few seconds
Automation of station announcements
Announcements are generated on demand, not pre-recorded. When a delay occurs or a gate changes, the dispatch system sends the updated text to the API. The synthesized audio is returned and played immediately, ensuring passengers receive current information without waiting for manual updates.
- Supports 23 languages for local and tourist announcements
- Automatic language guessing or explicit ISO code setting
- No SSML or phoneme dictionaries are available.
Replacement of human voice actors
The system replaces the need for static audio playback systems or hiring voice actors for every new route or schedule change. It standardizes the voice across all stations, ensuring uniform tone and clarity. While live announcements still require human presence, the recorded announcement infrastructure no longer depends on individual performers.
- 8 preset voices available for consistent fleet-wide audio
- No voice cloning or custom recording sessions needed
- Audio files carry an inaudible synthetic watermark
How It Works
The Transit Voice API converts text payloads into audio files via a standard HTTP POST request. You send the announcement text, voice preset, and format preference to https://api.vv72thai.com/v1/audio/speech. The engine synthesizes the speech using licensed voice recordings, ensuring the output is synthetic rather than a simple playback of static clips.
API request with text payload
Send a JSON body containing the input text (up to 4096 characters), model, voice, and response_format. Include the Authorization: Bearer header with your API key. The system accepts standard formats like mp3 or wav, tailored for transport playback systems.
- Text limit: 4096 characters per request
- Formats: mp3, wav, opus, flac, pcm
- Auth: Bearer token required
Cloud-based synthesis engine
Requests are processed one after another. For long texts, generation takes roughly real-time speed (approx. 25 characters per second). Short phrases may take a few seconds to synthesize. Under load, requests may queue behind others, so plan for slight latency during peak dispatch times.
Return of audio binary data
Upon completion, the API returns the audio file directly in the response body. Failed requests incur no charge. For texts exceeding 4096 characters, split the input, generate parts, and join the resulting audio files to ensure complete announcement delivery.

Why Use API over Static Files
Static audio files require manual replacement for every schedule change or station update. An API decouples content from storage, allowing dispatch systems to generate announcements on demand. This eliminates the need to manage hundreds of audio files across multiple devices.
By sending text via API, transport teams ensure announcements always reflect the current state. There is no risk of playing outdated recordings when routes shift or platforms change.
Dynamic content updates
Static files are fixed; once uploaded, they cannot change without manual intervention. An API allows your dispatch system to inject live data—such as train numbers or delay reasons—directly into the speech engine. You send the text, and the system returns the audio file immediately.
- Inject live variable data (e.g., train ID, destination) into announcements.
- Update content without re-uploading files to thousands of speakers.
- Maintain a single source of truth for all announcement scripts.
Real-time route changes
When a route changes, the system generates a new audio file with the correct destination. This is not streaming; it is a standard synthesis request. The delay is minimal, typically a few seconds, ensuring the announcement matches the actual schedule at the moment of playback.
- Generate accurate audio for last-minute platform swaps.
- Avoid playing incorrect pre-recorded messages during irregular operations.
- Ensure the spoken text matches the digital dispatch data exactly.
Centralized voice management
All audio is generated using the same voice presets (e.g., Atlas for news, Felix for promos). This ensures consistent tone across the entire fleet. You manage voice selection in one place, ensuring every station uses the same brand voice without manual file verification.
- Uniform voice tone across all stations and vehicles.
- Update voice style globally by changing API parameters.
- Simplify maintenance by reducing the number of unique audio files to manage.
Voice Selection Strategy
Voice selection in transit environments prioritizes intelligibility over expressive range. The eight available presets are engineered for clarity across varying noise floors, ensuring announcements are understood by passengers with diverse hearing capabilities and in noisy station environments.
Clarity over emotional range
Unlike entertainment-focused TTS, transport voice design suppresses excessive intonation to prevent distraction. Voices like Atlas provide a neutral, news-style delivery that conveys information without emotional bias, while Orion’s deep, documentary tone offers authority for safety-critical alerts without implying a specific emotional state.
Neutral tones for neutrality
Neutral tones ensure the message remains the focus. Sage and Atlas are ideal for standard instructional announcements, delivering clear, consistent cues without the variability of human performance. This reduces cognitive load for passengers who simply need to know route changes or platform assignments.
Consistency across fleet
A single voice preset ensures uniform brand identity across all vehicles and stations. Whether using the bright, upbeat Nova for general updates or the calm, instructional Sage for detailed guidance, the API guarantees the same audio characteristics regardless of the dispatch location or time of day.
- Uniform delivery across all stations and vehicles
- Single voice preset maintains brand coherence
- No variability from human performer fatigue
Integration with Transport Systems
Transport announcement systems rely on precise timing and reliable audio delivery. The API enables automated voice generation triggered by specific operational events, ensuring that passenger information is delivered exactly when needed without manual intervention.
Triggering announcements on events
Integrate the API with your event triggers to generate audio on demand. When a train arrives or a gate changes, your system sends a POST request to the speech endpoint. The API returns the complete audio file, which your client then plays. This eliminates the need for pre-recorded static files for every possible route variation.
- Generate audio dynamically based on real-time operational triggers
- Replace static audio files with on-demand synthesis
- Ensure announcements match current schedule status exactly
Integration with dispatch software
Connect your dispatch or routing software directly to the API. When a route change occurs or a delay is announced, your software formats the text payload and sends it to the API. The resulting audio is returned as binary data, ready for playback through your station speakers or onboard PA systems. This creates a seamless loop between dispatch decisions and passenger communication.
- Direct API calls from dispatch systems
- Automated audio generation for route changes
- Unified voice management across all stations
Handling variable input lengths
Announcements vary in length, from simple stop names to detailed delay explanations. The API accepts up to 4096 characters per request. For longer texts, your system splits the input into parts, synthesizes each segment, and joins the audio files before playback. This ensures that even complex, multi-sentence announcements are delivered clearly without exceeding API limits.
- Supports up to 4096 characters per request
- Splits and joins longer announcements client-side
- Handles variable text lengths for diverse announcements
Quality Considerations
Transport announcement systems require predictable audio output. The synthetic watermark is embedded in every generated file for operator identification and audit trails, not for passenger transparency. Passengers hear the same clear voice regardless of the source, while operators can verify the audio is machine-generated if needed.
Network latency affects real-time updates. During high load, requests process sequentially, potentially queuing. For long texts exceeding 4096 characters, the system splits input and joins audio files, which adds processing time. Expect slight delays during peak usage when many vehicles trigger announcements simultaneously.
Synthetic watermark detection
The watermark is inaudible to passengers, serving only for operator identification. It marks the file as synthetic speech, allowing transit authorities to verify that announcements are generated by the API and not recorded by human voice actors. This aids in content management without affecting the passenger experience.
Latency during peak hours
Requests are processed one after another, so under load a request may wait in a queue. Typical speed is roughly real time on long texts. Short phrases take a few seconds. For large fleets announcing simultaneously, queueing may delay audio delivery by several seconds.
Long texts are split into parts of up to 4096 characters and joined. This splitting and joining process adds minor latency compared to playing a static file. Plan for this delay when triggering time-sensitive announcements.
- Queue processing during high demand
- Sequential request handling
- Split-join overhead for long texts
Audio format compatibility
Support mp3, wav, opus, flac, and pcm formats. Choose formats compatible with your station PA systems and vehicle audio players. MP3 is efficient for storage; WAV offers high fidelity for local playback; Opus reduces bandwidth for networked systems.
Ensure your transport hardware supports the selected format. Mismatched formats may require conversion, adding complexity. Use PCM for raw data streams or FLAC for lossless quality where storage is not constrained.
- MP3 for efficient storage
- WAV for high fidelity
- Opus for network efficiency
- FLAC for lossless quality
- PCM for raw data streams
Language Support in Transit
The API supports 23 languages, enabling multilingual station announcements for diverse transit networks. Any voice can speak any supported language, ensuring consistent audio quality across all routes.
Tourist and local language support is handled by explicitly setting the language field. Without this parameter, Latin-script text defaults to English, which may cause errors for non-English text.
Multilingual station announcements
Support includes Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish.
Any of the 8 voice presets can deliver any of these 23 languages, allowing uniform voice branding regardless of the spoken language.
Tourist vs local language support
For non-English Latin-script text, you must set the language parameter to ensure correct synthesis. This prevents the engine from guessing English and producing unnatural pronunciation for local languages.
This explicit control is critical for tourist-heavy lines where both local and English announcements must sound natural and clear.
Language guessing accuracy
If the language field is omitted, the system guesses from the script. Latin text defaults to English. Non-Latin scripts are detected automatically, but Latin text defaults to English.
Unsupported languages include Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, and Bengali.

Cost Efficiency
Transit Voice API charges $0.01 per 1,000 characters, making high-frequency station announcements economically viable for large fleets. This model eliminates the recurring costs associated with hiring voice actors or maintaining external production studios for routine updates.
Since the service operates on a pay-as-you-go basis, transport teams only pay for actual usage. Failed requests are refunded in full, ensuring that billing accurately reflects successful audio generation without hidden fees or minimum monthly commitments.
Low cost per announcement
At $0.01 per 1,000 characters, the cost per announcement is minimal, even for detailed route descriptions. This pricing structure allows for frequent updates without significant budget impact, replacing expensive static recording sessions with on-demand generation.
No staffing costs for voice
By automating voice generation, transport operators remove the need for dedicated voice talent for routine updates. There are no hourly rates, session bookings, or union costs to manage for standard station or train announcements.
- Zero recurring voice talent fees
- No session booking overhead
- Immediate voice availability for any script
Scalable usage model
The API scales instantly with demand. Whether handling a single delayed train or a system-wide emergency alert, the cost remains proportional to character count. There are no minimum spend requirements or tiered subscriptions to navigate.
Reliability Metrics
Reliability hinges on consistent synthesis performance. Failed requests are free, ensuring no cost for errors. System metadata tracks status for accurate billing and audit trails.
Under load, requests queue sequentially. Short phrases take seconds; long texts generate near real-time. Predictable latency supports critical transport schedules.
Request success rates
Failed requests incur zero charge, with the full amount returned immediately. This ensures that a failed synthesis attempt does not impact your budget, maintaining predictable cost structures even during high-volume announcement bursts.
- Zero cost on failure
- Automatic refund
Queue wait times
Requests process sequentially. Short phrases take a few seconds to generate. Long texts produce audio at roughly real-time speed (25 characters per second). Under heavy load, a request may wait in queue before processing begins.
Fallback mechanisms
Input text is split into parts of up to 4096 characters and joined. This ensures large route descriptions or multi-stop announcements are handled reliably without hitting API limits.
Data Privacy
Input text is used exclusively for synthesis and is not retained for model training. This ensures that passenger information and route scripts remain isolated to the immediate generation process. Generated audio is returned directly in the response and is not stored on our servers, minimizing data exposure at rest. Only request metadata—time, character count, and status—are kept for billing purposes.
This approach aligns with strict operational privacy needs for transport networks. By avoiding long-term storage of audio or raw text, the system reduces the attack surface for data leaks while maintaining full auditability for usage reconciliation.
Text not used for training
Input text is used exclusively for synthesis and is not retained for model training. This ensures that passenger information and route scripts remain isolated to the immediate generation process.
- Raw text is processed in-memory
No audio retention
Generated audio is returned directly in the response and is not stored on our servers. This minimizes data exposure at rest and reduces liability for audio data breaches.
- Audio is ephemeral
Metadata for billing only
Only request metadata—time, character count, and status—is kept for billing purposes. This data is sufficient for accurate invoicing without storing the actual content spoken to passengers.
This approach aligns with strict operational privacy needs for transport networks. By avoiding long-term storage of audio or raw text, the system reduces the attack surface for data leaks while maintaining full auditability for usage reconciliation.
- Metadata retained for billing
Comparison to Human Voice
Human voice actors provide warmth but introduce variability in delivery speed and emotional tone. For transport networks, this inconsistency can confuse passengers or dilute brand identity across different stations and times of day. Our API eliminates this variance by generating audio from a fixed set of eight preset voices, ensuring every announcement sounds identical regardless of who manages the queue.
Consistency of delivery
Static recordings vary in pacing depending on the speaker’s mood or fatigue. In contrast, our API applies a consistent synthesis engine to every request. Whether generating a simple stop announcement or a complex multi-leg direction, the voice remains stable, reducing cognitive load for passengers who rely on predictable auditory cues.
Lack of human fatigue
Human narrators experience vocal strain after extended shifts, leading to slurred speech or reduced energy in evening broadcasts. The TTS engine does not tire. It maintains the same clarity and volume from the first request of the morning to the last at night, ensuring uniform quality without requiring shift rotations or voice rest periods.
Uniform accent and tone
Different human voice actors may introduce regional accents or subtle tonal shifts that can be distracting in a high-stress environment. By using presets like Atlas for news or Milo for conversational updates, you enforce a uniform accent across your entire network. This standardization is critical for safety-critical instructions where precise articulation is required.

Future Scalability
The API supports adding new routes without re-recording audio. You generate files on demand by sending the new script to the endpoint. This removes the dependency on voice actor schedules or studio availability for every new line or branch.
Adding new routes easily
New routes require only text input. The system synthesizes audio up to 4,096 characters per request. This allows immediate deployment of new service announcements without waiting for physical media production.
Updating scripts instantly
Announcements can be updated in seconds. If a schedule changes, you send the new text via API. The system processes the request and returns the audio file. This ensures the fleet hears the correct information immediately.
Supporting new stations
Station-specific announcements are generated on the fly. Each station’s script is treated as independent text. This allows scalable expansion to new locations without maintaining a centralized library of static audio files.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Team, please gather near the central entrance for your mandatory briefing and safety instructions before the shift begins.
23 languages
Any voice speaks any of these languages.
