MAI-Voice-2-Flash: toman pricing and API
Text to speech · microsoft/mai-voice-2-flash
5,193toman per 1,000 characters
You see the exact estimate before each run and an amount is held; afterwards only the real cost is charged, and a failed run is free.
API example
python
from openai import OpenAI
client = OpenAI(base_url="https://api.uttapen.ir/v1", api_key="sk-up-...")
audio = client.audio.speech.create(model="microsoft/mai-voice-2-flash", voice="<voice>", input="سلام! به یوتاپن خوش آمدید.")
audio.write_to_file("hello.mp3")Maker's own description
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...