Natural Text-to-Speech API for Restaurant Applications

By DiningVoices editorial team · Updated 2026-11-18

DiningVoices provides a reliable text-to-speech API tailored for indie developers building voice interfaces for dining halls, delivery apps, and menu systems. By leveraging natural-sounding voices licensed from public domain audiobooks, we enable seamless audio integration without the complexity of managing custom voice models or infrastructure.

This page outlines how to integrate our API into your restaurant application using standard OpenAI SDK compatibility. You will find details on our 8 distinct voices, support for 23 languages, and transparent pricing designed for startups. Learn how to generate audio for dynamic menu reading, order confirmations, and queue management with a simple POST request.

Natural Text-to-Speech API for Restaurant Applications

Frequently asked questions

What is a free AI voice generator text to speech API?

DiningVoices is a cloud TTS API where you send text and receive an audio file. New accounts signing in with Google receive $0.50 of free trial credit, valid for seven days. This provides approximately 50,000 characters of generation. The API charges $0.01 per 1,000 characters after the trial expires, with failed requests billed at zero.

Which voices are best for reading restaurant menus?

Aria offers a warm, clear narrator style suitable for clear menu descriptions. Felix provides an energetic, promo-focused tone ideal for daily specials. Milo delivers a friendly, conversational voice perfect for welcoming customers. Atlas presents a neutral, news-style delivery for straightforward item listings. All voices support 23 languages, allowing you to match the voice to your dining hall's demographic.

How many languages does the TTS API support?

The API supports 23 languages: 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 can speak any of these languages. If the language is not specified, the system guesses it from the script, defaulting to English for Latin text.

Can I use the API for real-time queue announcements?

The API is not designed for real-time streaming or WebSocket partial audio. Synthesis takes a few seconds for short phrases, and requests are processed sequentially, meaning they may wait in a queue under load. However, typical speed is roughly real-time for long texts. For immediate announcements, you would need to pre-generate audio files or handle latency in your app.

Is there a limit on characters per request?

Yes, each request accepts up to 4,096 characters of input text. If your menu or announcement text exceeds this limit, you must split it into parts of up to 4,096 characters each. You then send multiple requests and join the resulting audio files in your application to create a continuous audio playback for the user.

Do I need to pay for the free trial credit?

No, the $0.50 trial credit is provided automatically when you sign in with Google. It is valid for seven days and covers approximately 50,000 characters. If you create an account using an email and password, you do not receive this trial credit. You can top up your balance later using USDT on the TRON network.

How does the voice cloning compare to custom cloning?

DiningVoices does not offer custom voice cloning, voice design, or the ability to upload your own voice recordings. The eight available voices are based on licensed recordings from LibriTTS-R and LibriVox public-domain audiobook readings. Each generated file includes an inaudible watermark marking it as synthetic speech, distinguishing it from human recordings or custom-cloned voices.

Does the API support SSML for emphasis?

No, the API does not support SSML (Speech Synthesis Markup Language). It does not offer phoneme dictionaries, custom pronunciation lexicons, or emotion tags. You control the speech characteristics primarily through the selected voice preset and the speed parameter. Complex emphasis or pauses must be handled by splitting text into separate requests.

Can I change the speed of the audio?

Yes, you can adjust the playback speed using the speed parameter in the request body. The acceptable range is between 0.25 and 4.0 times the normal speed. This allows you to make announcements faster for busy dining halls or slower for clearer comprehension. The speed adjustment applies to the generated audio file upon request.

What audio formats are available?

The API supports five response formats: mp3, wav, opus, flac, and pcm. You specify the desired format in the response_format field of your POST request. These formats cover common use cases for web players, mobile apps, and storage. The generated audio is returned directly in the response and is not stored on the server.

Is the service suitable for high-traffic dining halls?

The API limits usage to 60 requests per minute per key (10 before your first top-up). Since requests are processed sequentially, high traffic may cause queuing delays. For high-traffic dining halls, implement client-side text splitting and consider managing multiple API keys to maintain throughput. Note that typical generation speed is roughly real-time, so plan your audio asset strategy accordingly.

