Frequently asked questions
How do I get an API key?
Sign up on the /get-api-key/ page using Google or email with a password. Accounts are per site. The dashboard displays your active API key, balance, and usage statistics immediately after registration, allowing you to start generating audio files right away.
What is the base_url for the API?
The API base URL is https://api.m8550.net/v1. You send POST requests to https://api.m8550.net/v1/audio/speech. This endpoint accepts JSON bodies with model, input, voice, response_format, and speed parameters for generating speech audio files.
Can I use the OpenAI SDK?
Yes. The request shape matches the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base_url to https://api.m8550.net/v1 and providing your site-specific API key. This allows seamless integration into existing workflows without custom client code.
What audio formats are supported?
Supported formats are mp3, wav, opus, flac, and pcm. Specify the desired format in the response_format field of your request. The generated audio file is returned directly in the response, ready for download or immediate playback in your application.
What are the rate limits?
You are limited to 60 requests per minute per key. Before your first top-up, the limit is 10 requests per minute. Requests are processed sequentially, so high load may cause queuing. Failed requests do not count against your limit or balance.
How do I handle API errors?
If synthesis fails, the charge is returned in full. Monitor your response status codes to detect errors. Failed requests are free, ensuring you are not billed for audio that was not successfully generated. Check your dashboard for usage details and status history.
What is the character limit per request?
Each request supports up to 4096 characters of input text. 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 consistent processing times and manageable payload sizes.
How do I set the voice language?
Pass the optional language parameter with an ISO code. If omitted, the system guesses the language from the script, defaulting to English for Latin text. For non-English Latin-script text, explicitly set the language parameter to ensure accurate pronunciation and delivery.
Can I adjust the speaking speed?
Yes, you can adjust speed between 0.25 and 4.0. This allows fine-tuning for museum audioguides or tourism videos. Adjusting speed affects generation time, with typical speeds producing audio roughly at real-time pace. Faster speeds may reduce listening clarity for complex guides.
What happens if I exceed the rate limit?
Requests may wait in a queue or return an error. The standard limit is 60 requests per minute. Monitor your usage via the dashboard to stay within limits.
Do I need to install any specific libraries?
No specific library is required. You can use plain HTTP or the official OpenAI SDK. No custom SDK or mobile SDK is provided. Standard HTTP clients in any language can send POST requests to the API endpoint with the correct JSON body.
Is the API compatible with JavaScript?
Yes. Since the request shape matches OpenAI, you can use the OpenAI JavaScript SDK or any standard fetch implementation. Change the base_url to https://api.m8550.net/v1. This allows easy integration into web apps, Node.js services, or browser-based tourism applications.
How do I renew my API key?
You can issue a new key at any time from your account dashboard. The old key stops working immediately when the new one is created. This allows seamless rotation without downtime. Each account maintains one active key at any given time.
Where can I find the voices list?
Send a GET request to /v1/voices to retrieve the list of available voices, languages, formats, and prices. This endpoint provides all details about the eight presets. You can also view this information on your dashboard after logging in.
First request
curl
curl https://api.m8550.net/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.mp3Python (openai)
from openai import OpenAI
client = OpenAI(base_url="https://api.m8550.net/v1", api_key="tts-...")
with client.audio.speech.with_streaming_response.create(
model="tts-1", voice="nova", input="Hello from Python.", response_format="mp3"
) as response:
response.stream_to_file("hello.mp3")Node.js (openai)
import OpenAI from "openai";
import fs from "node:fs";
const client = new OpenAI({ baseURL: "https://api.m8550.net/v1", apiKey: process.env.TTS_API_KEY });
const res = await client.audio.speech.create({ model: "tts-1", voice: "milo", input: "Hello from Node.js." });
fs.writeFileSync("hello.mp3", Buffer.from(await res.arrayBuffer()));| voice | |
|---|---|
aria | female |
nova | female |
luna | female |
sage | female |
felix | male |
milo | male |
atlas | male |
orion | male |
| language | |
|---|---|
ar | العربية |
zh | 中文 |
da | Dansk |
nl | Nederlands |
en | English |
fi | Suomi |
fr | Français |
de | Deutsch |
el | Ελληνικά |
he | עברית |
hi | हिन्दी |
it | Italiano |
ja | 日本語 |
ko | 한국어 |
ms | Bahasa Melayu |
no | Norsk |
pl | Polski |
pt | Português |
ru | Русский |
es | Español |
sw | Kiswahili |
sv | Svenska |
tr | Türkçe |
Get your API key
Accessing AuraGuide’s text-to-speech API requires an account tied to this specific site. You can register using your Google account for quick setup or create a standard account with an email and password. This account acts as your entry point to the API dashboard and billing system.
Sign up with Google or email
Visit the /get-api-key/ page to begin. Google sign-ups receive a $0.50 free trial valid for 7 days, while email-based accounts start without trial credit. Your account is specific to m8550.net.
Find your key on the dashboard
After logging in, the dashboard displays your unique API key, current balance, and character usage. You can also see a ready-to-use cURL example directly on this page to start testing immediately.
Generate new keys if needed
You have one active key per account. If you suspect a leak or need a fresh credential, you can issue a new key at any time. The old key stops working immediately upon generation.
First request with cURL
Before making your first request, ensure cURL is installed on your system. It is typically pre-installed on macOS and Linux, but Windows users may need to install it separately.
Install cURL if not already present
Verify installation by running curl --version in your terminal. If it returns a version number, you are ready to proceed.
Paste the example command
Use the following command to generate speech. Replace YOUR_API_KEY with your actual key from the dashboard.
- curl -X POST https://api.m8550.net/v1/audio/speech \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "input": "Welcome to the museum.", "voice": "aria"}' \ --output speech.mp3
Receive your audio file
Upon successful execution, cURL saves the generated audio file as speech.mp3 in your current directory. You can now play the file to verify the natural speech quality.
OpenAI SDK integration
Leverage the familiarity of the OpenAI Python client to integrate AuraGuide’s TTS API with minimal code changes. This approach allows indie developers to reuse existing logic while accessing our specific voice presets and language options optimized for museum audio guides.
Install the OpenAI Python package
Begin by installing the standard library that powers many TTS integrations. Run the following command in your project environment to ensure you have the necessary dependencies available for making HTTP requests to our endpoint.
- pip install openai
Set the base_url to our API
Configure the client to point to the AuraGuide infrastructure instead of the default provider. By overriding the base_url, you direct all synthesis requests to https://api.m8550.net/v1 while maintaining the standard request shape.
Use the same code structure
Pass your API key and construct the speech request using the same parameters as the OpenAI specification. The client handles the JSON body for model, input, voice, and response_format, returning the audio file directly for your tourism content.
Available audio formats
Choose the format that best fits your museum guide’s distribution method. Each option balances quality, file size, and compatibility differently.
MP3 for web streaming
MP3 is the standard for web-based audio guides. It offers a good balance between file size and sound quality, making it ideal for mobile apps or web browsers where bandwidth might be limited.
WAV for high-quality local playback
WAV provides uncompressed audio, preserving the full fidelity of the generated voice. This format is best for offline kiosk installations or high-end audio players where storage space is not a constraint. You can save this output to a file or feed it into your audio player.
OPUS for efficient bandwidth usage
OPUS delivers excellent audio quality at very low bitrates. It is perfect for delivering content to users with slower internet connections or when minimizing data usage is a priority for your museum app.
Rate limits and quotas
Understanding rate limits ensures your audio guide generation remains smooth during peak usage. Our API handles requests sequentially, so processing times depend on text length and current queue depth.
60 requests per minute per key
Once your account is active, you can send up to 60 requests per minute. This limit applies per API key, so ensure you are using the correct key for your production environment.
10 requests per minute initially
New accounts start with a lower limit of 10 requests per minute. This allows you to test integration without immediate pressure while you verify voice quality and format settings.
Limit increases after top-up
Your rate limit is 10 requests per minute before the first top-up, and 60 requests per minute after. Top-ups are credited automatically within minutes after the transfer.
- Minimum top-up: $5
- Credit method: USDT (TRC-20)
- Auto-credit within minutes

