Frequently asked questions
What is the base URL for the API?
The API base URL is https://api.ik6play.com/v1. You can use the official OpenAI SDKs by changing the base_url to this endpoint. All requests, including speech synthesis and voice listing, are directed to this base URL structure for consistent integration.
Do I need the official OpenAI SDK?
No, you do not need the official OpenAI SDK. The API uses the same request shape as OpenAI, so you can use the official OpenAI SDK by changing the base_url. Alternatively, you can use plain HTTP requests or any compatible library.
How do I set the authorization header?
Include your API key in the Authorization header as a Bearer token. The format is: Authorization: Bearer tts-<your_key>. Each account has one active key, which you can retrieve from your dashboard after signing in via Google or email.
What happens if I exceed the rate limit?
The limit is 60 requests per minute per key (10 per minute before the first top-up). Requests are processed sequentially, so exceeding limits or high load may cause your request to wait in a queue until capacity is available.
Can I stream audio in real-time?
No, the API does not support streaming, WebSockets, or real-time partial audio. You send text and receive the complete audio file in the response. For long texts, you must split the input and join the resulting audio files manually.
Does the API support SSML tags?
No, the API does not support SSML tags. It accepts plain text input up to 4096 characters. You cannot use SSML for pronunciation control or prosody adjustments. The voice engine interprets the text directly based on the specified language and voice.
How do I handle long texts?
Split your text into parts of up to 4096 characters per request. Send each part to the speech endpoint and join the resulting audio files. This ensures each request stays within the character limit and allows for efficient batch processing.
Is the audio file stored after generation?
No, generated audio is returned in the response and not stored by the API. Input text is used only to produce the audio and is not used for training. Only request metadata like time and status is kept for billing.
What models are available?
Two models are available: tts-1 and tts-1-hd. Both use the same engine and price. You can select the model in your request body. The tts-1-hd model uses the same engine and pricing as tts-1.
How do I switch voices?
Change the voice parameter in your request body to one of the eight presets. Available voices include aria, nova, luna, sage, felix, milo, atlas, and orion. You can select any voice for any supported language without additional configuration.
Can I adjust the speaking speed?
Yes, you can adjust the speaking speed using the speed parameter. The acceptable range is 0.25 to 4.0. This allows you to control the pacing of your real estate property descriptions or tour scripts to match your desired presentation style.
What is the input character limit?
The input text limit is 4096 characters per request. Spaces and punctuation count toward this limit. If your script exceeds this, you must split the text into multiple requests and join the resulting audio files to create the final output.
Are there any SDKs for mobile?
No, there are no official mobile SDKs. You can use the official OpenAI SDK or plain HTTP requests. Since the API follows the same request shape as OpenAI, you can integrate it into any mobile app using standard HTTP libraries.
How do I rotate my API key?
You can issue a new API key at any time from your dashboard. When a new key is issued, the old one stops working immediately. This ensures secure access control for your real estate agency’s API usage without downtime.
First request
curl
curl https://api.ik6play.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.ik6play.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.ik6play.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 |
Authentication
Authenticate requests by including your API key in the Authorization header as a Bearer token. Each account holds one active key; sending any request without this header or with an invalid token will result in an authentication error.
Bearer Token Usage
Include the header Authorization: Bearer tts-... in every POST request to https://api.ik6play.com/v1. The key is issued upon account creation and remains valid until rotated.
Single Active Key
Only one API key is active per account. If you issue a new key, the previous one stops working immediately, ensuring strict access control for your real estate infrastructure.
Key Rotation
You can generate a new key at any time via the dashboard. The old key becomes invalid instantly, allowing you to rotate credentials without service interruption if a key is compromised.
Endpoint Overview
EstateVoice exposes three primary HTTP endpoints for programmatic interaction. The speech endpoint handles audio synthesis, while the voices and models endpoints provide metadata on available configurations and pricing.
All endpoints operate under the base URL https://api.ik6play.com/v1. Access is secured via a Bearer token passed in the Authorization header, ensuring that only authenticated agency accounts can retrieve voice lists or generate audio files.
Speech Endpoint
POST requests to /v1/audio/speech accept JSON bodies containing the text input, voice selection, and output format. The endpoint returns the synthesized audio file directly in the response, allowing immediate integration into virtual tour pipelines or property listing audio tracks.
- Endpoint: POST /v1/audio/speech
- Accepts: model, input, voice, response_format, speed, language
- Returns: audio file (mp3, wav, opus, flac, pcm)
Voices Endpoint
GET /v1/voices returns a structured list of the eight available voice presets, their associated languages, and supported audio formats. This allows developers to dynamically populate UI selectors for real estate agents choosing between narrators like Aria for property descriptions or Atlas for news-style updates.
- Endpoint: GET /v1/voices
- Returns: voice ID, name, gender, language support, price tier
Models Endpoint
GET /v1/models lists the available synthesis engines, specifically tts-1 and tts-1-hd. Both models use the same underlying engine and pricing structure, differing only in audio fidelity. This endpoint helps developers configure their API clients to use the appropriate model identifier for their quality requirements.
- Endpoint: GET /v1/models
- Returns: model ID, name, description, pricing
Request Parameters
The API accepts two model variants, tts-1 and tts-1-hd, which utilize the same underlying engine and pricing structure. Selecting either model yields identical audio quality, as both use the same engine and pricing structure. The input field accepts plain text strings up to 4096 characters; spaces and punctuation count toward this limit.
Voice presets are selected via the voice parameter. EstateVoice offers eight distinct presets—four female (aria, nova, luna, sage) and four male (felix, milo, atlas, orion)—optimized for real estate narration, from warm property descriptions to energetic promotional hooks. Each voice supports all 23 available languages, with automatic language detection based on script, though explicit language codes are recommended for non-English Latin scripts to ensure accuracy.
Model Selection
The API accepts two model variants, tts-1 and tts-1-hd, which utilize the same underlying engine and pricing structure. Selecting either model yields identical audio quality, allowing developers to standardize their configuration without performance trade-offs. The input field accepts plain text strings up to 4096 characters; spaces and punctuation count toward this limit.
Voice Presets
Voice presets are selected via the voice parameter. EstateVoice offers eight distinct presets—four female (aria, nova, luna, sage) and four male (felix, milo, atlas, orion)—optimized for real estate narration, from warm property descriptions to energetic promotional hooks. Each voice supports all 23 available languages, with automatic language detection based on script, though explicit language codes are recommended for non-English Latin scripts to ensure accuracy.
- 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
Speed Control
Adjust the speed parameter between 0.25 and 4.0 to modify playback tempo. Faster speeds are suitable for quick property summaries or promotional clips, while slower rates enhance clarity for detailed virtual tour scripts. Note that request processing is sequential; under load, synthesis may queue, taking a few seconds for short phrases or approaching real-time speed (approx. 25 characters per second) for longer texts.
Response Formats
The API returns audio files in the format specified by the response_format parameter. Supported formats include MP3, WAV, Opus, and FLAC, allowing developers to optimize for file size, latency, or archival quality.
MP3 Output
MP3 is the default format, offering a balance between compression and quality. It is ideal for web delivery and reduces bandwidth costs for property listing audio files.
WAV Output
WAV provides uncompressed PCM audio, ensuring maximum fidelity for professional virtual tours. Use this format when audio quality is prioritized over file size.
Opus and FLAC
Opus offers high-quality compression, while FLAC provides lossless compression for archival purposes. Choose FLAC if you need perfect audio reproduction without the larger file size of WAV.
Rate Limits
EstateVoice enforces a strict rate limit of 60 requests per minute per API key. This constraint applies uniformly to all endpoints, including speech synthesis and voice retrieval. Developers must monitor their request volume to avoid throttling, especially when automating batch generation for large property listing catalogs.
60 Requests Per Minute
The standard limit allows 60 requests per minute. If you exceed this threshold, the API returns a 429 Too Many Requests error. Requests are processed sequentially, so high-volume jobs may experience slight delays as they queue behind existing tasks.
Pre-Fund Limit
Accounts with zero balance or only free trial credit are limited to 10 requests per minute. This lower threshold ensures fair resource distribution while new users verify integration stability before purchasing USDT top-ups via the TRON network.
Queue Behavior
Requests are processed in the order received. Under heavy load, synthesis may take longer than the typical real-time generation speed. Failed requests do not consume your character balance, allowing immediate retry without additional cost.

