PopNowAPI Docs
Main content

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
Google
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

OptionUSD
Default$0.00021 per second of output

Parameters

FieldTypeDefaultAllowedWhat it does
textOptionalstring—up to 10,000 charactersWords to speak, up to 10,000 characters. Native inline cues include <laugh>, <sigh> and <short pause>.
dialogueOptionalarray<object>—up to 20 itemsA scripted conversation, used instead of text: each line names a speaker from speakers.
speakersOptionalarray<object>—up to 2 itemsThe cast for dialogue: one or two voices, each with a name the lines refer to.
voice_idOptionalstringKoreAchernar, 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.
styleOptionalstring—whisper, empathetic, vocal_smile, newscaster, promo_hype, deadpanOverall manner of the reading. Omit it to use the voice's own default manner.
paceOptionalstring—natural, rapid_fire, the_drift, staccatoRhythm of the reading. Omit it to keep the voice's own rhythm.
accentOptionalstring—neutral, american_general, american_valley, american_south, british_rp, british_brixton, transatlantic, australianEnglish accent used for the reading.
instructionsOptionalstring—up to 1,000 charactersHow to read the text: mood, distance from the microphone, who is listening. Shapes the delivery and is not spoken.
sceneOptionalstring—up to 500 charactersWhere and to whom the words are spoken. Shapes the delivery and is not spoken.
filler_wordsOptionalbooleanfalse—Allow filler words in a two-speaker conversation. Has no effect on single-speaker requests.
temperatureOptionalnumber—0 to 2Variation 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.

POST /api/v1/jobs/createTask?wait=60
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.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Next steps

On this page