xAI: Grok Voice TTS 1.0

Coming soonQuick Start

Grok Voice TTS 1.0 is xAI's text-to-speech model, released 2026-05, for converting text into natural spoken audio. It supports 20+ languages with automatic detection and five built-in voices, with inline tags for controlling pauses, emphasis, pitch, speed, and style. Output formats include MP3, WAV, PCM, and μ-law at sample rates from 8 to 48 kHz.

This model is not routed on MirAPI yet — prices shown are the official list prices. Create an account to get notified when it goes live.

Modalities
inTextoutAudio
Price / 1M
$15.00 /
Context
15K
Knowledge cutoff

Capabilities

Structured output

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="x-ai/grok-voice-tts-1.0",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Grok Voice TTS 1.0 into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free