← All models
Microsoft AI · Voice model
MAI-Voice-2.1-Flash
microsoft/mai-voice-2.1-flash- Voice
MAI-Voice-2.1-Flash is a low-latency text-to-speech model from Microsoft AI, optimized for real-time responsiveness. It produces natural, expressive speech across 23 languages, with human-like intonation, rhythm, and emotional nuance. It is...
Specifications
- Input
- text, up to 20,000 characters per call
- Output
- mp3 (default) or raw pcm
- Voice
- `voice`, default cs-CZ-Grant:MAI-Voice-2.1-Flash · cs-CZ-Grant:MAI-Voice-2.1-Flash, cs-CZ-Harper:MAI-Voice-2.1-Flash, da-DK-Grant:MAI-Voice-2.1-Flash, da-DK-Harper:MAI-Voice-2.1-Flash, de-DE-Grant:MAI-Voice-2.1-Flash, de-DE-Harper:MAI-Voice-2.1-Flash, de-DE-Klaus:MAI-Voice-2.1-Flash, de-DE-Mia:MAI-Voice-2.1-Flash, en-AU-Isla:MAI-Voice-2.1-Flash, en-GB-Emily:MAI-Voice-2.1-Flash, en-GB-Harry:MAI-Voice-2.1-Flash, en-IN-Dhruv:MAI-Voice-2.1-Flash, … (97 in all)
- 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.1-flash","input":"Hello from OmniRail. Every model, one key.","response_format":"mp3"}' \
--output hello.mp3