Skip to content

Google: gemini-3.8-flash-tts

Active on this gateway Audio

Gemini 3.8 Flash TTS is a text-to-speech model from Google and the successor to Gemini 3.1 Flash TTS Preview. It is the creative tier of the 3.8 TTS family, suited for narration, character work, and multi-speaker dialogue where voice fidelity, acting nuance, and regional dialect coverage matter more than latency.

It accepts the same speech configuration as its predecessor, including the 30 prebuilt studio voices, and supports Google's Voice Design (custom voices from a text description) and Voice Replication (voices cloned from a short sample) through voice_... identifiers.

AcceptsText
ProducesAudio

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Input 179,400 Toman$0,60 / 1M tokens ≈ 179,40 Toman / 1K tokens≈ $0,00060 / 1K tokens
Output 3,229,200 Toman$10,80 / 1M tokens ≈ 3,229,20 Toman / 1K tokens≈ $0,01080 / 1K tokens

Statistics

Live performance and usage of this model, aggregated across all users.

API

Turn text into speech and get the audio file back, using your API token.

POST https://apiex.cloud/api/v1/audio/speech
<?php
$ch = curl_init( "https://apiex.cloud/api/v1/audio/speech" );

curl_setopt_array( $ch, array(
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST           => true,
    CURLOPT_HTTPHEADER     => array(
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ),
    CURLOPT_POSTFIELDS     => json_encode( array(
        "model" => "google/gemini-3.8-flash-tts",
        "input" => "Hello! This is a test of the text-to-speech API.",
        "voice" => "alloy",
    ) ),
) );

file_put_contents( "speech.mp3", curl_exec( $ch ) ); // audio/mpeg, or audio/wav for some models

Authentication Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — you can set its rate limit and IP restrictions.

Supported parameters

Parameter Type Description
model string, required This model's ID, exactly as shown above.
input string, required The text to speak. Up to 4,000 characters.
voice string, optional The voice to use. Which voices exist depends on the model.

Frequently asked questions

What is gemini-3.8-flash-tts?

Gemini 3.8 Flash TTS is a text-to-speech model from Google and the successor to Gemini 3.1 Flash TTS Preview. It is the creative tier of the 3.8 TTS family, suited for narration, character work, and multi-speaker dialogue where voice fidelity, acting nuance, and regional dialect coverage matter more than latency.

It accepts the same speech configuration as its predecessor, including the 30 prebuilt studio voices, and supports Google's Voice Design (custom voices from a text description) and Voice Replication (voices cloned from a short sample) through voice_... identifiers.

How much does gemini-3.8-flash-tts cost?

Input tokens are priced at $0,60 per 1,000,000 tokens and output tokens at $10,80 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

What is the context length of gemini-3.8-flash-tts?

gemini-3.8-flash-tts supports a context window of up to 32,768 tokens.

Does gemini-3.8-flash-tts support image input?

gemini-3.8-flash-tts currently accepts text input only.

Which provider is gemini-3.8-flash-tts from?

gemini-3.8-flash-tts is developed by Google and made available on this gateway through our routing infrastructure.

When was gemini-3.8-flash-tts added to this gateway?

gemini-3.8-flash-tts has been available on this gateway since October 28, 2026.

Is gemini-3.8-flash-tts currently available?

Yes, gemini-3.8-flash-tts is active and can be used right now through this gateway.

Ready to build with one API?

Create an account, make a key and send your first request in a few minutes.

Create your account