Frequently asked questions
How do I get my API key?
Sign up on the /get-api-key/ page using Google or email and password. Your account key appears on that dashboard page alongside your balance and usage statistics. Each account holds one active key, which you can use immediately for API requests.
What is the base URL for the API?
The API base URL is https://api.bancanohu.cc/v1. You send POST requests to https://api.bancanohu.cc/v1/audio/speech for synthesis. Other endpoints like /v1/voices and /v1/models are also available under this base path for configuration and verification.
Can I use the official OpenAI SDK?
Yes. The request shape matches the OpenAI speech endpoint. You can use the official OpenAI SDKs by changing the base_url to https://api.bancanohu.cc/v1 and providing your site-specific API key. This allows seamless integration with existing OpenAI-compatible code.
How do I change my API key?
You can issue a new key at any time from your account dashboard. When a new key is generated, the old one stops working immediately. This ensures that if a key is compromised, you can revoke access instantly without delay.
What is the maximum text length?
Each request supports up to 4096 characters of input text. Spaces and punctuation count toward this limit. For longer texts, you must split the content into chunks of 4096 characters or less and join the resulting audio files manually.
How many voices are available?
There are eight voice presets available: four female (Aria, Nova, Luna, Sage) and four male (Felix, Milo, Atlas, Orion). Each voice can speak any of the 23 supported languages. You can select the desired voice by name in your request.
What formats are supported?
Supported response formats are mp3, wav, opus, flac, and pcm. You specify the format using the response_format field in your request body. The generated audio is returned directly in the response, allowing immediate playback or storage by your application.
How do I set the language?
Pass the optional ISO language code in the request body. If omitted, the system guesses the language from the script, defaulting to English for Latin text. For non-English Latin-script text, explicitly setting the language parameter ensures accurate synthesis.
What are the rate limits?
You are limited to 60 requests per minute per key. New accounts start with a limit of 10 requests per minute until the first top-up is processed. Requests are processed sequentially, so high load may cause queuing delays during synthesis.
How are failures handled?
If synthesis fails, the charge is returned in full. Failed requests do not deduct from your balance. This ensures you only pay for successfully generated audio files. You should implement retry logic in your application to handle transient errors.
Is streaming supported?
No. The API returns the complete audio file in the response. There is no WebSocket or real-time partial audio streaming available. You must wait for the full synthesis to complete before receiving the audio data for playback or storage.
Do I need to split long texts?
Yes, if your text exceeds 4096 characters. You must split the input into parts of up to 4096 characters, send separate requests, and join the resulting audio files. This ensures each request stays within the maximum allowed input length.
How do I check available voices?
Send a GET request to /v1/voices. This endpoint returns details about available voices, supported languages, formats, and pricing. It provides the necessary metadata to configure your API calls correctly before generating audio for your specific use case.
What models are available?
Two models are available: tts-1 and tts-1-hd. Both use the same engine and price point. You can choose either model in your requests. The choice does not affect cost.
First request
curl
curl https://api.bancanohu.cc/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.bancanohu.cc/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.bancanohu.cc/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 |
Getting Started
SynthVoice Monitor is designed for product teams building hearing aids, smart speakers, and care bots. To begin, sign up via Google or email on the /get-api-key/ page. Accounts are specific to this site.
Signing up for an account
Create your account using Google authentication or a standard email and password combination. Each account is independent to this storefront. New Google sign-ups receive a $0.50 trial credit valid for seven days, providing approximately 50,000 characters for testing your integration.
Generating your API key
Your API key appears immediately after registration. Unlike systems with multiple keys, we issue one active key per account. You can rotate this key at any time; the previous key becomes invalid instantly, maintaining strict security for your audio generation workflows.
Understanding the base URL
The API base URL is https://api.bancanohu.cc/v1. This endpoint accepts standard JSON payloads. Developers can use the official OpenAI SDKs by simply adjusting the base URL configuration, allowing for easy integration into existing codebases without learning a new client library.
Authentication
Authentication is handled via a simple Bearer token in the HTTP header. This key grants access to your account’s specific quota and billing profile.
Using Bearer tokens
Include your key in every request header: Authorization: Bearer tts-.... The API validates this token before processing any synthesis job.
Key rotation and invalidation
Generate a new key at any time from your dashboard. The previous key becomes invalid immediately, ensuring strict access control without waiting for expiration.
Single active key per account
Each account maintains only one active key at a time. This simplifies tracking usage and billing across your entire product team.
Endpoints Overview
The SynthVoice Monitor API exposes three primary endpoints to manage synthesis and voice discovery. The core speech endpoint accepts text and configuration parameters to return audio files, while the metadata endpoints provide real-time information on available voices and model configurations without consuming character credits.
POST /v1/audio/speech
This endpoint processes your text input and returns the synthesized audio file. It accepts a JSON body with fields for model, input, voice, response_format, and speed. The API supports formats including mp3, wav, opus, flac, and pcm, allowing seamless integration with various media pipelines.
GET /v1/voices
Retrieve a list of all available voice presets, their associated languages, supported formats, and pricing details. This endpoint helps developers verify that the desired voice and language combination is available before making synthesis requests, ensuring accurate configuration for assistive devices and care bots.
- Returns voice ID, name, gender, and supported languages
- Includes current pricing per character for each voice
- Lists supported output formats for each voice
GET /v1/models
Fetch the available TTS models, currently including tts-1 and tts-1-hd. Both models use the same underlying engine and pricing structure, allowing you to switch between them without cost implications. This endpoint confirms the current model status for compatibility checks.
Request Parameters
SynthVoice Monitor processes text inputs up to 4,096 characters per request, with spaces and punctuation counting toward the limit. For longer narratives, split the text into chunks and join the resulting audio files seamlessly.
Input text and character limits
Each API call accepts a maximum of 4,096 characters. If your content exceeds this, divide the input into smaller segments and concatenate the output files. This ensures reliable synthesis without truncation.
Voice selection presets
Choose from eight licensed presets, including female voices like Aria and Luna, or male options such as Felix and Atlas. Each voice offers a distinct tone, from warm narration to energetic promos, suitable for assistive devices.
- Aria: warm, clear narrator
- Nova: bright, upbeat
- Luna: soft, storytelling
- Sage: calm, instructional
- Felix: energetic, promo
- Milo: friendly, conversational
Response formats and speeds
Output audio is available in MP3, WAV, Opus, FLAC, or PCM formats. Adjust the speed between 0.25 and 4.0 to match user preferences. Failed requests incur no charge, ensuring cost efficiency for testing.
Language and Voice Settings
SynthVoice Monitor supports 23 languages, including Arabic, Chinese, French, German, Japanese, Korean, Spanish, and Swahili. Any voice preset can speak any of these languages, allowing product teams to build accessible audio for diverse user bases without managing multiple voice engines.
Setting the language code
Explicitly set the language field in your request using the ISO code (e.g., "en", "ja", "ar"). This is critical for Latin-script text that is not English, ensuring the engine selects the correct phonetic rules. Without this setting, Latin text defaults to English pronunciation.
- Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish.
Auto-detection from script
If the language field is omitted, the API guesses the language from the input script. While this works for clear English text, it may misinterpret other Latin-script inputs. We recommend always specifying the language for non-English content to avoid unintended English pronunciation.
Available voice presets
Choose from eight licensed presets based on LibriVox public-domain audiobook readings. Each voice carries an inaudible watermark marking it as synthetic speech. Voices are categorized by tone: female presets include Aria (warm narrator), Nova (bright), Luna (soft storytelling), and Sage (calm instruction); male presets include Felix (energetic promo), Milo (friendly), Atlas (neutral news), and Orion (deep documentary).
- 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

