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

# Gemini 3.1 Flash TTS API

> Gemini 3.1 Flash TTS API on Venice: text to speech with 30 voices at $188 per 1M characters (about $0.1547 per minute). Anonymized access without your identity.



## Gemini 3.1 Flash TTS API

Gemini 3.1 Flash TTS is a text-to-speech model by Google, available on the Venice API as `tts-gemini-3-1-flash`. The provider of this model may retain prompt data (though it is anonymized by Venice). For sensitive content, use a private model.

Gemini 3.1 Flash TTS is Google's Gemini-based speech model, which follows natural-language instructions for tone and pacing. It offers 30 voices and returns MP3, Opus or WAV audio.

### Gemini 3.1 Flash TTS API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `tts-gemini-3-1-flash` | Standard | Anonymized | \$188 / 1M chars |

### Gemini 3.1 Flash TTS specifications

| Spec | Value |
| - | - |
| Provider | Google |
| Released | Apr 20, 2026 |
| Privacy | Anonymized |
| Status | Stable |
| Voices | 30 |
| Formats | mp3, opus, wav |

### How to use the Gemini 3.1 Flash TTS API

Send requests to `POST https://api.venice.ai/api/v1/audio/speech` with `"model": "tts-gemini-3-1-flash"` 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-gemini-3-1-flash",
    "input": "Private AI for everyone.",
    "voice": "Achernar",
    "response_format": "mp3"
  }' --output speech.mp3
```

### Related models

* [MiniMax Speech-02 HD API](https://docs.venice.ai/models/minimax-speech-02-hd.md): \$125 / 1M chars
* [ElevenLabs Multilingual v2 API](https://docs.venice.ai/models/elevenlabs-multilingual-v2.md): \$115 / 1M chars
* [ElevenLabs TTS v3 API](https://docs.venice.ai/models/elevenlabs-tts-v3.md): \$115 / 1M chars
* [Qwen 3 TTS 1.7B API](https://docs.venice.ai/models/qwen-3-tts-1-7b.md): \$113 / 1M chars


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