google logo
google

Google: Gemini 3.1 Flash TTS Preview

Descripción de la fuente (inglés)

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

Resumen

Especificaciones del modelo

Contexto
32.768 tokens
Salida máxima
16.384 tokens
Arquitectura
text->speech
Tokenizador
Gemini
Corte de conocimiento
No indicado
Moderado
No
OPENROUTER

Precios completos

Tarifas sincronizadas desde OpenRouter, por millón de tokens.

Entrada
$1
por millón de tokens de texto
Salida
$20
por millón de tokens de audio
API

Configuración del modelo

Voces compatibles

ZephyrPuckCharonKoreFenrirLedaOrusAoedeCallirrhoeAutonoeEnceladusIapetusUmbrielAlgiebaDespinaErinomeAlgenibRasalgethiLaomedeiaAchernarAlnilamSchedarGacruxPulcherrimaAchirdZubenelgenubiVindemiatrixSadachbiaSadaltagerSulafat
API

Inicio rápido

Configura OPENROUTER_API_KEY localmente. Python requiere requests; JavaScript se ejecuta en Node.js. Mantén la clave en el servidor.

Elige una voz compatible. Sustituye YOUR_VOICE_ID si no se indica ninguna voz.

Documentación de la API

curl --fail-with-body https://openrouter.ai/api/v1/audio/speech \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.1-flash-tts-preview","input":"Hello!","voice":"Zephyr","response_format":"mp3"}' \
  --output speech.mp3
Capacidades y modalidades

Entrada → Salida

Entrada
text
Salida
speech
API

Parámetros API compatibles

Proveedores disponibles

1 Proveedor

Verificado: 16 de septiembre de 2026

Proveedores en vivo en OpenRouter

Disponibilidad, latencia, rendimiento y enrutamiento cambian continuamente. Consulta la fuente para datos actuales.

OpenRouter

Google

No indicado
Contexto
33K
Salida máxima
16K
google

4 modelos

Todos los modelos
google logogoogle

Google: Gemini 4 Neon

Gemini 4 Neon is a fast, mid-priced model in the Gemini 4 family from Google, built for coding and agentic work. It is suited for repository and terminal coding, web...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $3Salida: $15por millón de tokens
Ver detalles del modelo →
google logogoogle

Google: Gemini 4 Neon (batch)

Gemini 4 Neon is a fast, mid-priced model in the Gemini 4 family from Google, built for coding and agentic work. It is suited for repository and terminal coding, web...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $1.5Salida: $7.5por millón de tokens
Ver detalles del modelo →
google logogoogle

Google: Gemini 4 Hydrogen

Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $1.5Salida: $7.5por millón de tokens
Ver detalles del modelo →
google logogoogle

Google: Gemini 4 Hydrogen (batch)

Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $0.75Salida: $3.75por millón de tokens
Ver detalles del modelo →