xai/grok-voice-tts

grok-voice-tts
文档
Schema

[Core Function] Grok Voice TTS converts text into natural spoken audio with expressive voices and optional speech tags embedded in the text. [Strengths] Supports 20+ languages (plus auto-detect), 26 built-in voices, multiple codecs (mp3/wav/pcm/mulaw/alaw), and custom voice IDs. [Best For] Product voiceovers, IVR/telephony (mulaw/alaw), and multilingual narration. [Limitations] Do NOT exceed 15,000 characters per request. Audio is returned on the completed task after polling. [Routing] Use this model for xAI Grok Voice quality or custom cloned voices. [Built-in voices] Original: eve (default), ara, leo, rex, sal. Flagship: altair, atlas, carina, castor, celeste, cosmo, helios, helix, iris, kepler, lumen, luna, lux, naksh, orion, perseus, rigel, sirius, ursa, zagan, zenith — case-insensitive; custom voice IDs are also accepted as voice_id.

$17.2500/M chars
text-to-speech

输入

Text to synthesize (max 15,000 characters). Supports inline speech tags such as [pause], [laugh], and wrapping tags like <whisper>...</whisper>.
BCP-47 language code, or auto for automatic detection.
language
Voice ID for synthesis. Built-in voices are listed below (26 total, case-insensitive). Custom voice IDs from your xAI voice library are also accepted.
MP3 bit rate in bps. Only applied when codec is mp3. Default 128000.
128000
Audio codec. Default mp3.
mp3
Latency vs quality trade-off: 0 best quality (default), 1 lower first-byte latency, 2 lowest first-byte latency.
0
Sample rate in Hz. Default 24000.
24000
Speech speed multiplier. Range 0.7–1.5. Default 1.0.
When true, normalize written-form text (numbers, abbreviations) before synthesis.

结果

暂无结果

运行模型后,结果将在这里显示。

Next:

README

属性

系列

参数

参数名 描述 类型 必填 枚举值
text Text to synthesize (max 15,000 characters). Supports inline speech tags such as [pause], [laugh], and wrapping tags like . string -
language BCP-47 language code, or auto for automatic detection. string auto, en, ar-EG, ar-SA, ar-AE, bn, zh, fr, de, hi, id, it, ja, ko, pt-BR, pt-PT, ru, es-MX, es-ES, tr, vi
voice_id Voice ID for synthesis. Built-in voices are listed below (26 total, case-insensitive). Custom voice IDs from your xAI voice library are also accepted. string -
bit_rate MP3 bit rate in bps. Only applied when codec is mp3. Default 128000. integer 32000, 64000, 96000, 128000, 192000
codec Audio codec. Default mp3. string mp3, wav, pcm, mulaw, alaw
optimize_streaming_latency Latency vs quality trade-off: 0 best quality (default), 1 lower first-byte latency, 2 lowest first-byte latency. integer 0, 1, 2
sample_rate Sample rate in Hz. Default 24000. integer 8000, 16000, 22050, 24000, 44100, 48000
speed Speech speed multiplier. Range 0.7–1.5. Default 1.0. number -
text_normalization When true, normalize written-form text (numbers, abbreviations) before synthesis. boolean true, false

价格

单位: $/M chars

价格
$17.2500/M chars

相关模型

  • xai/grok-voice-asr: [Core Function] Grok Voice ASR transcribes a single public audio URL into text via an async task. [Strengths] Word-level timestamps, optional speaker diarization, multichannel transcription, Inverse Text Normalization (format + language), keyterm biasing, and filler-word control. [Best For] Meeting notes, call-center recordings, captions, and batch audio-to-text pipelines. [Limitations] Do NOT use file upload; URL-only input. Do NOT use for live or real-time streaming transcription. Audio must be publicly reachable (max 500 MB). [Routing] Use this model for xAI Grok Voice ASR quality with URL-based audio.

相关资源