Grok Voice TTS 1.0: toman pricing and API

Text to speech · x-ai/grok-voice-tts-1.0

Price
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="x-ai/grok-voice-tts-1.0", voice="<voice>", input="سلام! به یوتاپن خوش آمدید.")
audio.write_to_file("hello.mp3")
Maker's own description

Grok Voice TTS 1.0 is a text-to-speech model from SpaceXAI. It converts text into spoken audio across 20+ languages with automatic language detection, and offers five built-in voices (Eve, Ara,...