> ## 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.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# xAI TTS v1 API

> xAI TTS v1 API on Venice: text to speech with 26 voices at $18.75 per 1M characters (about $0.0155 per minute). Private, with zero data retention.



## xAI TTS v1 API

xAI TTS v1 is a text-to-speech model by xAI, available on the Venice API as `tts-xai-v1`. This model is private and no prompt data is stored in any capacity.

xAI TTS v1 is xAI's text-to-speech model, made for narration, assistants and voice apps. It offers 26 voices and returns MP3, WAV or PCM audio.

### xAI TTS v1 API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `tts-xai-v1` | Standard | Private | \$18.75 / 1M chars |

### xAI TTS v1 specifications

| Spec | Value |
| - | - |
| Provider | xAI |
| Released | Apr 17, 2026 |
| Privacy | Private |
| Status | Stable |
| Voices | 26 |
| Formats | mp3, wav, pcm |

### How to use the xAI TTS v1 API

Send requests to `POST https://api.venice.ai/api/v1/audio/speech` with `"model": "tts-xai-v1"` and your API key.

```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
```

### Related models

* [Inworld TTS-1.5 Max API](https://docs.venice.ai/models/inworld-tts-1-5-max.md): \$12.50 / 1M chars
* [Chatterbox HD (Resemble AI) API](https://docs.venice.ai/models/chatterbox-hd.md): \$50.00 / 1M chars
* [Gradium TTS API](https://docs.venice.ai/models/gradium-tts.md): \$47.50 / 1M chars
* [ElevenLabs TTS v4 Turbo API](https://docs.venice.ai/models/elevenlabs-tts-v4-turbo.md): \$46.00 / 1M chars


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