Google & Gemini
Gemini Text to Speech
Synthesize natural speech using Gemini 3.8 Flash, Chirp HD, and Journey.
Submit speech requests via POST /v1/text-to-speech or the OpenAI-compatible POST /v1/audio/speech.
Parameters
| Field | Type | Description |
|---|---|---|
params.voiceDefault Puck | string | Prebuilt Gemini voice: Puck, Charon, Kore, Fenrir, or Aoede. |
params.languageDefault en-US | string | Language tag (e.g. en-US, hi-IN, es-ES, fr-FR, de-DE, ja-JP). |
params.speedDefault 1.0 | number | Speaking rate multiplier from 0.5 to 2.0. |
params.style_prompt | string | Text-guided emotion or prosody modifier (e.g. cheerful narrator, calm host). |
params.output_formatDefault wav (flac for stems) | string | wav, flac, mp3, or model (the model native file). |
params.output_sample_rateDefault source | string or integer | source keeps the upload (or the model rate when there is no upload). model uses the model native rate. Or pass 8000, 16000, 22050, 24000, 32000, 44100, or 48000. |
params.output_channelsDefault source | string | source, model, mono, or stereo. Applied after inference, not before. |
Code example
curl https://api.pascalai.co/v1/text-to-speech \
-H "Authorization: Bearer $PASCAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "gemini-3.8-flash-tts",
"text": "The weather in San Francisco today is sunny and mild.",
"params": {
"voice": "Puck",
"speed": 1,
"style_prompt": "conversational and warm radio host"
}
}'
curl https://api.pascalai.co/v1/text-to-speech/$JOB_ID \
-H "Authorization: Bearer $PASCAL_API_KEY"Models
gemini-3.8-flash-ttsMultimodal speech synthesis on Gemini 3.8 Flash. 25 prebuilt voices across 10+ languages with text-guided expressivity.gemini-3.8-flash-lite-ttsUltra-low-cost Gemini speech synthesis designed for high-throughput batch and interactive generation.google-chirp-hdGoogle Studio & Chirp HD neural voices across 50+ languages with speed and pitch control.google-tts-journeyConversational Journey voices trained for spontaneous, natural dialogue.