Rate Limits and Quotas
SynthVoice Monitor enforces a strict rate limit of 60 requests per minute per API key. This cap ensures stable synthesis performance for product teams deploying audio in care bots or smart speakers, preventing sudden spikes from overwhelming the processing pipeline.
60 requests per minute
Once your account is active, you may process up to 60 API calls within any 60-second window. This limit applies uniformly across all requests, regardless of voice or format selected.
10 requests before top-up
New accounts starting with a free trial credit are restricted to 10 requests per minute. This lower limit helps manage initial load before you add USDT to your balance.
Handling queue delays
Requests are processed sequentially. Under heavy load, synthesis may wait in a queue, causing slight delays. Longer texts take roughly real-time duration to generate, so plan your batching accordingly.
- Failed requests incur no charge.
- Retry logic should account for potential queue latency.
Error Handling
SynthVoice Monitor returns standard HTTP status codes to indicate request outcomes. A 400 Bad Request occurs if the input text exceeds 4096 characters or if the specified voice ID is invalid. Other errors may indicate authentication issues or temporary service unavailability.
Common HTTP error codes
Use the status code to determine if the issue is client-side or server-side. For 4xx errors, verify your API key and request parameters. For 5xx errors, the service may be temporarily overloaded due to queue processing.
Retrying failed requests
If a request fails due to a temporary network issue, you may retry it. Since requests are processed sequentially, high load may cause delays. Implement exponential backoff to avoid overwhelming the server during peak usage periods.
Billing adjustments on failure
Failed requests are free. If synthesis fails, the charge is returned in full. You do not pay for characters consumed during a failed attempt. Check your balance in the dashboard to confirm credits were restored.
Code Examples
SynthVoice Monitor’s endpoint mirrors the OpenAI speech interface, allowing teams to integrate voice synthesis into care bots or smart speakers with minimal code changes. The following examples demonstrate how to generate audio files in various formats using common development tools.
Curl command example
Use this command to request MP3 audio via the POST endpoint. Replace YOUR_API_KEY with your key from the dashboard and YOUR_VOICE with a preset like nova or atlas.
Python OpenAI SDK integration
Leverage the official OpenAI Python SDK by pointing it to our base URL. This approach simplifies handling the JSON response and saving the resulting audio file directly to your application’s storage.
JavaScript fetch example
For web-based assistive devices, use the native fetch API to send text and receive binary audio data. Ensure you handle the response_format parameter to match your client’s playback capabilities.
Frequently Asked Questions
SynthVoice Monitor provides a straightforward API for integrating natural-sounding speech into assistive devices and care bots. This documentation covers the essential endpoints, parameters, and workflows needed for product teams to deploy reliable audio synthesis without legal ambiguity.
How do I change my API key?
Your account key appears on the /get-api-key/ dashboard page alongside your balance and usage statistics. You can issue a new key at any time from this interface. When a new key is generated, the previous one stops working immediately, ensuring tight control over access.
What is the max text length?
Each API request supports up to 4,096 characters of input text. Spaces and punctuation count toward this limit. For longer texts, split the content into multiple requests and join the resulting audio files. Short phrases may take a few seconds to generate, while longer texts process at roughly real-time speed.
Can I use the OpenAI SDK?
Yes. The SynthVoice Monitor API uses the same request shape as the OpenAI speech endpoint. You can use the official OpenAI SDKs by changing the base URL to https://api.bancanohu.cc/v1 and providing your SynthVoice Monitor API key. This allows seamless integration with existing client libraries.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Selecting the right male voice for elderly care devices depends on the specific interaction context.
23 languages
Any voice speaks any of these languages.
