Frequently asked questions
Is the Indonesian text to speech free?
A: Indonesian is not supported. We currently support 23 specific languages, including English, Spanish, and Japanese. You receive a $0.50 free trial (about 50,000 characters) valid for 7 days when signing in with Google. After that, usage costs $0.01 per 1,000 characters.
How accurate is the Indonesian pronunciation?
Indonesian is not supported by this API. The service supports 23 languages including English, Spanish, and German. Any voice preset can speak any of these supported languages. If you need Indonesian, you must use a different provider, as it is explicitly listed as not supported.
Can I use the API for bus route announcements?
Yes. VocalPath helps indie developers build audio announcement systems for buses and public spaces. You can send text via POST request and receive audio files. The API supports multiple voices like atlas (neutral, news) or milo (friendly, conversational), suitable for clear transit announcements.
What happens if the API request 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 financial penalty for the initial failure.
Do I need to pay for each announcement?
Yes, you pay per character used. The rate is $0.01 per 1,000 characters, including spaces and punctuation. You need a positive balance, topped up via USDT on TRON. Failed requests are free, but successful generations deduct from your balance immediately upon completion.
Can I mix languages in one request?
No, each request generates audio for a single language. You can optionally specify the language using an ISO code. If not set, it guesses from the script (Latin defaults to English). For mixed-language texts, split them into separate requests for each language segment.
Is the generated audio watermark detectable?
Every generated file carries an inaudible watermark marking it as synthetic speech. It is not easily detectable by human ears but identifies the audio as AI-generated. This helps verify the source of the synthetic speech without affecting the listening experience for transit announcements.
How fast is the audio generation?
Typical speed is 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. Longer texts must be split into parts by the client and joined manually.
Can I use the audio commercially?
Yes. The voices are based on licensed recordings (LibriTTS-R, CC BY 4.0) and public-domain audiobook readings. Input text is not used for training. Generated audio is returned in the response and not stored, allowing you to use the files for commercial transit announcements.
Do I need a developer account?
Yes, create an account at /get-api-key/ using Google or email. Accounts are per site. You receive an API key to authenticate requests. The dashboard shows your key, balance, and usage. No minimum spend or monthly plans are required to start developing.
What audio formats are supported?
You can choose mp3, wav, opus, flac, or pcm via the response_format field. These formats are compatible with most audio systems. Select the format that best fits your bus or train announcement infrastructure. All formats are generated with the same quality and watermark.
Is there a limit on text length?
Each request supports up to 4,096 characters. For longer texts, split them into parts of this size and join the resulting audio files. Spaces and punctuation count toward the character limit. This ensures efficient processing and manageable request sizes for the API.
Can I control the speech speed?
Yes, adjust the speed between 0.25 and 4.0. This allows you to slow down announcements for clarity or speed them up for efficiency. The default speed is 1.0. Adjusting speed does not affect the voice character or language accuracy of the output.
How do I top up my balance?
Top up using USDT on the TRON network (TRC-20). The minimum amount is $5. Credits are automatically added within minutes after transfer. No cards, PayPal, or subscriptions are supported. Balance does not expire, and you can issue a new API key anytime.
First request
curl
curl https://api.play2739.com/v1/audio/speech \
-H "Authorization: Bearer $TTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"tts-1","voice":"aria","input":"Hello from the API.","response_format":"mp3"}' \
--output hello.mp3Why developers choose TTS for transit audio
Transit audio systems require rapid updates for schedule changes, route diversions, or station closures. Using our API, indie developers eliminate the logistical overhead of recording new voiceovers with actors or studios. You send text via a simple JSON request, and the API returns the audio file instantly. This workflow allows you to update announcements across dozens of vehicles in minutes rather than days.
Simplify route updates without voice actors
Voice actors offer quality but lack scalability. When a bus route changes or a train line is suspended, you need the audio file now, not next week. Our API processes text up to 4,096 characters, letting you generate full announcements in one request. You manage the text content directly in your code, ensuring the latest information is always spoken.
- Replace manual recording workflows with automated API calls
- Update audio files for entire fleets simultaneously
- No studio booking or scheduling required
Instant deployment across multiple vehicle fleets
Indie developers often manage small fleets of buses or trains. With our SDK-compatible endpoint, you can deploy announcements to any number of devices. The API handles the generation, returning MP3, WAV, or OPUS files ready for playback. This eliminates the need for custom infrastructure or maintaining separate audio servers for each vehicle.
Consistent audio quality in noisy environments
Public spaces are loud. Our voices, such as Atlas for neutral updates or Sage for instructions, are optimized for clarity. The synthetic speech is generated at a consistent volume and tone, ensuring passengers can hear important information even in busy stations or moving vehicles. This consistency reduces passenger confusion and improves accessibility.
Indonesian language support for local announcements
Indonesian is not one of our 23 supported languages, so you cannot use this API for Indonesian announcements. The API handles local pronunciation rules accurately, so passengers hear familiar, understandable speech rather than robotic text-to-speech artifacts.
Natural pronunciation for Indonesian routes
This clarity is essential for both local commuters and tourists navigating complex transit networks.
Support for mixed-language announcements
Transit systems often mix languages. Our API allows you to specify the language parameter for each segment, enabling seamless transitions between Indonesian and English or other supported languages within a single announcement flow.
Accurate tone for emergency instructions
For critical updates, voice presets like Atlas provide a neutral, clear tone suitable for news-style updates, while Sage offers calm, instructional guidance. This ensures emergency instructions are heard as authoritative yet reassuring.
Voices optimized for clarity
Choosing the right voice ensures your transit announcements are understood clearly, even in noisy stations or moving vehicles. Our eight presets are designed for specific communication styles, from neutral reporting to engaging promotion.
Atlas for neutral, clear news-style updates
Atlas provides a neutral, news-style tone ideal for standard route updates and schedule changes. Its clear articulation ensures passengers receive accurate information without unnecessary emotional bias.
Sage for calm, instructional guidance
Sage offers a calm, instructional voice perfect for step-by-step boarding instructions or safety guidelines. The soft, steady delivery helps reduce passenger anxiety during complex maneuvers.
Felix for energetic, engaging promo messages
Felix brings an energetic, promo-focused energy to advertisements or station promotions. Use this voice to capture attention for special offers or upcoming events with a bright tone.
Technical integration for indie developers
Integrate VocalPath into your bus announcement system using the familiar OpenAI SDK. Simply update the base_url to https://api.play2739.com/v1 and use your API key. This allows indie developers to leverage existing codebases without learning a new library or managing custom HTTP clients for each vehicle fleet.
OpenAI SDK compatible endpoint
Use the standard POST /v1/audio/speech endpoint with any OpenAI-compatible SDK. This compatibility ensures your integration remains lightweight and maintainable, allowing you to focus on route logic rather than audio protocol details.
Simple JSON requests for text input
Send a JSON body containing the model, input text, voice, and response_format. The API accepts texts up to 4096 characters per request. For longer announcements, split the text into chunks, generate each part, and join the resulting audio files.
- Use
tts-1ortts-1-hdmodels. - Set
voicetoatlas,sage, orfelix. - Authenticate with
Authorization: Bearer tts-....
Multiple audio formats: MP3, WAV, OPUS
Choose the format that best fits your playback hardware. MP3 offers efficient storage, while WAV provides uncompressed quality. OPUS is ideal for low-bandwidth environments. All generated files include an inaudible synthetic watermark for verification.
- MP3: Compressed, widely supported.
- WAV: Uncompressed, high fidelity.
- OPUS: Efficient for low-bandwidth environments.
Transparent pricing for small teams
For indie transit developers, cost predictability matters. VocalPath charges $0.01 per 1,000 characters, with spaces and punctuation counting toward the total. Failed requests are free, ensuring you only pay for successful audio generation.
$0.01 per 1,000 characters used
Your budget scales linearly with usage. At this rate, 1 million characters cost just $10. Since texts are split into 4,096-character chunks, you can generate long route announcements without complex billing logic.
- Spaces and punctuation count as characters
- Failed requests incur zero charge
- Balance does not expire
Free trial credit to test integration
Start with $0.50 of free credit when signing in with Google. This provides approximately 50,000 characters, enough to test your bus stop scripts and verify audio quality before committing funds.
No monthly fees or hidden costs
There are no subscriptions, seats, or minimum spends. Top-up via USDT (TRC-20) takes minutes. You only pay for what you generate, making it ideal for small teams with variable announcement volumes.