Do you offer a mobile SDK for iOS or Android?

No, there is no official mobile SDK for iOS or Android. You can use the standard OpenAI SDKs by changing the base URL to https://api.dd12login.com/v1, or use plain HTTP requests directly from your mobile app. The API is designed to be integrated via standard REST calls, making it compatible with any platform that can send JSON.

How are failed requests billed?

Failed requests are free. If the synthesis process fails for any reason, the charge is returned in full to your account balance. You only pay for successfully generated audio files. Request metadata, including status and character count, is kept for billing purposes, allowing you to verify that failed attempts did not incur costs.

First request

curl

curl https://api.dd12login.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 developers choose TTS for restaurant apps

Sound wave illustration for: Why developers choose TTS for restaurant apps

Indie developers building voice interfaces for dining halls and delivery apps rely on TTS to bridge the gap between digital menus and physical spaces. By converting text to audio, systems can read menus aloud for accessibility, confirm orders instantly, and manage queues without human intervention.

Dynamic menu reading for accessibility

Dynamic menu reading for accessibility

Menu text is sent to the API endpoint and returned as an audio file. This allows visually impaired customers to hear daily specials or allergen information directly from the application, ensuring compliance with accessibility standards without requiring custom voice actors.

Real-time order confirmation audio

Indie developers use TTS to make dining interfaces more accessible. When an order is placed, the system generates a confirmation audio clip instantly. This provides auditory feedback to customers, reducing ambiguity and confirming details like item count or table number.

Queue management voice announcements

For busy dining halls, the API handles queue updates by converting status text into clear voice announcements. Developers can trigger these sounds when a table is ready or a delivery is assigned, keeping the dining floor organized without staff needing to shout over noise.

8 Natural Voices for Dining Contexts

Sound wave illustration for: 8 Natural Voices for Dining Contexts

DiningVoices provides eight distinct voice presets, each licensed from public domain audiobooks, allowing you to match the tone of your application precisely. Whether you are reading a complex menu or guiding a user through an order, the right voice ensures clarity and engagement without sounding robotic.

Warm narrators like Aria and Luna for menu descriptions

Aria offers a warm, clear narration style ideal for highlighting dish details and ingredients. Luna provides a soft, storytelling voice that makes menu descriptions feel inviting and personal, helping users discover new items with ease.

Clear instructional voices like Sage and Felix for instructions

Sage delivers a calm, instructional tone perfect for step-by-step order confirmations or payment guides. Felix brings an energetic, promo-ready voice that works well for quick tips, upsells, or time-sensitive announcements in delivery apps.

News-ready Atlas and Documentary Orion for updates

Atlas provides a neutral, news-style delivery for reliable status updates or wait time announcements. Orion offers a deep, documentary voice that adds authority to special offers, restaurant news, or detailed operational updates.

Supported Languages for Global Kitchens

Sound wave illustration for: Supported Languages for Global Kitchens

DiningVoices supports 23 languages, covering English, Spanish, French, and German, alongside Arabic, Chinese, Japanese, and Korean. This range allows indie developers to serve diverse dining halls and delivery apps without managing separate voice assets for each region.

23 languages including English, Spanish, French, and German

The API handles Latin-script texts for English, Spanish, French, and German natively. If the language field is omitted, Latin text defaults to English. For other languages using Latin scripts, such as Turkish or Polish, you must explicitly set the language parameter to ensure accurate pronunciation.

Arabic, Chinese, Japanese, Korean, and more

Beyond Latin scripts, the engine supports Arabic, Chinese, Danish, Finnish, Greek, Hebrew, Hindi, Italian, Malay, Norwegian, Portuguese, Russian, Swedish, Swahili, and Turkish. Each voice can speak all 23 languages, allowing you to maintain consistent character voices across multilingual menus or order confirmations.

  • Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, and Bengali are not supported.