Handling errors
Error handling ensures your museum guide application remains robust when the API returns issues. By checking status codes and response bodies, you can gracefully manage authentication, rate limits, and input validation without disrupting the user experience.
Common errors include authentication failures, rate limit exceeded messages, and invalid input parameters. Each error type provides specific details to help you debug and adjust your requests accordingly.
Authentication errors
Authentication errors occur when the API key is missing, invalid, or expired. Ensure you include the Authorization: Bearer <your-api-key> header in every request. If you generate a new key, the old one stops immediately, so update your configuration accordingly.
- Check for typos in your API key.
- Ensure the key is included in the Authorization header.
- Regenerate keys if the old one is compromised.
Rate limit exceeded
If you exceed the rate limit, the API returns a 429 status code. Wait a moment before retrying. Failed requests do not count against your quota.
- Rate limit is 60 requests per minute per key.
- Initial limit is 10 requests per minute.
- Failed requests are free and do not count towards the limit.
Invalid input parameters
Invalid input parameters occur when the request body contains incorrect or missing fields. Ensure you provide a valid model, input, and voice. The input text must not exceed 4096 characters. If an error occurs, the response body will contain details to help you correct the issue.
- Ensure
modelis 'tts-1' or 'tts-1-hd'. - Limit
inputtext to 4096 characters. - Specify a valid
voicefrom the available presets.
Request parameters
Configure your synthesis requests using three core parameters. The model choice determines audio fidelity, while voice and language settings ensure the narration matches your museum’s target audience. Speed adjustments allow you to fine-tune the pacing for complex exhibits.
Model selection: tts-1 or tts-1-hd
Select "tts-1" for standard quality or "tts-1-hd" for higher fidelity. Both models use the same engine and pricing.
Voice presets and languages
Choose from eight distinct voice presets, such as "atlas" for neutral news-style narration or "aria" for a warm, clear guide. You can specify any of the 23 supported languages via the language field to ensure accurate pronunciation, especially for non-English Latin script text.
- 8 voice presets available
- 23 supported languages
- Automatic language detection if field is omitted
Speed adjustment range
Adjust the speed parameter between 0.25 and 4.0 to control playback rate. Slower speeds aid comprehension for complex historical details, while faster rates help keep tour groups moving efficiently through crowded galleries.
Response format
The API returns the generated audio file directly in the response body, with the content type matching your chosen format. This allows immediate playback or saving without additional parsing steps.
Audio file in response body
The raw audio bytes are returned directly in the response. You can pipe this output straight to a file or feed it into your audio player.
Standard HTTP status codes
A successful synthesis returns a 200 OK status with the audio data. If the request fails—due to invalid parameters or network issues—a specific error code is returned instead of audio data.
JSON metadata for debugging
In case of errors, the response body contains a JSON object detailing the issue, such as invalid voice IDs or character limits. This structured feedback helps you quickly correct your integration logic without guessing.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. You can assign any voice to any language, ensuring your tourism content maintains a unified auditory identity regardless of the destination.
23 languages
Any voice speaks any of these languages.
