MAI-Voice-2.1-Flash: toman pricing and API
Text to speech · microsoft/mai-voice-2.1-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.1-flash", voice="<voice>", input="سلام! به یوتاپن خوش آمدید.")
audio.write_to_file("hello.mp3")Maker's own description
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...