Text to Audio API for Transportation & Classifieds

By TransitVoice editorial team · Updated 2026-11-18

TransitVoice is a cloud Text-to-Speech API built for transportation startups and classifieds platforms. Convert route updates, driver alerts, and ad descriptions into natural audio without hiring voice actors. Send text and receive an audio file via a simple POST request. Our API integrates in minutes using standard OpenAI SDKs, letting you keep users engaged with clear speech that fits your workflow.

We offer transparent character pricing at $0.01 per 1,000 characters with no monthly lock-ins. Whether you need calm narrators for route status or energetic voices for vehicle listings, our engine handles it. Explore our 23 supported languages and straightforward documentation to start building your audio features today.

Text to Audio API for Transportation & Classifieds

Frequently asked questions

Can I use the API for driver notifications?

Yes. Send text via POST to generate audio for driver alerts. Use Felix for energetic promos or Atlas for neutral news updates. The API accepts standard JSON bodies, making it easy to integrate into your fleet management workflow for clear, multi-language audio notifications.

Does the API support multiple languages?

Yes. We support 23 languages, including English, Spanish, German, French, Chinese, Japanese, Arabic, Hindi, and Russian. Any voice can speak any of these languages. If you omit the language parameter, the system guesses it from the script, defaulting to English for Latin text.

How do I handle long ad descriptions?

The API enforces a strict 4,096-character limit per request. For longer ad descriptions, split your text into chunks of this size and send each as a separate request. You can then join the resulting audio files on your end. This ensures every character is processed correctly without exceeding the input limit.

What audio formats are supported?

We support mp3, wav, opus, flac, and pcm. Specify your preferred format in the response_format field of your JSON request body. This allows you to choose the best balance of quality and file size for your transportation or classifieds platform integration.

Is the voice realistic for commercial use?

Yes. Our voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. Every generated file carries an inaudible watermark marking it as synthetic speech. This ensures clarity for your commercial applications, such as route updates or driver alerts, without requiring additional voice actor hiring.

Can I mix different voices in one project?

Yes. You can select any of the 8 preset voices (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion) for each request. Generate audio files for different segments using different voices, then concatenate them on your side to create a diverse audio project for your users.

How fast is the text-to-speech generation?

Generation is roughly real-time on long texts, processing about 25 characters per second of audio. Short phrases take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue. This speed is suitable for most fleet and classifieds use cases.

Do I need to pay for failed requests?

No. Failed requests are free, and any charge is returned in full. You only pay for successful audio generations. The cost is $0.01 per 1,000 characters, so you incur costs only when you receive valid audio output from the API.

What is the character limit per request?

Each request supports up to 4096 characters. For longer route updates or ad descriptions, split your text into chunks of this size. Send each chunk as a separate API request and join the resulting audio files in your application. This ensures your driver notifications and transit alerts play seamlessly without truncation.

Can I use my own domain for the API?

No. The API endpoint is fixed at https://api.playbw52.com/v1/audio/speech. You use this base URL with your API key. You cannot change the domain or use a custom subdomain for the API calls. The official OpenAI SDKs work by changing the base_url to https://api.playbw52.com/v1.

Is there a free trial available?

Yes. Signing in with Google provides $0.50 of credit, valid for 7 days, covering about 50,000 characters. Accounts created with email and password start without trial credit. This allows you to test the API for driver notifications or ad descriptions before topping up.

How do I top up my balance?

Top up using USDT on the TRON network (TRC-20). The minimum top-up is $5, and credits are automatically added within minutes after the transfer. We do not accept cards, PayPal, or subscriptions. Your balance does not expire, and you can top up anytime you need more characters.

Does the API handle punctuation correctly?

Yes. The API processes punctuation to create natural pauses and intonation. Spaces and punctuation count as characters in your usage, so ensure your text formatting is clean before sending it to the endpoint. This helps maintain accurate billing and optimal speech rhythm.

Can I change my API key if it’s compromised?

