MIMAI-Voice-2
Microsoft · Speech · priced by the request · 2 routes
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...
Model ID microsoft/mai-voice-2
Quick try
Quickstart · API, SDK & MCP
curl https://gizstack.com/v1/audio/speech \
-H "Authorization: Bearer $GIZSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "microsoft/mai-voice-2", "input": "Hello from GizStack."}' \
--output speech.wavimport requests
res = requests.post(
"https://gizstack.com/v1/generations",
headers={"Authorization": "Bearer $GIZSTACK_API_KEY"},
json={"model": "microsoft/mai-voice-2", "prompt": "A cinematic shot of a sunlit studio", "wait": 30},
)
print(res.json()) # outputs + drive_pathsclaude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
--header "Authorization: Bearer $GIZSTACK_API_KEY"Request fields
| Field | Values | Default |
|---|---|---|
| text | long | |
| instructions | long | |
| voice | en-US-Harper:MAI-Voice-2, es-MX-Valeria:MAI-Voice-2, fr-FR-Soleil:MAI-Voice-2, de-DE-Klaus:MAI-Voice-2 | en-US-Harper:MAI-Voice-2 |
| outputFormat | mp3, pcm | mp3 |
| speed | number | |
| inputReferences | files | |
| language | text |