Gemini 3.8 Flash Lite TTS
google/gemini-3.8-flash-lite-ttsGemini 3.8 Flash Lite TTS by Google turns text into expressive speech with 30 prebuilt voices and natural-language style direction.
- Prezzo base
- $0.03USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 3
Prova il modello
Playground
Cosa vuoi fare dopo?
Esempi
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
- Apri risultato ↗
Input
{ "prompt": "Have a wonderful day!" }
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.03 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- ID modello
- google/gemini-3.8-flash-lite-tts
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Gemini 3.8 Flash Lite TTS
Gemini 3.8 Flash Lite TTS: the lower-cost Gemini voice model, with the same 30 prebuilt voices and natural-language style direction.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text to speak. |
style_instructions | string | — | How to say it, e.g. “calm newsreader”. |
voice | Achernar / Achird / Algenib / Algieba / Alnilam / Aoede / Autonoe / Callirrhoe / Charon / Despina / Enceladus / Erinome / Fenrir / Gacrux / Iapetus / Kore / Laomedeia / Leda / Orus / Pulcherrima / Puck / Rasalgethi / Sadachbia / Sadaltager / Schedar / Sulafat / Umbriel / Vindemiatrix / Zephyr / Zubenelgenubi | Kore | Prebuilt voice. |
Billing
$0.03 per started 1,000 characters of text, with a one-unit minimum.
| Text | Price |
|---|---|
| 200 characters | $0.03 |
| 1,000 characters | $0.03 |
| 2,500 characters | $0.09 |
Failed runs are not charged.
Prompting
- Keep style direction short and concrete.
Limits
- Single speaker per request.
Also on SandBase
Related: google/gemini-3.8-flash-tts (higher quality), google/gemini-3.1-flash-tts (multi-speaker).
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "google/gemini-3.8-flash-lite-tts",
"voice": "Kore",
"prompt": "Have a wonderful day!",
"style_instructions": "cheerful and friendly"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Schema di input
3 parametri · 1 obbligatori · 2 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
prompt | string | Obbligatorio | Verbatim text to speak. Put delivery directions in style_instructions; inline vocal events may use <laugh> or <sigh>. The provider limits the complete input to 8,192 tokens. · Lunghezza minima: 1 |
voice | string | Facoltativo | Prebuilt voice for single-speaker speech. · Opzioni: Achernar, Achird, Algenib, Algieba, Alnilam, Aoede, Autonoe, Callirrhoe, Charon, Despina, Enceladus, Erinome, Fenrir, Gacrux, Iapetus, Kore, Laomedeia, Leda, Orus, Pulcherrima, Puck, Rasalgethi, Sadachbia, Sadaltager, Schedar, Sulafat, Umbriel, Vindemiatrix, Zephyr, Zubenelgenubi · Predefinito: "Kore" AchernarAchirdAlgenibAlgiebaAlnilamAoedeAutonoeCallirrhoeCharonDespinaEnceladusErinomeFenrirGacruxIapetusKoreLaomedeiaLedaOrusPulcherrimaPuckRasalgethiSadachbiaSadaltagerSchedarSulafatUmbrielVindemiatrixZephyrZubenelgenubi |
style_instructions | string | Facoltativo | Delivery style, separate from the spoken transcript. |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
Gemini 3.8 Flash Lite TTSQuesto modello Google | Audio | $0.03 / esecuzione | 25 set 2026 |
Google | Audio | $0.04 / esecuzione | 25 set 2026 |
Google | Audio | $0.10 / esecuzione | 15 set 2026 |
Google | Audio | $0.05 / esecuzione | 16 apr 2026 |
Google | Audio | $0.08 / esecuzione | 30 mar 2026 |
Google | Audio | $0.04 / esecuzione | 30 mar 2026 |
Domande
FAQ
Come chiamo Google Gemini 3.8 Flash Lite TTS tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "google/gemini-3.8-flash-lite-tts" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account Google separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a Google Gemini 3.8 Flash Lite TTS e agli altri modelli del catalogo; non è necessario registrarsi separatamente su Google.
