MAI-Voice-2.1: toman pricing and API
Text to speech · microsoft/mai-voice-2.1
7,617toman 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", voice="<voice>", input="سلام! به یوتاپن خوش آمدید.")
audio.write_to_file("hello.mp3")Maker's own description
MAI-Voice-2.1 is Microsoft AI's highest-fidelity, most expressive text-to-speech model. It produces natural, studio-grade speech across 23 languages, with detailed prosody, nuanced expressiveness, and speaker consistency over long-form content. It is...