Gemini 3.8 Flash-Lite TTS API reference
Fast, lightweight speech in 70 voices
Call Gemini 3.8 Flash-Lite TTS from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.
At a glance
- Made by
- Output
- Audio
- From
- $0.00021 USD per second of output
- Typical time
- about 26 s
Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.
Text to Speech
google/gemini-3.8-flash-lite-tts/text-to-speech
Price
| Option | USD |
|---|---|
Default | $0.00021 per second of output |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
textOptional | string | — | up to 10,000 characters | Words to speak, up to 10,000 characters. Native inline cues include <laugh>, <sigh> and <short pause>. |
dialogueOptional | array<object> | — | up to 20 items | A scripted conversation, used instead of text: each line names a speaker from speakers. |
speakersOptional | array<object> | — | up to 2 items | The cast for dialogue: one or two voices, each with a name the lines refer to. |
voice_idOptional | string | Kore | Achernar, Achird, Algenib, Algieba, Alnilam, Aoede, Arlo, Autonoe, Bodi, Brio, Callirrhoe, Charon, Cleo, Cruz, … (+56) | Prebuilt voice that reads the text. Each voice has a fixed character. |
styleOptional | string | — | whisper, empathetic, vocal_smile, newscaster, promo_hype, deadpan | Overall manner of the reading. Omit it to use the voice's own default manner. |
paceOptional | string | — | natural, rapid_fire, the_drift, staccato | Rhythm of the reading. Omit it to keep the voice's own rhythm. |
accentOptional | string | — | neutral, american_general, american_valley, american_south, british_rp, british_brixton, transatlantic, australian | English accent used for the reading. |
instructionsOptional | string | — | up to 1,000 characters | How to read the text: mood, distance from the microphone, who is listening. Shapes the delivery and is not spoken. |
sceneOptional | string | — | up to 500 characters | Where and to whom the words are spoken. Shapes the delivery and is not spoken. |
filler_wordsOptional | boolean | false | — | Allow filler words in a two-speaker conversation. Has no effect on single-speaker requests. |
temperatureOptional | number | — | 0 to 2 | Variation between takes; higher is less predictable. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/gemini-3.8-flash-lite-tts/text-to-speech",
"input": {
"text": "Hi there! This voice was created with the PopNow API in just a few seconds."
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
