Frequently asked questions
What is a TTS API?
A cloud text-to-speech API lets you send text and receive an audio file via HTTP. It is designed for easy integration into transport apps, allowing you to generate voice announcements for buses or trains without managing complex infrastructure or hardware.
How does TTS work?
You send a POST request with your text to our endpoint. Our engine synthesizes the audio and returns the file. For texts over 4096 characters, split them into parts, generate each, and join the resulting audio files for a complete announcement.
What are the benefits for transport?
Our API offers straightforward pricing and robust voice presets like Atlas for news or Luna for storytelling. It integrates easily into navigation systems, helping indie developers build reliable audio announcements without the overhead of enterprise TTS platforms or complex contracts.
What is the API endpoint?
The endpoint is POST https://api.playtime1.info/v1/audio/speech. It accepts a JSON body with your text, voice selection, and format preferences. The request shape matches the OpenAI speech endpoint, ensuring compatibility with standard HTTP clients and SDKs.
What JSON fields are required?
You must provide the model (tts-1 or tts-1-hd), input (text up to 4096 characters), and voice (one of 8 presets). Optional fields include response_format, speed (0.25–4.0), and language (ISO code). Authentication requires a Bearer token in the header.
What audio formats are supported?
We support mp3, wav, opus, flac, and pcm formats. Choose the format that best fits your transport app’s playback requirements. All generated files include an inaudible watermark to mark them as synthetic speech, ensuring clear identification of AI-generated audio.
How many voices are available?
There are 8 voice presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion. These cover various tones from warm narration to neutral news delivery. All voices can speak any of the 23 supported languages, providing flexibility for diverse routes.
Which languages are supported?
We support 23 languages including English, Spanish, German, French, Japanese, Korean, and Hindi. If the language is not set, we guess it from the script, defaulting to English for Latin text. Vietnamese, Thai, and Ukrainian are not currently supported.
What is the pricing model?
Pricing is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count. Failed requests are free. There are no monthly plans, seats, or minimum spends. Balance does not expire, and you only pay for what you use.
Is there a free trial?
Yes, signing in with Google gives you $0.50 of credit (about 50,000 characters) valid for 7 days. Email accounts start without trial credit. This allows you to test the API’s quality and integration speed before committing to a top-up.
What payment methods are accepted?
We accept USDT on the TRON network (TRC-20) only. The minimum top-up is $5, and credits are added automatically within minutes. We do not accept cards, PayPal, or subscriptions, and there are no invoices with VAT for simplicity.
Can I use the OpenAI SDK?
Yes, the official OpenAI SDKs work by changing the base_url to https://api.playtime1.info/v1 and using your site’s key. This allows you to use familiar code structures while leveraging our specific voice presets and pricing model for transport announcements.
What are the rate limits?
Limits are 60 requests per minute per key, or 10 per minute before the first top-up. Requests are processed sequentially, so under load, a request may wait in a queue. Typical speed is roughly real-time for long texts.
Is my data stored?
Input text is used only to produce audio and is not used for training. Generated audio is returned in the response and not stored. We keep request metadata (time, characters, status) for billing purposes only, ensuring privacy for your routes.
What use cases are common?
Common uses include bus stop announcements, train station updates, and navigation voice guidance. Developers use our API for reliable audio in transport apps. The 8 voice presets allow for distinct branding, from friendly conversational tones to neutral news delivery.
How do I get support?
Support is available by email only. There is no phone number or live chat. We provide a ready curl example and documentation to help you integrate quickly. For technical issues, email us with your request details and error logs.
How does it compare to Azure?
Unlike Azure, we offer a simple flat rate per character with no complex tiering. We do not provide SLAs or enterprise contracts. Our API is designed for indie developers, offering easy integration via standard HTTP without the overhead of large cloud platforms.
How do I get started?
Sign up on /get-api-key/ using Google or email. You will receive an API key and access to your dashboard. Use the provided curl example to send your first request. Top up with USDT if you exceed the trial credit.
What are the technical specs?
Endpoint: POST /v1/audio/speech. Models: tts-1, tts-1-hd. Voices: 8 presets. Formats: mp3, wav, opus, flac, pcm. Speed: 0.25–4.0. Auth: Bearer token. Rate limit: 60 req/min. Text limit: 4096 characters per request. Base URL: https://api.playtime1.info/v1.
Are there future updates?
We continuously improve our voice presets and add new languages based on user feedback. We do not promise specific release dates or features. Updates are rolled out as they are ready, ensuring stable performance for your transport applications without disruption.
Understanding Text-to-Speech API
Text-to-Speech (TTS) APIs convert written text into natural-sounding audio files. For transport apps, this means replacing static sound files with dynamic announcements that update based on route changes, delays, or passenger counts. Note that requests are processed sequentially, so there is no real-time streaming.
Definition of TTS
TTS is a cloud service that accepts text input and returns an audio file. It eliminates the need for recording every possible route variation manually, allowing indie developers to generate announcements on demand.
How It Works
Your app sends a JSON payload with the announcement text to the API endpoint. The service processes the text using one of eight voice presets and returns an audio file in formats like MP3 or WAV.
Benefits for Transport
Dynamic updates ensure passengers hear accurate information about delays or gate changes without waiting for pre-recorded files. You avoid the overhead of enterprise platforms while maintaining reliable audio quality for buses, trains, and navigation systems.
API Endpoint and Structure
The core of AudiPath is a single endpoint that converts your transport announcement text into audio. This design keeps integration simple for indie developers building bus or train systems, allowing you to send text and receive an audio file without managing complex streams or servers.
The structure mirrors standard TTS APIs, meaning you can use familiar tools like the OpenAI SDK by simply adjusting the base URL. This reduces the learning curve for developers already comfortable with modern API patterns, letting you focus on your app’s logic rather than audio engineering.
POST /v1/audio/speech
All synthesis requests go to this endpoint. You send a JSON body containing your announcement text and configuration parameters. The API processes the request and returns the generated audio file directly in the response.
This single endpoint handles all models and voices, simplifying your codebase. You do not need separate endpoints for different audio formats or voice types, which reduces the number of HTTP calls your transport app needs to manage.
- Endpoint: POST https://api.playtime1.info/v1/audio/speech
- Method: POST
- Content-Type: application/json
JSON Body Fields
The request body requires specific fields to define how your announcement should sound. You must provide the model (tts-1 or tts-1-hd), the input text (up to 4096 characters), and a voice preset. You can also specify response_format, speed, and an optional language code for precise control.
These fields allow you to fine-tune announcements for different contexts. For example, you might use a faster speed for quick bus arrivals or a calmer voice for detailed train delay updates. The API validates these inputs before synthesis begins.
model: tts-1 or tts-1-hdinput: text string (max 4096 chars)voice: one of 8 presetsresponse_format: mp3, wav, opus, flac, pcmspeed: 0.25–4.0language: optional ISO code
Response Format
Upon successful synthesis, the API returns the audio file in the requested format. If the request fails, you receive an error message, and the charge is returned in full. This ensures you only pay for successful announcements, which is critical for budget-conscious indie projects.
The response includes the audio data directly, allowing you to play it in your transport app. You can cache these files if needed, but the API does not store them, keeping your data minimal and secure.
Voices and Languages
AudiPath provides eight distinct voice presets designed to handle various transport announcement scenarios, from calm narration to energetic updates. Each voice is built on licensed recordings, ensuring consistent quality across all generated audio files.
Our API supports 23 languages, allowing any voice to speak any supported language. This flexibility ensures clear announcements for diverse passenger bases without needing multiple voice models.
8 Preset Voices
We offer eight curated voices based on licensed recordings. Female voices include Aria (warm narrator), Nova (upbeat), Luna (storytelling), and Sage (instructional). Male options feature Felix (energetic), Milo (conversational), Atlas (neutral news), and Orion (deep documentary).
Every generated file includes an inaudible watermark to identify synthetic speech, ensuring transparency for your users.
- 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
23 Languages
Our API supports 23 languages, including English, Spanish, German, French, Chinese, Japanese, and Arabic. Any voice can speak any of these languages, providing flexibility for international routes.
If the language is not specified, the system guesses from the script. For non-English Latin text, set the language parameter explicitly to ensure accuracy.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Voice Selection Tips
For bus route announcements, Atlas or Sage provide clear, neutral clarity. For engaging navigation instructions, Nova or Milo work well.
Orion suits detailed station updates.
- Use Atlas for clear, neutral updates
- Try Nova for engaging navigation
- Avoid Felix for long narratives
- Orion is ideal for detailed updates
Pricing and Costs
For transport applications, predictability matters. AudiPath charges a flat rate of $10 per million characters, which equals $0.01 per 1,000 characters. Every character counts, including spaces and punctuation, so your budget depends directly on announcement length. If a synthesis fails, you pay nothing for that attempt.
$10 Per Million Characters
This straightforward model means you can forecast costs for daily bus routes or train schedules without hidden fees. Requests are processed sequentially, so under load a request may wait in a queue.
- $0.01 per 1,000 characters
- Spaces and punctuation count
- Failed requests are free
Free Trial
You can start testing immediately with a $0.50 trial credit, valid for 7 days. This provides roughly 50,000 characters, enough to generate several minutes of transport announcements. Note that this trial is only available when signing in with Google; email-only accounts start with zero balance.
- $0.50 initial credit
- Valid for 7 days
- Google sign-in only
Payment Methods
We use USDT on the TRON network (TRC-20) for top-ups. There are no credit cards, PayPal, or monthly subscriptions. Transfers are credited automatically within minutes, with a minimum deposit of $5. Your balance never expires, and there is no minimum spend requirement.
- USDT (TRC-20) only
- Minimum $5 top-up
- No expiration, no subscriptions
Integration for Developers
Integration is straightforward because our API mirrors the OpenAI speech endpoint structure. You can use the official OpenAI SDKs simply by changing the base URL to https://api.playtime1.info/v1 and supplying your AudiPath key. This means existing transport codebases can switch providers with minimal refactoring.
OpenAI SDK Compatibility
The request shape is identical to OpenAI’s speech endpoint. This compatibility allows indie developers to leverage familiar libraries without learning a new interface. Just update the base URL and authentication header.
- Compatible with official OpenAI SDKs
- Standard JSON request body
- Easy base URL swap
cURL Examples
For quick testing, use a simple cURL command. Send a POST request to the speech endpoint with your model, input text, voice selection, and preferred audio format.
- POST https://api.playtime1.info/v1/audio/speech
- JSON body with model, input, voice
- Bearer token authentication
Rate Limits
You are allowed 60 requests per minute per key. Before your first top-up, this limit is lower at 10 requests per minute. This ensures fair usage for all indie developers.
- 60 requests/minute after top-up
- 10 requests/minute initially
- Per key limit
Data Privacy and Storage
AudiPath respects your data by using input text solely to produce the final audio file. We do not use your recorded announcements or navigation scripts to train our models, ensuring your proprietary content remains yours.
Text Not Trained
Your input text is processed only for immediate synthesis. Unlike many platforms, we do not retain your scripts to improve our voice models, so your unique announcements stay private and are not part of our training data.
No Audio Storage
Once the audio file is generated and returned in the response, it is not stored on our servers. Each request is processed independently, meaning your audio outputs are transient and not archived for later retrieval or analysis.
Billing Metadata
We keep only the necessary metadata for billing purposes: the timestamp, character count, and request status. This minimal data ensures accurate invoicing without storing the actual content of your transport announcements.
Common Use Cases
Transport apps need clear, consistent audio without complex pipelines. Our TTS API converts text prompts into natural speech files on demand, handling the entire synthesis process so developers can focus on routing logic rather than audio infrastructure.
By using standard presets like Luna for soft storytelling or Felix for energetic promo, you get reliable outputs that sound professional without expensive voice design work.
Bus Announcements
Use Sage for calm, instructional stop announcements or Aria for warm, clear narrator-style alerts. Generate audio files for route changes, delays, or station names, then play them through your vehicle’s PA system.
The API handles up to 4096 characters per request, allowing you to batch multiple stop names into a single audio file.
- Use Aria for warm, clear narrator-style alerts
- Use Sage for calm, instructional stop announcements
- Batch multiple stop names into one file
Train Updates
Deploy Atlas for neutral, news-style delay updates or Orion for deep, documentary-style station introductions. These voices convey authority and clarity, essential for noisy environments where passengers need precise information.
Generate real-time updates by sending current status text to the API, receiving an MP3 or WAV file, and playing it immediately over the train’s audio system.
- Use Atlas for neutral, news-style delay updates
- Use Orion for deep, documentary-style station introductions
- Generate real-time updates via HTTP calls
Navigation Instructions
Nova’s bright, upbeat tone works well for turn-by-turn directions, keeping drivers engaged without sounding robotic. Pair with English or local language support for international routes.
Since the API returns audio files rather than streaming audio, you can pre-generate common instructions (e.g., "Turn left in 200 meters") and cache them locally for instant playback.
- Use Nova for bright, upbeat turn-by-turn directions
- Pre-generate common instructions for offline playback
- Support multiple languages via ISO codes
Support and Resources
We keep things simple so you can focus on your transit app. If you run into issues or have questions about integration, our team is here to help via email. We don't do phone support or live chat, so you'll get a thoughtful reply without the queue.
Email Support
Send your queries to our support address. We handle all technical and billing questions directly. Expect a response via email.
Documentation
Our docs cover every detail from voice selection to rate limits. You will find clear cURL examples and SDK instructions tailored for indie developers building bus or train announcements.
- Endpoint references for /v1/audio/speech
- Voice presets and language codes
- Error codes and handling
FAQ
Common questions about character counting, audio formats, and trial credits are answered directly in our guide. Check this section before emailing us to get quick answers for frequent issues.
Comparison with Azure
Azure TTS often carries higher base costs and complex enterprise contracts that can feel like overkill for indie transport apps. Our API offers straightforward pricing without minimum spend requirements, making it easier to budget for bus or train announcements.
We focus on delivering reliable audio synthesis without the overhead of enterprise-grade SLAs or dedicated support lines, letting developers prioritize app features over infrastructure management.
Pricing Differences
We charge $10 per million characters, with no monthly plans or seat limits. Failed requests are free. Azure typically uses tiered pricing with higher per-character costs and potential minimum commitments for enterprise tiers.
Our model scales linearly: you pay only for what you generate. There are no hidden fees for voice customization or regional data centers, keeping costs predictable for indie developers.
- $10 per 1 million characters
- No monthly plans or minimum spend
- Failed requests are free
Feature Comparison
We provide 8 preset voices across 23 languages, suitable for standard transport announcements. Azure offers more voice variety and SSML support, but our simple JSON API is often sufficient for basic text-to-speech needs.
We do not offer SSML, phoneme dictionaries, or emotion tags. If your transport app requires complex audio formatting, Azure might be better. For straightforward announcements, our API is easier to integrate.
- No SSML support
- 8 preset voices
- 23 languages supported
Ease of Use
Our API mimics the OpenAI speech endpoint, allowing you to use existing OpenAI SDKs with a simple base URL change. This reduces integration time for developers already familiar with OpenAI tools.
Our API handles language guessing and voice selection internally, reducing the boilerplate code needed for basic transport announcements.
- OpenAI SDK compatible
- Simple JSON integration
- Automatic language guessing
Getting Started
Getting started with AudiPath is straightforward. We designed the onboarding process specifically for indie developers who need to integrate audio announcements into transport apps quickly, without enterprise overhead or complex contracts.
Sign Up Process
Create an account on our /get-api-key/ page using Google or an email/password combination. Google sign-ups immediately include a $0.50 free trial (valid for 7 days), while email accounts start with zero balance. There are no subscriptions or monthly fees to manage.
API Key Retrieval
Once registered, your unique API key appears on your dashboard. Use this key in the Authorization: Bearer header for all requests. You can generate a new key at any time; the old one stops immediately, ensuring simple key rotation without downtime.
First Request
Send a POST request to https://api.playtime1.info/v1/audio/speech. Use the OpenAI SDK by changing the base URL, or use plain HTTP. Send your text payload, select a voice like 'aria' or 'atlas', and receive an audio file instantly.
Technical Specifications
The API accepts standard JSON payloads with specific constraints for text length and audio generation. Understanding the exact field requirements ensures your transport announcement system processes requests efficiently without unnecessary retries.
Audio files are returned directly in the response, supporting multiple formats suitable for various playback systems. Error handling provides clear feedback on rate limits or invalid parameters, helping you maintain reliable service for critical announcements.
Request Fields
Send a POST request to /v1/audio/speech with a JSON body. Required fields include model ("tts-1" or "tts-1-hd"), input (text up to 4096 characters), and voice (one of eight presets like aria or atlas). You can optionally specify response_format (mp3, wav, opus, flac, pcm), speed (0.25–4.0), and language (ISO code).
- Model: tts-1 or tts-1-hd
- Input: Max 4096 characters
- Voice: 8 presets available
- Format: mp3, wav, opus, flac, pcm
- Speed: 0.25 to 4.0
- Language: Optional ISO code
Response Formats
Successful requests return the audio file in the requested format. The response includes the raw audio data, allowing you to play it directly in your transport app or save it for later use. The audio carries an inaudible watermark indicating synthetic origin.
Error Handling
If synthesis fails, the charge is returned in full. Errors typically indicate issues like exceeding the 4096 character limit, invalid voice names, or rate limits (60 requests per minute). The response will include an error code and message to help you debug quickly.
- Failed requests are free
- Rate limit: 60 req/min
- Max input: 4096 characters
Future Updates
We are focused on refining the core synthesis engine and expanding our library of high-quality voices to better serve the transport industry. Our priority is maintaining low latency and consistent audio quality across all supported languages.
We do not have a public roadmap or fixed release dates. New features are added based on practical developer needs and technical feasibility rather than a predetermined schedule.
Roadmap
Our immediate focus is on optimizing the synthesis pipeline for higher throughput during peak usage times. We are also exploring improvements to the language detection accuracy for mixed-script announcements, ensuring clear playback for multilingual transit systems.
New Features
We may introduce additional voice presets or refined speed controls in future updates. Any changes will be documented in our API changelog and communicated via email to registered users. We do not promise specific features or timelines.
- Potential new voice presets
- Refined speed controls
- Improved language detection
Community Feedback
We value input from indie developers building transport apps. If you have suggestions for voice tones or language support, please share them via our contact page. We review feedback regularly to guide our development priorities.
- Share ideas via contact page
- Help shape future voice options
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Balances do not expire, giving you flexibility for seasonal transport updates.
23 languages
Any voice speaks any of these languages.
