google logo
google

Google: Gemini 3.1 Flash TTS Preview

Descrição da fonte (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...

Visão geral

Especificações do modelo

Contexto
32.768 tokens
Saída máxima
16.384 tokens
Arquitetura
text->speech
Tokenizador
Gemini
Limite de conhecimento
Não informado
Moderado
Não
OPENROUTER

Preços completos

Tarifas sincronizadas do OpenRouter, por milhão de tokens.

Entrada
$1
por milhão de tokens de texto
Saída
$20
por milhão de tokens de áudio
API

Configuração do modelo

Vozes compatíveis

ZephyrPuckCharonKoreFenrirLedaOrusAoedeCallirrhoeAutonoeEnceladusIapetusUmbrielAlgiebaDespinaErinomeAlgenibRasalgethiLaomedeiaAchernarAlnilamSchedarGacruxPulcherrimaAchirdZubenelgenubiVindemiatrixSadachbiaSadaltagerSulafat
API

Início rápido

Defina OPENROUTER_API_KEY localmente. Python requer requests; JavaScript roda em Node.js. Mantenha a chave no servidor.

Escolha uma voz compatível. Substitua YOUR_VOICE_ID se nenhuma voz estiver listada.

Documentação da 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
Recursos e modalidades

Entrada → Saída

Entrada
text
Saída
speech
API

Parâmetros de API compatíveis

Provedores disponíveis

1 Provedor

Verificado: 16 de setembro de 2026

Provedores ao vivo no OpenRouter

Disponibilidade, latência, throughput e roteamento mudam continuamente. Consulte a fonte para dados atuais.

OpenRouter

Google

Não informado
Contexto
33K
Saída máxima
16K
google

4 modelos

Todos os 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
Saída
text
Entrada: $3Saída: $15por milhão de tokens
Ver detalhes do 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
Saída
text
Entrada: $1.5Saída: $7.5por milhão de tokens
Ver detalhes do 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
Saída
text
Entrada: $1.5Saída: $7.5por milhão de tokens
Ver detalhes do 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
Saída
text
Entrada: $0.75Saída: $3.75por milhão de tokens
Ver detalhes do modelo →