Hormouz AIHormouzSign in

Microsoft AI: MAI-Voice-2: audio model

MAI-Voice-2 is Microsoft AI's expressive text-to-speech model for long-form narration and assistants, in 15 languages with multi-speaker generation. Reachable from inside Iran through Hormouz.

Pricing:
$22/M characters
Type:
audio
  • Audio

MAI-Voice-2 is an expressive text-to-speech model from Microsoft AI. It supports 15 languages across 18 locales, fine-grained control of tone and delivery, and multi-speaker generation.

It favours naturalness over speed and is suited to conversational assistants, media narration, accessibility and education. Hormouz serves MAI-Voice-2 on two endpoints: the OpenAI-compatible /v1/audio/speech, which returns the audio in the same response, and /v1/predictions for background jobs. Set voice to one of the model's own voices, for example "en-US-Harper:MAI-Voice-2", and response_format to mp3 or pcm.

Billing is per character of input text; the current rate is in the price table on this page, and you pay only for what you use. Hormouz provides stable access to it from inside Iran, with no foreign credit card or circumvention tooling required.

MAI-Voice-2 is an expressive text-to-speech model from Microsoft AI. It is suited for conversational assistants, media narration, accessibility, education, and other long-form voice applications. It supports 15 languages across 18...

Quickstart

curl https://api.hormouz.net/v1/audio/speech \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"microsoft/mai-voice-2","voice":"en-US-Harper:MAI-Voice-2","input":"Hello from Hormouz.","response_format":"mp3"}' \
  --output speech.mp3

Specs

VendorMicrosoft
TypeAudio
Context window—
Pricing$22/M characters
APIspeech

Code example

cURL
curl https://api.hormouz.net/v1/audio/speech \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"microsoft/mai-voice-2","voice":"en-US-Harper:MAI-Voice-2","input":"Hello from Hormouz.","response_format":"mp3"}' \
  --output speech.mp3
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
with client.audio.speech.with_streaming_response.create(
    model="microsoft/mai-voice-2",
    voice="en-US-Harper:MAI-Voice-2",
    input="Hello from Hormouz.",
    response_format="mp3",
) as resp:
    resp.stream_to_file("speech.mp3")
JavaScript
import OpenAI from "openai";
import { writeFile } from "node:fs/promises";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const speech = await client.audio.speech.create({
  model: "microsoft/mai-voice-2",
  voice: "en-US-Harper:MAI-Voice-2",
  input: "Hello from Hormouz.",
  response_format: "mp3",
});
await writeFile("speech.mp3", Buffer.from(await speech.arrayBuffer()));

Buy the Microsoft AI: MAI-Voice-2 API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Microsoft AI: MAI-Voice-2 and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does MAI-Voice-2 cost?
Billing is per character of input text; the current rate is in the price table on this page, and you pay only for what you use.
How do I use MAI-Voice-2 from inside Iran?
Create a Hormouz account and generate an API key. Hormouz gives you a stable route to the model from inside Iran, with no foreign credit card or circumvention tooling needed.
How do I call MAI-Voice-2?
Hormouz serves MAI-Voice-2 on two endpoints: the OpenAI-compatible /v1/audio/speech, which returns the audio in the same response, and /v1/predictions for background jobs. Set voice to one of the model's own voices, for example "en-US-Harper:MAI-Voice-2", and response_format to mp3 or pcm.
What is the difference between MAI-Voice-2 and MAI-Voice-2-Flash?
They share languages and voices. MAI-Voice-2 puts naturalness first for long-form content; MAI-Voice-2-Flash answers faster for interactive use, at a lower price per character.

Updated 2026-10-13