MAI-Voice-2: toman pricing and API
Text to speech · microsoft/mai-voice-2
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", voice="<voice>", input="سلام! به یوتاپن خوش آمدید.")
audio.write_to_file("hello.mp3")Maker's own description
MAI-Voice-2 is an expressive text-to-speech model from Microsoft AI. It is suited for conversational assistants, media narration, accessibility, education, and other long-form voice applications. It supports 15 languages across 18...