Error Handling
Error responses include a JSON body with an error object containing a code and message. Client errors indicate issues with the request, such as invalid characters, incorrect voice names, or missing authentication tokens.
4xx Client Errors
Common 4xx errors include invalid_request_error for malformed JSON or missing fields, and authentication_error if the Bearer token is missing or expired. These errors require immediate correction of the request payload or header before retrying.
invalid_request_error: Check input format and voice names.authentication_error: Verify theAuthorization: Bearerheader.rate_limit_error: See section 5 for details.
5xx Server Errors
Server errors (e.g., internal_error) indicate temporary issues on our end. Failed synthesis requests are free, so no charge is applied if the audio generation fails due to a server issue. These are transient and should be retried with exponential backoff.
Retry Logic
Implement exponential backoff for 5xx errors. For rate limit errors (429), wait the duration specified in the Retry-After header before retrying. Do not retry 4xx errors immediately as they will likely fail again.
OpenAI SDK Integration
Base URL Configuration
Update your OpenAI SDK’s base URL to https://api.ik6play.com/v1. This directs requests to EstateVoice’s endpoint while maintaining the standard request shape. No custom client class is required; simply override the default host configuration in your initialization parameters.
This approach allows you to use the official OpenAI SDKs without modification, as the request structure mirrors the standard speech endpoint. Ensure your API key is passed correctly in the Authorization header.
Client Initialization
Initialize the client with your Bearer token. The SDK handles authentication automatically when you provide the key. Ensure the key is active and has sufficient balance, as failed synthesis charges are refunded but still count against your rate limit.
Use the standard initialization pattern for your chosen language. The SDK will route requests to the correct API base URL, enabling seamless integration with existing codebases.
Method Compatibility
The create method for speech generation is fully compatible. Pass parameters like model, input, voice, and response_format as you would for OpenAI. The SDK handles JSON serialization and response parsing.
Note that while the interface is compatible, EstateVoice supports additional parameters like speed and language which may be ignored by older SDK versions. Always verify your SDK version supports these fields for full functionality.
Streaming is not supported, so you must wait for the full audio file before processing. This ensures compatibility with standard synchronous SDK calls.
- Standard OpenAI SDK compatibility
- Support for
speedandlanguageparameters - Synchronous audio file retrieval
Code Examples
The EstateVoice API accepts standard JSON payloads, allowing seamless integration into existing real estate workflows. Developers can generate property descriptions or virtual tour scripts by sending text to the speech endpoint.
cURL Command
Use this command to generate audio instantly. Replace YOUR_API_KEY and the text payload as needed.
- curl -X POST https://api.ik6play.com/v1/audio/speech \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "input": "Welcome to this modern property.", "voice": "aria", "response_format": "mp3"}'
Python Script
The official OpenAI Python SDK works by updating the base URL. This script sends a property listing and saves the MP3.
- import openai client = openai.OpenAI(api_key="YOUR_API_KEY", base_url="https://api.ik6play.com/v1") with client.audio.speech.create( model="tts-1", voice="nova", input="Luxury condo available." ) as response: response.stream_to_file("listing.mp3")
JavaScript Fetch
For web-based virtual tour platforms, use the native Fetch API. This example handles the audio blob directly.
- fetch('https://api.ik6play.com/v1/audio/speech', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ model: 'tts-1', voice: 'felix', input: 'Tour starts here.' }) }).then(res => res.blob().then(blob => { /* handle audio */ }));
FAQ
ElectionVoice provides a cloud-based text-to-speech API engineered for real estate agencies and virtual tour producers. It automates voiceover generation for property listings, tour scripts, and promotional videos at scale.
Integration requires standard HTTP requests. The API accepts JSON bodies with text input and returns audio files directly. Developers should verify rate limits and authentication headers before deployment.
What is the base URL for the API?
The API base URL is https://api.ik6play.com/v1. All endpoints, including speech generation and voice listings, operate under this domain. Use this base URL for all API calls and SDK configurations.
Do I need the official OpenAI SDK?
No. The endpoint structure mirrors the OpenAI speech endpoint. You can use the official OpenAI SDK by changing the base_url to https://api.ik6play.com/v1, or use any standard HTTP client like cURL, Python requests, or JavaScript fetch.
How do I set the authorization header?
Include the header Authorization: Bearer tts-... in every request. Replace tts-... with your unique API key found on the /get-api-key/ dashboard page. One active key is issued per account.
What happens if I exceed the rate limit?
The limit is 60 requests per minute per key. If you exceed this, requests will be queued or rejected. Before the first top-up, the limit is 10 requests per minute. Failed requests do not incur charges.
Can I stream audio in real-time?
No. The API does not support streaming or WebSocket connections. You send a text request and receive the complete audio file in the response once synthesis finishes. Streaming is not available.
Does the API support SSML tags?
No. The API does not support SSML (Speech Synthesis Markup Language) tags, phoneme dictionaries, or custom pronunciation lexicons. Input is plain text up to 4096 characters. Speed and voice are adjusted via parameters, not markup.
How do I handle long texts?
Split texts into parts of up to 4096 characters per request. Generate audio for each part separately, then join the resulting audio files client-side. Requests are processed sequentially, so longer texts may take time due to queuing.
Is the audio file stored after generation?
No. Generated audio is returned in the response and not stored by EstateVoice. Input text is used only for synthesis and not for training. Request metadata (time, characters, status) is kept for billing purposes.
What models are available?
Two models are available: "tts-1" and "tts-1-hd". Both use the same engine and pricing. Select the model in the request body. The /v1/models endpoint lists available configurations.
How do I switch voices?
Switch voices by changing the voice parameter in the request body. There are 8 presets: aria, nova, luna, sage, felix, milo, atlas, and orion. Use the /v1/voices endpoint to list all options.
Can I adjust the speaking speed?
Yes. Use the speed parameter with a value between 0.25 and 4.0. The default speed is 1.0. Adjusting speed does not affect the character count or pricing.
What is the input character limit?
The input text limit is 4096 characters per request. Spaces and punctuation count as characters. For longer scripts, split the text into multiple requests and concatenate the resulting audio files.
Are there any SDKs for mobile?
No. There is no official mobile SDK, browser extension, or WordPress plugin. Use standard HTTP libraries available in your mobile development environment (e.g., OkHttp for Android, URLSession for iOS) with the specified base URL.
How do I rotate my API key?
Issue a new key from the /get-api-key/ dashboard. The new key becomes active immediately, and the old key stops working at once. You can rotate keys as needed without downtime.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Our virtual tour platform empowers agencies to showcase premium listings with immersive, photorealistic precision that drives engagement and accelerates sales cycles.
23 languages
Any voice speaks any of these languages.
