GizStackGizStackGizStack
Sign inStart free

← All models

GOGemini 3.1 Flash TTS Preview

Google · Speech · priced by the request · 1 route

Gemini 3.1 Flash TTS Preview is a text-to-speech model from Google, and a substantial generational step up from Gemini 2.5 Flash TTS. It takes text input and produces audio output...

Model ID google/gemini-3.1-flash-tts-preview

Quick try

Quickstart · API, SDK & MCP

sh
curl https://gizstack.com/v1/audio/speech \
  -H "Authorization: Bearer $GIZSTACK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/gemini-3.1-flash-tts-preview", "input": "Hello from GizStack."}' \
  --output speech.wav
python
import requests

res = requests.post(
    "https://gizstack.com/v1/generations",
    headers={"Authorization": "Bearer $GIZSTACK_API_KEY"},
    json={"model": "google/gemini-3.1-flash-tts-preview", "prompt": "A cinematic shot of a sunlit studio", "wait": 30},
)
print(res.json())  # outputs + drive_paths
sh
claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
  --header "Authorization: Bearer $GIZSTACK_API_KEY"

Request fields

FieldValuesDefault
textlong
voiceZephyr, Puck, Charon, Kore, Fenrir, Leda, Orus, Aoede, Callirrhoe, Autonoe, Enceladus, Iapetus, Umbriel, Algieba, Despina, Erinome, Algenib, Rasalgethi, Laomedeia, Achernar, Alnilam, Schedar, Gacrux, Pulcherrima, Achird, Zubenelgenubi, Vindemiatrix, Sadachbia, Sadaltager, SulafatZephyr
outputFormatmp3, pcmmp3
speednumber
inputReferencesfiles