> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# xAI TTS v1 API

> Venice 上的 xAI TTS v1 API：文本转语音，提供 26 种声音，每 1M 字符 $18.75（约每分钟 $0.0155）。匿名访问，不暴露你的身份。

> [accordion] 纯文本规格说明
>
> ## xAI TTS v1 API
>
> xAI TTS v1 是 xAI 推出的文本转语音模型，可通过 Venice API 以 `tts-xai-v1` 调用。请求经过匿名化处理，提供商永远不会看到你的身份。
>
> ### xAI TTS v1 API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `tts-xai-v1` | 标准 | Anonymized | \$18.75 / 1M 字符 |
>
> ### xAI TTS v1 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | xAI |
> | 发布日期 | 2026年4月17日 |
> | 隐私 | Anonymized |
> | 状态 | 稳定 |
> | 音色 | 26 |
> | 格式 | mp3, wav, pcm |
>
> ### 如何使用 xAI TTS v1 API
>
> 使用 `"model": "tts-xai-v1"` 和您的 API 密钥向 `POST https://api.venice.ai/api/v1/audio/speech` 发送请求。
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/audio/speech \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "tts-xai-v1",
>     "input": "Private AI for everyone.",
>     "voice": "altair",
>     "response_format": "mp3"
>   }' --output speech.mp3
> ```
>
> ### 相关模型
>
> * [Inworld TTS-1.5 Max API](https://docs.venice.ai/zh/models/inworld-tts-1-5-max.md): \$12.50 / 1M 字符
> * [Chatterbox HD (Resemble AI) API](https://docs.venice.ai/zh/models/chatterbox-hd.md): \$50.00 / 1M 字符
> * [Gradium TTS API](https://docs.venice.ai/zh/models/gradium-tts.md): \$47.50 / 1M 字符
> * [ElevenLabs TTS v4 Turbo API](https://docs.venice.ai/zh/models/elevenlabs-tts-v4-turbo.md): \$46.00 / 1M 字符


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.