Text to speech
Mira TTS
₹1.80 per 1,000 characters. 48 kHz mono PCM16 as WAV or raw PCM, or 8 kHz μ-law for phone lines. Pay as you go with 5 concurrent requests.
Speech APIs, made in India
Mira TTS speaks, Mira STT listens and Mira LLM replies. One key works across the API, and your sandbox starts with ₹200 of credit.
No sign-up to look around. We ask for an email when you create a key.
First audio, one request POST /v1/audio/speech
cURL
curl https://sandbox.voice.miraiminds.co/v1/audio/speech \
-H "Authorization: Bearer $MIRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mira-tts",
"voice": "ashu",
"response_format": "wav",
"input": "नमस्ते, मैं आशु बोल रहा हूं। आपका ऑर्डर तैयार है।"
}' \
--output speech.wav Python
from openai import OpenAI
client = OpenAI(
api_key="sk_live_...",
base_url="https://sandbox.voice.miraiminds.co/v1",
)
with client.audio.speech.with_streaming_response.create(
model="mira-tts",
voice="ashu",
response_format="pcm",
input="चलिए numbers से start करते हैं।",
) as response:
for chunk in response.iter_bytes():
... # raw s16le mono @ 48 kHz OpenAI’s speech protocol: change the base URL and the model name, keep the rest of your code.
The APIs
Text to speech
₹1.80 per 1,000 characters. 48 kHz mono PCM16 as WAV or raw PCM, or 8 kHz μ-law for phone lines. Pay as you go with 5 concurrent requests.
Speech to text
9.12% normalised WER across all 10,000 utterances of the RinggAI Hindi benchmark, the lowest of the five systems in the report.
Language
₹14.38 input and ₹57.52 output per 10,00,000 tokens. Pay as you go at 1,000 requests a minute.
Calls
Put the three together on a phone call with POST /v2/calls. ₹5 a minute on T5, phone calling included.
Quickstart
The quickstart takes five minutes. You need a key, a number you are allowed to call, and a public HTTPS URL for webhooks. ngrok is fine while you build.
Open the quickstartHindi, Hinglish, English and Gujarati are live, and Mira TTS code-switches between Devanagari Hindi and Roman English in one sentence.
₹1.80 per 1,000 characters from a prepaid wallet. Pay as you go has 5 concurrent requests; Business has 25, with a ₹50,000 monthly commitment. All prices exclude GST.
No. Open the sandbox, add an email when you create a key, and start with ₹200 of credit. Talk to us when you need a dedicated endpoint or an SLA.
Mira TTS speaks OpenAI’s POST /v1/audio/speech protocol, so the OpenAI SDKs work with a new base URL and model name. The same key works for the rest of the v2 API.
Open the sandbox, create a key and send the request above. The wallet starts at ₹200.