gemini-3.8-flash-tts API
gemini-3.8-flash-tts is a speech model from Google, available on OneFast API behind the same API key as every other model in the catalog.
Pricing
| Usage | Price (USD) |
|---|---|
| Input | $0.30 / 1M tokens |
| Output | $5.40 / 1M tokens |
Billed per 1M tokens, pay as you go in USD. Failed requests are not billed. The price shown is the public list price; after signing in, the console shows the price for your own account.
Model details
| Model ID | gemini-3.8-flash-tts |
| Provider | |
| Type | Audio |
Endpoints
POST /v1/audio/speech— Text-to-speech (docs)POST /v1beta/models/{model}:generateContent— Gemini native (docs)
Quickstart
Create an API key in the console, then call the API:
curl https://api.onefast.ai/v1/audio/speech \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.8-flash-tts",
"input": "Hello, and welcome to our service.",
"response_format": "wav"
}' --output speech.wavMore examples: Text-to-speech docs · Quickstart.