Frequently asked questions
How do I get an API key?
Sign up on /get-api-key/ using Google or email. Accounts are per site. You receive one active key per account. A new key stops the old one immediately. Failed requests are free. You can issue a new key any time via the dashboard.
What is the base URL?
The API base URL is https://api.shuvo777.info/v1. Use this endpoint for all requests. The speech endpoint is POST /v1/audio/speech. List voices via GET /v1/voices. Retrieve models via GET /v1/models. Ensure your base URL points to this domain for correct routing.
Which SDK can I use?
Use the official OpenAI SDKs. Change the base_url to https://api.shuvo777.info/v1. Send your API key in the Authorization header. The request shape matches the OpenAI speech endpoint. No proprietary SDK is required. Plain HTTP requests also work perfectly with standard libraries.
How do I send a request?
POST to https://api.shuvo777.info/v1/audio/speech. Include model, input, voice, and response_format in the JSON body. Text input is limited to 4096 characters. Split longer texts into parts and join the resulting audio files. The API returns the generated audio file directly in the response.
What voices are available?
Eight presets are available: aria, nova, luna, sage, felix, milo, atlas, and orion. Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0), from LibriVox public-domain audiobook readings. Every file carries an inaudible synthetic watermark. All voices support all 23 languages. Choose based on tone: warm, bright, soft, or deep.
What audio formats are supported?
Supported formats are mp3, wav, opus, flac, and pcm. Specify the format using the response_format field. The API returns the audio file directly. No additional conversion is needed. Choose mp3 for smaller files or wav for lossless quality. All formats are generated via the same engine.
What are the rate limits?
Limit is 60 requests per minute per key. New accounts start at 10 requests per minute. Limits increase to 60 requests per minute after the first top-up. Requests are processed sequentially, so queues may form under load. Failed requests do not count against your limit and are free. Monitor usage via the dashboard.
How do I set the language?
Set the language parameter to an ISO code. Supported languages include English, Spanish, German, French, and 19 others. If omitted, the system guesses the language. Latin script defaults to English. For non-English Latin text, explicitly set the language to ensure correct pronunciation and accuracy.
What is the speed range?
Speed ranges from 0.25 to 4.0. Adjust this value to slow down or speed up the narration. Default speed is typically 1.0. Faster speeds compress the audio duration. Slower speeds extend the audio duration. Adjust based on your specific use case requirements.
What models are available?
Two models exist: tts-1 and tts-1-hd. Both use the same engine and price. Choose based on preference. tts-1-hd uses the same engine as tts-1. The request structure remains identical for both. Select the model that best fits your audio quality needs without affecting the cost per character.
How do I handle errors?
Check the HTTP status code in the response. Failed requests are free and charges are returned. Review the error message for details on invalid parameters or rate limits. Ensure your text is under 4096 characters. Verify your API key is active and has sufficient balance for successful generation.
Do I need to install anything?
No installation is required. Use any HTTP client or SDK. The API is cloud-based. Send JSON requests to the endpoint. Receive audio files directly. Works with standard programming languages like Python, JavaScript, or Go. No specific libraries are mandatory beyond standard HTTP capabilities.
Is the API REST-based?
Yes, it is a standard REST API. Use POST for speech generation. Use GET for listing voices and models. Responses are in JSON or binary audio. No streaming or WebSocket connections are supported. Interact via standard HTTP methods. Compatible with any REST client or SDK supporting these methods.
How do I authenticate?
Include your API key in the Authorization header. Format: Authorization: Bearer tts-... . One key per account. New keys invalidate old ones immediately. Keys are issued upon sign-up. Ensure the key is active and has sufficient balance. Pass it with every request to the API endpoint.
First request
curl
curl https://api.shuvo777.info/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.shuvo777.info/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.shuvo777.info/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
ShopSpeak provides a cloud-based TTS API for e-commerce startups. To begin, create an account on this site using Google or email. This grants access to your unique API key and balance dashboard.
Each account holds one active key. You can issue a new key at any time; the previous one stops immediately. Keys authenticate all requests sent to the API.
Sign up on the site
Navigate to /get-api-key/ and register via Google or email + password. Google sign-ups receive a $0.50 trial credit valid for 7 days. Email accounts start with zero balance.
Once registered, you access the dashboard to view your key, usage, and billing status.
- Google or email registration
- Immediate access to /get-api-key/ dashboard
- Trial credit applies only to Google sign-ins
Generate API key
The dashboard displays your active API key (format: tts-...). If you need a fresh key, click the generate option. The old key becomes invalid instantly upon creation.
Use this key in the Authorization header for all API calls.
- One active key per account
- Instant invalidation of old keys
- No key rotation delays
Copy and store securely
Copy the key from the dashboard and store it in your environment variables or secure config file. Do not expose it in client-side code.
Use the key in the Authorization: Bearer header for all requests.
- Store in environment variables
- Exclude from version control
- Use Bearer token header
First Request with cURL
Send a POST request to https://api.shuvo777.info/v1/audio/speech with your text and voice selection. The API returns an audio file directly in the response body, eliminating the need for polling or secondary downloads. This endpoint mirrors the OpenAI speech structure, allowing immediate integration with existing tools by simply adjusting the base URL.
Ensure you include your Bearer token in the Authorization header. Each request is charged based on character count, so verify your input length before sending. Failed requests are free, ensuring you only pay for successful synthesis.
Basic JSON body
Construct a JSON object with the model, input, voice, and response_format fields. The input text must not exceed 4096 characters. If your content is longer, split it into chunks and join the resulting audio files later.
You can optionally specify speed (0.25–4.0) to adjust playback rate. The language field is optional; if omitted, the system guesses the language, defaulting to English for Latin script.
model: "tts-1" or "tts-1-hd"input: Your text string (max 4096 chars)voice: One of the 8 available presetsresponse_format: mp3, wav, opus, flac, or pcm
Authorization header
Include your API key in the HTTP header as Authorization: Bearer tts-<your-key>. You can generate and copy this key from the /get-api-key/ dashboard page. Each account holds one active key at a time.
The key authenticates your account and tracks usage against your rate limits and balance. If you issue a new key, the previous one becomes invalid immediately.
Response handling
On success, the API returns the audio file directly with a 200 OK status code. Save this binary data to your preferred audio format. No additional metadata or JSON wrappers are included in the response body.
If an error occurs (e.g., invalid voice or rate limit exceeded), you will receive an error JSON object with a status code and message. Failed synthesis requests incur no charge.
OpenAI SDK Integration
You can integrate the ShopSpeak API using the official OpenAI SDKs by simply changing the base_url to https://api.shuvo777.info/v1. This allows you to use familiar client libraries without rewriting your integration logic.
The request structure remains identical to the OpenAI speech endpoint, ensuring a drop-in replacement for existing implementations. This approach minimizes development time and leverages existing SDK features like retry logic.
Change base URL
Configure your SDK client to point to our API endpoint. Set the base URL to https://api.shuvo777.info/v1 and use your ShopSpeak API key for authentication. This redirects all standard speech generation calls to our infrastructure.
- Base URL: https://api.shuvo777.info/v1
- Auth: Bearer <your-api-key>
- Compatible with OpenAI Python/Node.js SDKs
Use official SDK
Leverage the official OpenAI SDKs for seamless integration. Since our API mirrors the OpenAI speech endpoint structure, you can use the same codebase to generate audio. This reduces boilerplate code and simplifies maintenance for your e-commerce voiceover systems.
Same request shape
Send your text, voice selection, and format preferences in a JSON body identical to the OpenAI format. The API processes model, input, voice, and response_format fields exactly as expected. This consistency allows you to swap endpoints with minimal code changes.
- JSON body structure matches OpenAI
- Supports all standard TTS parameters
- No custom serialization required
Available Voices
The ShopSpeak API provides eight distinct voice presets designed for e-commerce workflows, from product descriptions to cart abandonment notifications. Each voice is based on licensed recordings from LibriTTS-R, ensuring high-quality synthetic speech without the need for custom voice cloning or emotion tags. All voices support 23 languages, including English, Spanish, and German, allowing you to localize your store's audio content globally with a single API key.
Every generated file includes an inaudible watermark to identify synthetic audio. The voices are consistent, reliable, and optimized for clear narration, making them ideal for automated audio catalogs and customer notifications. You can switch between voices instantly based on the context of your text, ensuring the right tone for every customer interaction.
Female voices: Aria, Nova, Luna, Sage
Aria offers a warm, clear narrator style suitable for general product descriptions. Nova provides a bright, upbeat tone ideal for promotional content. Luna delivers a soft, storytelling voice for narrative-driven audio catalogs. Sage is calm and instructional, perfect for help guides or technical specifications.
- Aria: warm, clear narrator
- Nova: bright, upbeat
- Luna: soft, storytelling
- Sage: calm, instructional
Male voices: Felix, Milo, Atlas, Orion
Felix is energetic and promo-focused, great for sales notifications. Milo offers a friendly, conversational tone for customer service updates. Atlas provides a neutral, news-style voice for clear, factual announcements. Orion delivers a deep, documentary-style tone for premium or long-form content.
- Felix: energetic, promo
- Milo: friendly, conversational
- Atlas: neutral, news
- Orion: deep, documentary
Select voice by name
Use the voice parameter in your API request to specify any of the eight presets by name. The API accepts any voice for any of the 23 supported languages, so you can mix and match voices across different languages without additional configuration. This flexibility allows you to maintain brand consistency while adapting to regional customer preferences.
Supported Formats
The API returns audio in five distinct formats, allowing you to balance file size and quality based on your e-commerce infrastructure. You can select mp3, wav, opus, flac, or pcm for every synthesis request.
Choose mp3 for efficient web delivery, wav for uncompressed local storage, or opus and flac for high-fidelity audio catalogs. pcm provides raw, uncompressed samples for direct processing.
MP3, WAV, Opus
mp3 is the standard for web playback, offering small file sizes and broad compatibility. wav provides uncompressed audio for archival or local processing. opus is a supported format for audio generation.
- mp3: compressed, web-ready
- wav: uncompressed, high quality
- opus: efficient, low bitrate
FLAC, PCM support
flac is a supported format for audio generation. pcm returns raw audio data without any compression, suitable for immediate playback or further signal processing.
Both formats are valid for all voice models and speeds. Use pcm if your downstream system requires uncompressed byte streams.
- flac: lossless compressed
- pcm: raw uncompressed data
Choose format per request
Specify the desired format using the response_format field in your JSON body. Each request can independently define its output format, allowing different voices or models to use different codecs.
The format choice does not affect pricing or character limits. All formats are supported across all 8 voices and 23 languages.
- Set
response_formatin POST body - Format varies per request
- No price difference by format

