All models

Google: Gemini 3.1 Flash TTS

google/gemini-3.1-flash-tts-preview
speech

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. 30 voices, style control inline (e.g. [calm]), 32K context.

Pricing

1K chars
Voice sample

Parameters

inputrequired
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 · Sulafat

How to use via API

from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.audio.speech.create(
model="google/gemini-3.1-flash-tts-preview",
voice="Zephyr", # Zephyr, Puck, Charon, Kore, Fenrir...
input="Привет! Это Mixen AI.",
)
resp.stream_to_file("speech.mp3")
Try in the botAPI docs