Skip to content
OmniRail
← All models

Microsoft AI · Voice model

MAI-Voice-2-Flash

microsoft/mai-voice-2-flash
  • Voice
Released Jul 23, 2026

MAI-Voice-2-Flash is a low-latency text-to-speech model from Microsoft AI for voice agents, assistants, call centers, accessibility, narration, and other interactive applications. It generates expressive 24 kHz mono speech across 15...

Specifications

Input
text, up to 20,000 characters per call
Output
mp3 (default) or raw pcm
Voice
`voice`, default en-US-Harper:MAI-Voice-2 · en-US-Harper:MAI-Voice-2, es-MX-Valeria:MAI-Voice-2, fr-FR-Soleil:MAI-Voice-2, de-DE-Klaus:MAI-Voice-2
Billing
per character of input text

Use it

POST /api/v1/audio/speech · MCP speak · full reference

curl https://omnirail.org/api/v1/audio/speech \
  -H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
  -d '{"model":"microsoft/mai-voice-2-flash","input":"Hello from OmniRail. Every model, one key.","response_format":"mp3"}' \
  --output hello.mp3