Yes. You can issue a new API key at any time from your account dashboard. When you generate a new key, the old one stops working immediately. This ensures that if your key is compromised, you can quickly secure your account and continue generating audio without interruption.

First request

curl

curl https://api.playbw52.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.mp3

Why Startups Choose Our TTS Engine

Sound wave illustration for: Why Startups Choose Our TTS Engine

Startups building transportation or classifieds platforms need an API that integrates quickly without complex infrastructure. Our engine uses the standard OpenAI speech request shape, allowing you to swap in our endpoint and start generating audio immediately. This API-first design means your existing codebases can adapt in minutes, reducing engineering overhead while keeping your product agile.

API-First Architecture

We provide a straightforward JSON endpoint that mirrors familiar TTS standards. You send text and parameters; we return the audio file. This simplicity ensures that your developers can integrate voice capabilities into fleet management apps or ad platforms without learning a proprietary protocol.

Transparent Character Pricing

Costs are based strictly on character count. You pay $10 per 1 million characters, with spaces and punctuation included. Failed requests are free, so you only pay for successful synthesis. This model scales naturally with your user base, whether you are generating short driver alerts or long ad descriptions.

No Monthly Lock-Ins

There are no monthly plans, seats, or minimum spend requirements. You top up with USDT when needed, and your balance never expires. This flexibility allows startups to manage cash flow efficiently, paying only for the voice output their users actually consume.

Voices for Every Context

Sound wave illustration for: Voices for Every Context

Choose from eight preset voices, each suited for specific communication contexts. These are based on licensed recordings from LibriTTS-R and LibriVox public-domain audiobook readings. Every generated file carries an inaudible watermark that marks it as synthetic speech.

Clear Narrator Voices

Aria (warm, clear narrator) and Luna (soft, storytelling) work well for pre-recorded safety tips or general service announcements in your app.

  • Aria: Warm, clear narrator

Energetic Promo Voices

Felix (energetic, promo) and Milo (friendly, conversational) bring energy to vehicle listings, special offers, or service announcements where a lively tone fits.

  • Felix: Energetic, promo

Neutral News Voices

Atlas (neutral, news) and Orion (deep, documentary) provide reliable clarity for route status updates. Sage (calm, instructional) supports instructional driver alerts. Luna (soft, storytelling) works well for pre-recorded safety tips.

Voices for Every Context

Supported Languages

Sound wave illustration for: Supported Languages

TransitVoice supports 23 languages, including English, Spanish, German, French, Chinese, and Japanese, ensuring your fleet updates and classified ads reach diverse audiences. Every voice preset can speak any of these languages, giving you consistent tone across different regions without managing multiple voice models.

Our API handles language detection automatically. If you send Latin-script text, we default to English, but you can explicitly set the language field for other scripts like Arabic or Hindi. We do not support Vietnamese, Thai, or Ukrainian, so always verify your target language is in our list before integrating.

23 Languages Available

We support 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 voice preset can speak any of these languages, allowing you to mix voices and languages in a single workflow.

  • Full support for major global languages
  • No extra cost for non-English languages
  • Consistent voice quality across all 23 languages

Automatic Language Detection

If you do not set the language parameter, our engine guesses the language from the script. Latin text defaults to English. For non-English Latin-script text, explicitly set the language field to ensure accurate synthesis. We do not support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, or Bengali.

  • Defaults to English for Latin text
  • Set language for non-English Latin text
  • No support for Vietnamese or Thai

Multi-Language Routes

You can switch languages within a single request sequence. Send text in English, then Spanish, then French, and receive separate audio files for each. This is ideal for multi-stop delivery routes or classified listings targeting diverse local communities.

Note that requests are processed sequentially. For long multi-language sequences, consider splitting your text into parts of up to 4096 characters to ensure reliable delivery and accurate timing.

  • Switch languages per request
  • Ideal for multi-stop routes
  • Process sequentially for best results

How It Works

Sound wave illustration for: How It Works

