Skip to content
Language: English (United States)

MAI-Voice-2

MAI-Voice-2 is an expressive text-to-speech model from Microsoft AI.

Context Window
—
In
—per million tokens
Out
—per million tokens

Microsoft

Model IDmicrosoft/mai-voice-2

Specifications

Modalities
speech
Price
No published rate
Model ID
microsoft/mai-voice-2

Quick start

microsoft/mai-voice-2

No published rate

TypeScript
import OpenAI from 'openai'
 
const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})
 
const response = await client.chat.completions.create({
  model: 'microsoft/mai-voice-2',
  messages: [{ role: 'user', content: 'Hello!' }]
})
 
console.log(response.choices[0].message.content)
Get an API key →

Use MAI-Voice-2 via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.