Automatic language detection or explicit ISO code setting

For convenience, the API guesses the language from the text script. However, for non-English Latin-script text, setting the language parameter is recommended to avoid incorrect defaulting. This ensures that menu descriptions and queue announcements sound natural regardless of the input text's origin.

Technical Integration for Indie Devs

Sound wave illustration for: Technical Integration for Indie Devs

Integration is straightforward for indie developers. The API endpoint mirrors the OpenAI speech structure, allowing you to leverage existing SDKs by simply adjusting the base URL to https://api.dd12login.com/v1. This compatibility reduces boilerplate code and speeds up prototyping for voice interfaces in delivery apps or menu systems.

You interact with the service via standard HTTP requests. Authentication is handled through a Bearer token in the Authorization header, ensuring secure access to your account's text-to-speech capabilities without complex OAuth flows.

OpenAI SDK compatible endpoint

Use the official OpenAI SDKs by pointing the base_url to https://api.dd12login.com/v1. Your existing key works seamlessly, requiring only a configuration change. This approach supports both tts-1 and tts-1-hd models with identical pricing and engine behavior.

The endpoint structure ensures that standard libraries handle authentication and request formatting automatically. You send text input and receive audio output without needing custom parsing logic for our specific API quirks.

  • Compatible with official OpenAI SDKs
  • Base URL: https://api.dd12login.com/v1
  • Supports tts-1 and tts-1-hd models

Simple POST request with JSON body

Send a POST request to /v1/audio/speech with a JSON body containing your text, selected voice, and desired format. The input text is limited to 4096 characters per request, so long menu descriptions must be split and joined by your application.

Include your API key in the Authorization header as Bearer tts-.... The request fields include model, input, voice, response_format, and optional speed and language parameters. Failed requests incur no charge, simplifying error handling in production environments.

  • Endpoint: POST /v1/audio/speech
  • Max input: 4096 characters
  • Auth: Bearer token

Multiple audio formats: MP3, WAV, FLAC, Opus

Choose from MP3, WAV, Opus, FLAC, or PCM based on your app’s bandwidth and quality requirements. MP3 is ideal for web delivery, while WAV or FLAC suits high-fidelity in-app playback. PCM is available for raw audio processing.

The response returns the audio file directly, allowing immediate playback or storage. Selecting the appropriate format balances sound quality with data efficiency, crucial for mobile applications serving users on variable network connections.

  • Formats: mp3, wav, opus, flac, pcm
  • Direct audio file response
  • Optimize for bandwidth or quality

Pricing Built for Startups

Sound wave illustration for: Pricing Built for Startups

DiningVoices charges $0.01 per 1,000 characters, billing precisely at $10 per million characters. Spaces and punctuation count toward this total, ensuring predictable costs for your menu systems and order confirmations. Failed synthesis requests are free, so you only pay for successful audio generation.

$10 per 1 million characters

Our pricing scales directly with usage. At $10 per million characters, you can generate extensive menu descriptions or long queue announcements without complex tiered structures. This flat rate simplifies budgeting for indie developers managing variable traffic patterns in dining apps.

$0.50 free trial credit on sign-up

Sign up with Google to receive $0.50 in credit, covering approximately 50,000 characters. This trial is valid for seven days, allowing you to test voice quality and integration workflows without immediate payment. Email-based accounts do not include this initial credit.

No monthly fees or minimum spend

There are no subscriptions, seats, or minimum spending requirements. You top up using USDT on the TRON network (TRC-20), with a $5 minimum that credits automatically within minutes. Your balance never expires, and you pay only for what you use.

  • USDT (TRC-20) payments only
  • Minimum top-up: $5
  • Balance does not expire
  • No VAT or invoices
Pricing Built for Startups

Voice Clarity and Realism

Sound wave illustration for: Voice Clarity and Realism

Every generated file carries an inaudible watermark that marks it as synthetic speech, ensuring authenticity without requiring explicit user disclosure. This transparent approach builds trust in your dining app’s audio outputs.