To turn text into audio, send a POST request to our API with your message, chosen voice, and desired format. The system processes your input and returns a downloadable audio file, ready for playback in your transportation or classifieds application.

Send Text via JSON

Construct a JSON body with your text, model selection (tts-1 or tts-1-hd), voice preset, and output format. Include optional parameters like speed and language. The API accepts up to 4,096 characters per request, handling standard text inputs directly.

Receive Audio File

Upon successful processing, the API returns the audio file in your chosen format (mp3, wav, opus, flac, or pcm). Failed requests incur no charge, ensuring you only pay for usable audio. Short phrases take a few seconds to generate. Requests are processed sequentially, so under load, a request may wait in a queue.

Handle Long Texts

For texts exceeding 4,096 characters, split the input into smaller parts and send multiple requests. After receiving the individual audio segments, join the audio files to create a continuous track. This allows you to generate full route updates or detailed ad descriptions seamlessly.

Technical Specs

Sound wave illustration for: Technical Specs

Our API mirrors the OpenAI speech endpoint structure, allowing you to integrate TransitVoice into Python, Node.js, or Go apps by simply updating the base URL to https://api.playbw52.com/v1. This compatibility lets you reuse existing HTTP clients and SDKs without rewriting core logic.

OpenAI SDK Compatible

Send text via standard JSON to POST https://api.playbw52.com/v1/audio/speech. The official OpenAI SDKs work seamlessly by pointing to our API base. You receive a direct audio file response, ensuring simple integration for transportation and classifieds platforms.

Multiple Audio Formats

Choose from mp3, wav, opus, flac, or pcm to match your app’s needs. This flexibility ensures optimal compatibility across different mobile and web clients, keeping user engagement high with clear, multi-language audio.

Rate Limits Explained

Each API key allows 60 requests per minute, with a starting limit of 10 per minute before your first top-up. Requests process sequentially, so under load, synthesis may queue slightly longer.

  • Standard limit: 60 requests/minute per key
  • Initial limit: 10 requests/minute
  • Sequential processing ensures order
Technical Specs

Use Cases: Transportation

Sound wave illustration for: Use Cases: Transportation

TransitVoice enables transportation startups to replace static IVR prompts with natural, multi-language audio that scales with your fleet size. By integrating our API, you can turn driver alerts and route updates into clear speech without hiring voice actors, keeping users engaged with consistent audio quality.

Driver Notifications

Use voices like Felix for energetic prompts or Sage for calm instructions to guide drivers through their shifts. Each generated file carries an inaudible watermark, ensuring transparency while maintaining a professional tone for internal communications.

  • Clear, natural voice instructions for daily routes
  • Consistent tone across all vehicles in the fleet
  • Easy integration via standard JSON requests

Route Status Updates

Keep users informed with audio updates about delays or detours. Our API processes requests quickly, delivering audio files that reflect current conditions. Since longer texts are split and joined seamlessly, you can provide detailed updates without technical friction.

  • Instant audio delivery for dynamic route changes
  • Support for 23 languages to serve diverse communities
  • No streaming required; simple file-based integration

Emergency Alerts

Deploy urgent messages with high-priority voices like Atlas for neutral, news-style alerts or Orion for deep, documentary tones. These clear audio cues ensure passengers receive critical information immediately, enhancing safety and trust during unexpected disruptions.

  • Distinct voice profiles for urgent vs. routine alerts
  • Reliable delivery via POST requests
  • Transparent pricing ensures budget control for high-volume alerts

Use Cases: Classifieds

Sound wave illustration for: Use Cases: Classifieds

Classifieds platforms often bury valuable details in dense text blocks. By converting ad copy into audio, you allow users to consume listings while multitasking, significantly boosting engagement and time on site without requiring them to read every word.

This approach transforms static classifieds into dynamic, accessible experiences, keeping users immersed in your marketplace longer than text-only browsing allows.

Ad Descriptions Audio

Turn long ad descriptions into natural speech using aria for warm, clear narration. Users can listen to product details or service offerings while commuting, reducing the friction of reading lengthy text blocks on mobile devices.

