We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Microsoft AI: MAI-Voice-2-Flash

microsoft/mai-voice-2-flash
SpeechInput: textAdded Jul 23, 2026

Try Microsoft AI: MAI-Voice-2-Flash now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account
input_references
0/3
reference_transcript

Results will appear here.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

Microsoft AI: MAI-Voice-2-Flash at a glance

  • Input price is close to the median of 34 Speech models.

About Microsoft AI: MAI-Voice-2-Flash

MAI-Voice-2-Flash is a text-to-speech model from Microsoft AI, released by the provider on 23 July 2026. It sits in the speech category and is built specifically for low-latency voice generation, which places it in the same family of workloads as voice agents, assistants, call centres, accessibility tools and narration rather than in the general-purpose text or vision space. If you are building anything that needs to turn written input into spoken output in real time, this is the kind of model Microsoft intends you to reach for.

The model takes text as its only input and produces speech as its only output. The speech it generates is expressive, 24 kHz mono audio, which is a reasonable quality point for interactive applications where intelligibility and natural pacing matter more than studio-grade production. The provider describes coverage across 15 languages, and four voices are exposed for use: en-US-Harper, es-MX-Valeria, fr-FR-Soleil and de-DE-Klaus, all under the MAI-Voice-2 voice family. No context length is published for this model, so you should treat prompt sizing as something to validate against your own inputs rather than assume a documented ceiling.

The practical uses follow directly from that shape. A voice agent or assistant can take a text response from your pipeline and speak it back to the user with low delay, which is the difference between a conversation that feels responsive and one that feels broken. Call centre and IVR flows can generate prompts, confirmations and dynamic responses on the fly instead of relying on a fixed library of pre-recorded clips. Accessibility tools can read content aloud in a chosen language and voice. Narration for short-form or interactive content is also viable, though the four listed voices and the 24 kHz mono output define the range you are working within.

You call it through api14's OpenAI-compatible API using the model id "microsoft/mai-voice-2-flash". Because the endpoint follows the OpenAI schema, you can point an existing OpenAI client at api14 and send a request in the usual way, with the model id as the model field and your text as the input. The model reports no supported request parameters beyond that, so there is no documented sampling, temperature or similar tuning surface to configure. Voice selection is the main control you have, drawn from the four voices listed above. Check the live price table on the page for current rates.

One limit worth noting before you commit: this model outputs speech only, so it will not return text, structured data or images, and it is not a fit for transcription or speech-to-text work. If your task is generating written content, reasoning over documents or handling multimodal input, a text or vision model is the better choice. Within its lane, though, MAI-Voice-2-Flash is a focused option for latency-sensitive speech generation across the languages and voices Microsoft has published.

How to call the Microsoft AI: MAI-Voice-2-Flash API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "microsoft/mai-voice-2-flash".
import { writeFile } from "node:fs/promises";
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const audio = await client.audio.speech.create({
  "model": "microsoft/mai-voice-2-flash",
  "input": "Hello from api14! One API for every model.",
  "voice": "alloy",
  "response_format": "mp3"
});
await writeFile("speech.mp3", Buffer.from(await audio.arrayBuffer()));

Specifications

Input
text
Output
speech
Voices
4

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

Microsoft AI: MAI-Voice-2-Flash: frequently asked questions

How much does the Microsoft AI: MAI-Voice-2-Flash API cost?
Microsoft AI: MAI-Voice-2-Flash costs Characters $52.50 / 1M characters. It is charged from your USD balance only for successful requests; failed requests are free.
What can Microsoft AI: MAI-Voice-2-Flash do?
Microsoft AI: MAI-Voice-2-Flash accepts text and returns speech.
How do I call Microsoft AI: MAI-Voice-2-Flash from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "microsoft/mai-voice-2-flash". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Microsoft AI: MAI-Voice-2-Flash?
Comparable Speech models at a similar price: HeyGen: HeyGen Voice, Microsoft AI: MAI-Voice-2.1-Flash, Fish Audio: S1. Each runs through the same API key, so switching is one string.

Microsoft AI: MAI-Voice-2-Flash community

New topic

This community has no topics yet. Open the first one about Microsoft AI: MAI-Voice-2-Flash.