Developers

Your first API call takes five minutes.

Mira TTS speaks, Mira STT listens and Mira LLM replies, all on one key.

No sign-up to look around. Your sandbox starts with ₹200 of credit.

First audio, one request · POST /v1/audio/speech

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

OpenAI’s speech protocol: change the base URL and the model name, keep the rest of your code.

The APIs

Three APIs give you the voice, the ears and the replies.

Each is priced on its own: speech by the minute, or by the character over HTTP, and the model by the token.

Text to speech

Mira TTS

₹0.90a minute connected, on the WebSocket²

₹1.80per 1,000 characters, over HTTP: ₹1,800 per 10 lakh (1 million)

Pay as you go

Monthly
No commitment
At once
5 concurrent requests

Business

Monthly
₹50,000, credited to your wallet
At once
25 concurrent requests
  • On the text-to-speech WebSocket you pay for time, not text: every second the socket is open is billed at the per-minute rate, and the speech it carries is not charged again by the character. HTTP requests are billed by the character.
  • Shared endpoint · No contractual SLA. Top-ups use the same rates.
  • Enterprise: Custom volume pricing, concurrency, dedicated endpoint and SLA.
Read the TTS quickstart

Speech to text

Mira STT

₹0.30a minute of audio, over HTTP or the WebSocket²

₹15an hour of recorded audio, transcribed offline

  • Speech to text is billed per second of audio you send, on HTTP and on the WebSocket alike.
  • Offline transcription: speaker-labelled transcript with a speaker id per voice · Recordings up to 2 hours · Shared endpoint · No contractual SLA.
Read the STT quickstart

Language model

Mira LLM

Gemma 4 26B A4B

₹15input · $0.15²

₹9.30cached input · $0.093

₹55output · $0.55, per 10,00,000 tokens

Pay as you go

Monthly
No commitment
Rate limit
1,000 requests a minute

Business

Monthly
₹50,000, credited to your wallet
Rate limit
5,000 requests a minute
  • Google’s open Gemma 4 26B A4B, served on our own GPUs in India.
  • Rate limits apply per workspace across all API keys. Shared endpoint · No contractual SLA.
  • Enterprise: Custom volume pricing, rate limits, dedicated endpoint and SLA.
Read the LLM pricing

Quickstart

The quickstart is four requests and one real phone call.

It takes five minutes: a key, a number you may call, a public HTTPS URL.

  1. Create a key
  2. Create an agent
  3. Place a call
  4. Receive the webhook
Then put the three together on a call POST /v2/calls
from mirai import Mirai

# Uses MIRAI_API_KEY
mirai = Mirai()
call = mirai.calls.create(
    agent_id="YOUR_AGENT_ID",
    to="+91XXXXXXXXXX",
)

Use an agent you’ve configured in your workspace and a number you are allowed to call. For webhooks, ngrok is fine while you build.

Questions

Questions developers ask before they build.

Which languages do the APIs support?

Hindi, Gujarati, Marathi, Bengali, Tamil, Telugu, Kannada and Malayalam are live in Mira TTS and Mira STT. Mira TTS also code-switches between Devanagari Hindi and Roman English in one sentence.

How is text to speech billed?

₹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.

Do I need to talk to sales?

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.

Does it work with the OpenAI SDK?

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.

Still deciding? Ask us.

Fifteen minutes with the team that builds it. Bring your script, or your hardest call.

Book 15 minutes
  1. AI agents: T5 is ₹5 a minute, pay as you go, with our phone line and call insights included. At volume, T1 is ₹1 a minute on ₹1,00,000 a month, and ₹1.50 with our phone line (₹0.30) and call insights (₹0.20). Prices exclude GST.

  2. Models are priced on their own, never at an agent call's rate: text to speech at ₹0.90 a minute connected on the WebSocket or ₹1.80 per 1,000 characters over HTTP, speech to text at ₹0.30 a minute of audio, and the LLM by the token. Monthly commitments are credited to your wallet. Unused credit never expires. The LLM is billed in INR; USD amounts are for reference. All prices exclude GST.

Get an API key