Frequently asked questions
Do I need an OpenAI account to use this?
No. You sign up directly on playfuji9.com using Google or email. While the API shape matches OpenAI’s, you use your own LinguaPop API key. The official OpenAI SDKs work by changing the base URL, but no OpenAI account is required to access the service or manage your billing.
What is the maximum text length?
Each request accepts up to 4096 characters of input text. For longer product descriptions or blog posts, split the text into parts of this size and join the resulting audio files. Spaces and punctuation count toward this limit. This ensures consistent processing speed and reliable audio generation for your e-commerce content.
Can I change the voice mid-sentence?
No. The API generates audio for a single voice per request. To change voices, you must send separate requests for each segment of text. You can then concatenate the resulting audio files. This allows you to mix voices across different paragraphs or sections of your product descriptions.
Does the API support SSML tags?
No. The API does not support SSML tags, phoneme dictionaries, or custom pronunciation lexicons. You control pacing and tone primarily by adjusting the speed parameter (0.25–4.0) and selecting from the eight available voice presets. For precise control, split your text into smaller, manageable segments.
How do I handle rate limit errors?
You are limited to 60 requests per minute per key (10 before the first top-up). If you exceed this, requests may queue or fail. For longer texts, split them into chunks and process them sequentially. Failed requests are free, so retrying after a brief pause is safe and cost-effective.
Is the API key reusable?
Yes. You have one active key per account that can be reused across all your integrations. If needed, you can issue a new key at any time via the dashboard. The old key stops working immediately, allowing you to rotate credentials securely without disrupting your active e-commerce workflows.
Can I stream audio as it generates?
No. The API does not support streaming, WebSockets, or real-time partial audio. You send a POST request and receive the complete audio file in the response. For e-commerce use cases, this is ideal as you can store the generated audio files directly in your store’s media library.
What happens if the server is down?
Requests are processed sequentially, so under load, you may experience delays. If synthesis fails, the charge is returned in full. There is no SLA or uptime guarantee. You can monitor status via the dashboard and retry failed audio generations without additional cost.
Do I need to install a library?
No. You can use plain HTTP requests or the official OpenAI SDKs by changing the base URL. No custom SDK or library is required. This makes integration easy for non-technical users who can use simple curl commands or standard HTTP clients available in most e-commerce platforms and scripts.
Is the base URL standard?
Yes. The endpoint is POST https://api.playfuji9.com/v1/audio/speech. The request shape matches OpenAI’s speech endpoint, so you can use the same JSON structure. Just update the base URL to https://api.playfuji9.com/v1 when using the OpenAI SDKs. This standardization simplifies integration for developers and non-technical users alike.
Can I use custom domains?
No. The API is accessed via the standard base URL https://api.playfuji9.com/v1. You cannot route requests through your own custom domain for the API endpoint. Your e-commerce store can use any domain.
How do I authenticate requests?
Include your API key in the Authorization header as: Authorization: Bearer tts-... You can find your key on the /get-api-key/ page after signing up. Each account has one active key. If you generate a new key, the old one stops working immediately, ensuring secure access to your audio generation service.
What is the response format?
You can choose from mp3, wav, opus, flac, or pcm via the response_format field. The API returns the audio file directly in the response body. This allows you to easily integrate the audio into your e-commerce platform, whether for product descriptions, blog posts, or automated voice notifications.
Are there SDKs for Python or JS?
No official LinguaPop SDK exists. However, you can use the official OpenAI SDKs for Python or JavaScript by changing the base URL to https://api.playfuji9.com/v1. This allows you to leverage familiar libraries and code structures. You can also use plain HTTP requests for simpler integrations without any library dependencies.
First request
curl
curl https://api.playfuji9.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.mp3Python (openai)
from openai import OpenAI
client = OpenAI(base_url="https://api.playfuji9.com/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.playfuji9.com/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
To generate audio from your product descriptions, you first need an API key. Head to the /get-api-key/ page and sign up using your Google account or an email address. This creates your unique account on the LinguaPop platform.
Sign up on the dashboard
After signing in, you will land on your dashboard. If you used Google, you receive a $0.50 free trial valid for 7 days. Email-based accounts start with a zero balance. You can view your current balance and usage metrics here.
Copy your secret key
Your API key appears prominently on the dashboard. It starts with "tts-". Click the copy button to save it to your clipboard. You can issue a new key at any time, which immediately invalidates the old one.
Keep it secure in your store
Treat this key like a password. Store it in your store’s environment variables or secure configuration files. Since each account has only one active key, ensure your backend retrieves it securely when sending requests to the API.
First request with cURL
Start by sending a POST request to the speech endpoint with your API key. This basic example generates audio from a short product description, returning an MP3 file you can immediately embed in your store.
Basic POST request example
Use the following cURL command to test the integration. Replace <YOUR_API_KEY> with your secret key from the dashboard.
- ```bash curl -X POST https://api.playfuji9.com/v1/audio/speech \ -H "Authorization: Bearer <YOUR_API_KEY>" \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "input": "This wireless headset features noise cancellation.", "voice": "nova", "response_format": "mp3"}' \ -o audio.mp3 ```
Required JSON body fields
The request body must include the model, input text, voice, and response format. You can optionally set the speed and language.
- model: "tts-1" or "tts-1-hd" input: Text up to 4096 characters voice: One of 8 presets (e.g., nova, atlas) response_format: mp3, wav, opus, flac, or pcm speed: 0.25–4.0 language: Optional ISO code
Understanding the response
A successful request returns an audio file in the specified format. If synthesis fails, the charge is returned in full, so you can retry without losing balance.
OpenAI SDK integration
The LinguaPop API uses the same request shape as the OpenAI Speech endpoint, allowing you to reuse existing integration code with minimal changes. Simply update the base URL to point to our API endpoint.
This compatibility means you can switch providers without rewriting your entire audio generation logic, making it easier to add voice to your e-commerce workflows.
Change base_url to ours
Update your SDK configuration to use https://api.playfuji9.com/v1 as the base URL. This directs all requests to our TTS engine while keeping the standard JSON structure intact.
Use standard speech methods
Call the standard speech method with your API key in the Authorization header. Pass your text, voice selection, and desired format just as you would with the official OpenAI client.
Compatible with official SDKs
Official OpenAI SDKs for Python, Node.js, and other languages work out of the box. No custom client libraries are needed, reducing setup time for your development team.
Available audio formats
The API supports five distinct audio formats, allowing you to balance file size and quality based on your store’s specific needs. Each format serves a different technical purpose, from efficient web streaming to high-fidelity archival.
MP3 for web players
MP3 is the standard choice for most e-commerce audio players. It offers excellent compression while maintaining clear speech, making it ideal for product descriptions played on mobile devices or desktop browsers.
WAV for high quality needs
Choose WAV when you need uncompressed, lossless audio. This format preserves the full fidelity of the generated voice, which is useful for premium content or if your downstream tools require raw audio data.
OPUS, FLAC, PCM options
OPUS provides efficient compression suitable for modern streaming. FLAC offers lossless compression for smaller file sizes without quality loss. PCM returns raw uncompressed audio data, useful for direct processing or specific hardware integrations.
- MP3: Best for general web playback
- WAV: Uncompressed, highest fidelity
- OPUS: Efficient compression
- FLAC: Lossless compression
- PCM: Raw uncompressed data
Voices and parameters
Select from eight distinct voice presets to match your brand’s tone, from warm narrators to energetic promo voices. Each voice supports all 23 languages, ensuring consistent quality across product descriptions and blog posts without needing separate voice actors.
List of 8 available voices
Choose from female voices like Aria (warm narrator) or Nova (upbeat), and male voices like Felix (energetic) or Milo (conversational). All voices use licensed recordings and carry an inaudible synthetic watermark.
- 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
Setting speed from 0.25 to 4.0
Adjust the speed parameter between 0.25 and 4.0 to control pacing. Faster speeds help summarize lengthy product lists, while slower rates improve clarity for detailed tutorials or instructional content.
Optional language ISO codes
Set the language field with an ISO code to ensure accurate pronunciation, especially for non-English Latin script text. If omitted, the system guesses the language, defaulting to English for Latin scripts.

Rate limits
Every API key supports up to 60 requests per minute, allowing you to generate audio files at a steady pace. This limit applies to all endpoints, so keep your usage predictable to avoid interruptions during bulk generation tasks.
60 requests per minute
Once your account is active, you can send 60 synthesis requests every 60 seconds. This steady throughput is sufficient for most e-commerce workflows.
10 requests before first top-up
If you have not yet added funds, your limit drops to just 10 requests per minute. This lower tier helps you test the integration quickly without requiring an immediate payment, but you will need to top up to restore the full 60 req/min capacity.
Handling queue delays
Requests are processed sequentially, so high load may cause slight delays as your request waits in line. If you hit the rate limit, you may receive an HTTP 429 error or experience queue delays. Simply retry the request after a few seconds, as your queue position will be maintained.
Error handling
Handling errors correctly ensures your store’s audio features remain reliable. The API returns standard HTTP status codes to indicate success or failure, allowing you to build robust integration logic without guessing what went wrong.
Common HTTP status codes
A 400 Bad Request indicates invalid parameters, such as an unknown voice name or input text exceeding the 4096-character limit. A 401 Unauthorized means your API key is missing or incorrect. A 429 Too Many Requests signals that you have exceeded the rate limit of 60 requests per minute.
Checking request status
Each response includes a status field indicating whether the synthesis succeeded or failed. Failed requests are free, so you will not be charged for characters processed in a failed attempt. Always check the response body for specific error messages to identify the exact cause.
Retrying failed requests
For transient errors like 500 or 503 errors, implement exponential backoff to retry the request. Do not retry 400 or 401 errors without correcting the parameters or key first, as they will fail again. If you receive a 429, wait until your rate limit resets before sending new requests.
- Retry on
500,503, and429errors - Do not retry
400or401without fixing the issue - Use exponential backoff for better rate limit management
Long text splitting
Sending long product descriptions or blog posts requires breaking the input into smaller chunks. Our API accepts a maximum of 4,096 characters per single request, ensuring consistent synthesis quality without exceeding token limits.
For texts longer than 4,096 characters, you must split the content into segments. This allows you to process each part individually and join the audio files.
Max 4096 characters per request
Each API call processes up to 4,096 characters, including spaces and punctuation. This limit applies to the input field in your JSON body. Exceeding this length will result in an error, so always validate your text length before sending.
The character count includes all whitespace. For example, a 4,000-character English text might consume nearly a minute of audio generation time, as synthesis runs at roughly real-time speed.
- Count spaces and punctuation as characters
- Limit is per request, not per word
- Exceeding 4,096 chars returns an error
Split logic for long blogs
- Split at paragraph or sentence breaks
- Keep segments under 4,096 characters
- Handle queue delays in your code
Joining audio segments
- Concatenate segments in your app logic
- Maintain audio format consistency
- Watermark appears in each segment
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Build your online store effortlessly without writing a single line of code.
23 languages
Any voice speaks any of these languages.