Licensed recordings from LibriVox

Our voices are based on licensed recordings from LibriTTS-R (CC BY 4.0), sourced from LibriVox public-domain audiobook readings. This foundation provides natural-sounding narration suitable for menu descriptions and order confirmations.

Inaudible synthetic watermark for authenticity

Each audio file includes a subtle, inaudible watermark identifying it as synthetic speech. This feature helps maintain clarity for users regarding the nature of the voice interface.

No emotion tags or custom cloning needed

The API uses fixed voice presets like Aria and Luna, eliminating the need for complex emotion tagging or custom voice cloning workflows. This simplicity reduces integration overhead for indie developers.

Reliable API Performance

Sound wave illustration for: Reliable API Performance

Performance scales with your usage. New keys start with a 10 requests/minute limit, lifting to 60 rpm after the first top-up.

Long menu descriptions exceed the 4,096-character limit. The client handles splitting text into chunks and joining the resulting audio files, ensuring complete voice output for complex items without manual intervention.

60 requests per minute limit

The standard rate limit is 60 requests per minute per API key. Requests are processed sequentially, so under heavy load, a request may wait in a queue before synthesis begins.

Automatic text splitting for long menus

Each request accepts up to 4,096 characters of input text. For longer menus, your application should split the text into parts, generate audio for each, and join the files to play a continuous announcement.

Fast generation roughly real-time speed

Generation takes roughly one second per 25 characters of text, approximating real-time speed for long texts. Short phrases may take a few seconds due to processing overhead.

Data Privacy for Customer Trust

Sound wave illustration for: Data Privacy for Customer Trust

When your app reads a menu aloud or confirms an order, the input text is processed solely to generate the audio file. We do not use your customer’s spoken content or menu data to train our models, ensuring your proprietary dining data remains yours.

Input text not used for training

Your text inputs are strictly used for immediate synthesis. Unlike many consumer-grade services, we do not retain your menu descriptions or order confirmations for machine learning purposes, keeping your business logic private.

Audio returned in response, not stored

The generated audio file is delivered directly in the API response. We do not store the resulting audio files on our servers after delivery, minimizing your data footprint and liability.

Metadata kept only for billing

We retain minimal metadata—specifically the timestamp, character count, and request status—solely to calculate usage and process your billing accurately. This ensures transparent invoicing without retaining the actual content of your requests.

Get Started with Your First Request

Sound wave illustration for: Get Started with Your First Request

Start by creating your account at /get-api-key/. Sign up with Google to instantly receive $0.50 in trial credit, valid for seven days, or use email and password for standard access.

Once registered, you can immediately test the API. The dashboard displays your active key, balance, and a ready-to-use curl example tailored for restaurant text-to-speech requests.

Sign up with Google for instant trial credit

Signing in with Google grants $0.50 of credit (approx. 50,000 characters) valid for seven days. Accounts created with email and password start without this trial credit but remain fully functional once funded.

Use the provided curl example

The /get-api-key/ page provides a ready curl command using your unique key. Send a POST request to the speech endpoint with your menu text, voice selection, and desired audio format.

Switch base_url to use OpenAI SDKs

The API accepts the same JSON structure as the OpenAI speech endpoint. Update your SDK's base_url to https://api.dd12login.com/v1 and use your DiningVoices key for seamless integration with existing OpenAI client libraries.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. We built a cozy virtual dining hall where players can craft their own culinary experiences and share stories with friends.

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. Node.js documentation
  3. curl documentation
  4. W3C WAI: making audio and video accessible
  5. openai-python on GitHub
  6. MDN: Web Speech API
  7. LibriVox public-domain audiobooks
  8. LibriTTS-R corpus (OpenSLR 141)
  9. OpenAI API reference: create speech
  10. Creative Commons Attribution 4.0
  11. IETF RFC 7845: Ogg Opus
  12. FFmpeg documentation

More on this site