Reliability for scheduled announcements
For scheduled transit announcements, predictable timing is crucial. Text synthesis typically takes about 25 characters per second of audio, allowing you to plan playback windows accurately. This real-time generation speed ensures that your bus or train announcements trigger precisely when needed, without noticeable delays during normal operation.
Consistent real-time generation speed
Requests are processed sequentially, meaning generation time scales linearly with text length. For short station names, this takes just a few seconds, while longer route descriptions remain efficient. This consistency helps indie developers build reliable automated systems without complex buffering logic.
- ~25 characters of text generated per second of audio.
- Predictable latency for short phrases and long route descriptions.
Queue management during high load
When multiple vehicles request audio simultaneously, requests are queued and processed one after another. This ensures fair resource distribution without dropping announcements. With a limit of 60 requests per minute per key, you can easily handle standard fleet sizes without exceeding capacity.
- Sequential processing ensures no audio file is lost during high traffic.
- Rate limit of 60 requests/minute supports typical multi-vehicle deployments.
Automatic failure retry support
If a synthesis request fails, the charge is returned in full, so you only pay for successful audio files. Developers can implement simple retry logic in their announcement scripts, knowing that failed requests do not incur costs. This reliability simplifies error handling for critical public safety messages.
- Failed requests are free; charges are fully refunded.
- Simple retry logic ensures announcements are delivered without financial penalty.
Data privacy for public systems
Indie developers building transit audio systems often need to ensure passenger data isn’t repurposed. VocalPath guarantees that the text you send for synthesis is used strictly to generate the audio file and is not used for model training. This keeps your route updates and announcement scripts private to your specific deployment.
Input text not used for training
When you send a route update or station name, that text is processed immediately to create the audio file. It is not retained in a training dataset to improve the voice engine, ensuring your content remains exclusively yours for your public transport system.
No storage of generated audio files
The generated audio is returned directly in the response and is not stored on our servers. Once you download the file to your vehicle fleet’s system, it exists only in your infrastructure. This means we don’t hold copies of your announcements, reducing your compliance overhead.
Metadata kept only for billing
We keep minimal request metadata, such as timestamp, character count, and status, solely to calculate your usage accurately. This data is not linked to your training data and is used only to generate your invoices. You can see exactly what was processed and charged in your dashboard.
Getting started with your first announcement
To get your first transit announcement running, start by creating an account on our /get-api-key/ page. You can sign in instantly using your Google account or create a standard email and password login. This single account gives you access to the API on play2739.com.
Once registered, your dashboard displays your unique API key, current balance, and a ready-to-use cURL example. You do not need to wait for manual approval or wait for invoices. Your key is active immediately, allowing you to move straight into testing your integration with real transit scripts.
Sign up with Google or email account
Visit the sign-up page and choose your preferred method. Google sign-in provides immediate access with a $0.50 free trial credit valid for 7 days. If you prefer a traditional approach, use your email and password to create a standard account, which starts without trial credit but offers the same reliable API access.
Generate your API key instantly
After logging in, your dashboard shows your active API key starting with 'tts-'. This key authenticates your requests to the API endpoint. You can issue a new key at any time, which stops the old one immediately, ensuring your credentials remain secure as your system scales across different vehicle fleets.
- Keys start with 'tts-' and are used in the Authorization header
- New keys deactivate old ones instantly
- Rate limits start at 10 requests per minute before top-up
Test with a sample bus stop script
Use the provided cURL example to send a simple POST request to the /v1/audio/speech endpoint. Input a short text like 'Attention passengers, the next stop is Central Station' using the 'atlas' voice for a neutral, clear announcement. The API returns an audio file immediately, letting you verify quality and latency before deploying to your entire fleet.
- Endpoint: POST https://api.play2739.com/v1/audio/speech
- Recommended voice: 'atlas' for clear, news-style updates
- Formats available: MP3, WAV, OPUS, FLAC, PCM
Supported languages beyond Indonesian
VocalPath supports 23 languages, covering major global markets like English, Malay, and Spanish. This allows indie developers to deploy a single announcement system across diverse transit networks without managing separate voice assets or language-specific models for each region.
23 languages including English and Malay
We cover Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Every voice can speak all 23 languages, ensuring consistent audio quality regardless of the route.
Automatic language detection
The API guesses the language from the script. Latin text defaults to English, so you can send text without specifying the language if it is English. This simplifies your integration code for domestic routes.
Manual language code override
For non-English Latin-script text or specific dialects, set the optional language field with an ISO code. This ensures accurate pronunciation for local announcements, such as Malay text in a Malaysian bus system, preventing mispronunciation by the default English guess.
Not supported are Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, and others not in the list.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Generate short phrases like "Next stop: Central Station" to check clarity.
23 languages
Any voice speaks any of these languages.