Rate Limits and Errors
Your API key allows 60 requests per minute under normal operation. This limit applies across all requests to the POST /v1/audio/speech endpoint. Exceeding this threshold triggers a rate limit response, ensuring stable performance for your e-commerce workflows.
Before your first top-up, the limit is lower. New keys start with a stricter quota to manage initial load. Once you add USDT, the full 60 requests per minute capacity unlocks immediately.
60 requests per minute
The standard rate limit is 60 requests per minute per active key. This applies to all synthesis attempts, regardless of text length or format. If you process cart abandonment notifications in bursts, ensure your client respects the limit to avoid interruptions in audio delivery.
10 requests before top-up
Accounts created via email or initial sign-up start with a limit of 10 requests per minute. This applies until you add USDT to your balance. The limit increases to 60 requests per minute automatically within minutes of a successful TRC-20 transfer.
Handle 429 errors
When you exceed the limit, the API returns HTTP 429 Too Many Requests. Implement exponential backoff in your client to retry after a short delay. Failed requests do not count toward the rate limit.
Language Settings
Language handling in the ShopSpeak API is designed to be explicit and predictable. You can pass an optional language field as an ISO 639-1 code to ensure consistent synthesis across different content types.
Optional ISO code
Specify the target language using standard ISO codes (e.g., en, es, de) in your request JSON. This overrides any automatic detection and ensures the voice uses the correct phonetic rules and intonation for the specified language.
- Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish.
- Not supported: Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali.
Automatic detection
If the language field is omitted, the system attempts to detect the language from the input text's script. Latin script text defaults to English unless another language code is provided.
Default to English
For non-English text using Latin characters (e.g., German or French), you must explicitly set the language parameter. Without it, the API defaults to English, which may result in unnatural pronunciation or accent.
Models and Speed
The API offers two model identifiers: tts-1 and tts-1-hd. Both use the identical underlying synthesis engine and produce audio with the same voice characteristics. The distinction is purely cosmetic for your code; you may choose either based on preference or future-proofing needs.
Despite having different names, there is no quality or price difference between the two. Both models charge the same rate of $0.01 per 1,000 characters and support the same 4096-character input limit. Selecting one over the other will not alter the output audio quality or your billing costs.
tts-1 and tts-1-hd
The API accepts either tts-1 or tts-1-hd as the model value in your JSON body. Since both invoke the same synthesis engine, the generated audio is identical regardless of which identifier you choose. This allows you to stick with one standard without worrying about model versioning.
Using tts-1-hd does not incur higher costs or require more processing time than tts-1. Both models handle the same 4096-character input limit and support all eight voice presets equally. You can swap between them in your code without changing any other parameters.
- - Model value:
tts-1ortts-1-hd - - Identical synthesis engine and output quality
- - Same pricing: $0.01 per 1,000 characters
- - No performance difference between identifiers
Same engine and price
Both model identifiers utilize the exact same neural network backend. This means that voice characteristics, latency, and audio fidelity remain consistent whether you specify tts-1 or tts-1-hd. Your billing is calculated purely on character count, not on the model name used in the request.
There is no premium tier for tts-1-hd. It does not offer superior audio clarity or reduced latency compared to tts-1. The dual naming convention provides flexibility for developers who may want to distinguish between model versions in their code, even though the underlying technology is unchanged.
- - Identical neural network backend
- - Consistent voice characteristics across both
- - Same $0.01 per 1,000 characters rate
- - No latency or quality variance
Speed range 0.25–4.0
You can control the playback speed of the generated audio using the speed parameter, which accepts values from 0.25 to 4.0. The default speed is 1.0, which produces natural pacing suitable for most e-commerce product descriptions and notifications. Adjusting this value scales the audio duration inversely.
Slower speeds (e.g., 0.5) extend the audio duration, which may be useful for detailed technical instructions or accessibility contexts. Faster speeds (e.g., 2.0) compress the audio, potentially reducing processing time for high-volume cart abandonment alerts. Extreme speeds may slightly alter voice character, so test with your specific voices.
- - Range: 0.25 to 4.0
- - Default speed: 1.0
- - Lower values: slower, longer audio
- - Higher values: faster, compressed audio
- - Applies to all voices and models
- - No extra charge for speed changes
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Any voice can speak any of these languages, giving you flexibility in voice selection regardless of the store’s primary market.
23 languages
Any voice speaks any of these languages.