This feature is ideal for high-volume listings where visual context is limited, allowing potential buyers to grasp the essence of an offer.

  • Supports up to 4096 characters per request
  • Works with all 23 supported languages
  • No extra cost for audio conversion

Vehicle Listings Voice

Use milo for friendly, conversational tones when reading vehicle specs or atlas for neutral, news-style summaries. This helps users visualize the car’s condition and history through auditory cues that text alone may not convey.

Audio listings stand out in crowded feeds.

  • Clear pronunciation of technical specs
  • Consistent tone across all vehicles
  • Fast generation for new listings

Service Announcements

Broadcast service updates or maintenance notices in multiple languages using atlas or luna. Whether it’s a seasonal sale or a platform update, audio ensures your message is heard clearly by a diverse user base.

  • Multi-language support out of the box
  • Quick integration with existing CMS
  • Ideal for promotional campaigns

Pricing Overview

Sound wave illustration for: Pricing Overview

TransitVoice charges $0.01 per 1,000 characters, making costs predictable for high-volume fleet updates. Failed requests are free, ensuring you only pay for successful audio generation. Start with a $0.50 trial credit (valid for 7 days) when you sign in with Google, giving you about 50,000 characters to test your integration. Accounts created with email and password start without this trial credit.

Pay Per Character

The price is $10 per 1 million characters. Spaces and punctuation count as characters. This model fits both short driver alerts and long ad descriptions without monthly minimums.

  • $0.01 per 1,000 characters
  • Failed requests are free
  • No monthly plans or seats

Free Trial Credit

Get $0.50 of credit (about 50,000 characters) valid for 7 days when you sign in with Google. This allows immediate testing of your fleet or classifieds integration without payment details. Accounts created with email and password start without trial credit.

No Hidden Fees

Balance does not expire. Top-up is via USDT (TRC-20) only, with a $5 minimum. No subscriptions, invoices, or VAT. Support is by email only, so there are no phone support charges.

Pricing Overview

Get Started

Sound wave illustration for: Get Started

TransitVoice helps transportation startups and classifieds platforms turn route updates, driver alerts, and ad descriptions into natural speech without hiring voice actors. Our API integrates in minutes, letting you keep users engaged with clear, multi-language audio.

Sign Up for API Key

Go to /get-api-key/ to create your account. You can sign in with Google for speed or use a standard email and password. Your dashboard displays your API key, balance, trial status, characters left, usage, and a ready curl example instantly.

You can issue a new key at any time, which immediately invalidates the old one. Start with our free trial credit of $0.50, valid for 7 days.

Try the Demo

Use the provided curl example in your dashboard to send your first request. Send text via JSON to the /v1/audio/speech endpoint and receive an audio file. For longer texts, split input into parts of up to 4096 characters and join the audio files.

View Documentation

Visit /docs/ for complete technical details. Our API is OpenAI SDK compatible; simply change the base_url to https://api.playbw52.com/v1. Explore supported voices, languages, formats, and rate limits (60 requests per minute per key).

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Streamline your logistics and reach buyers instantly through our unified platform.

Avatar of the voice aria
ariafemale
Avatar of the voice nova
novafemale
Avatar of the voice luna
lunafemale
Avatar of the voice sage
sagefemale
Avatar of the voice felix
felixmale
Avatar of the voice milo
milomale
Avatar of the voice atlas
atlasmale
Avatar of the voice orion
orionmale

23 languages

Any voice speaks any of these languages.

Sources and further reading

  1. Wikipedia
  2. ISO 639 language codes
  3. openai-python on GitHub
  4. IETF RFC 7845: Ogg Opus
  5. Node.js documentation
  6. curl documentation
  7. Creative Commons Attribution 4.0
  8. openai-node on GitHub
  9. MDN: Web Speech API
  10. LibriTTS-R corpus (OpenSLR 141)
  11. Tether (USDT)
  12. Python documentation

More on this site