Gemini 3.8 TTS returns WAV by default; Sume TTS returns MP3
Gemini 3.8 TTS unary requests return WAV with a RIFF header. Sume TTS 1.0 defaults to mp3 at 44100 Hz, so ask for wav when your pipeline needs it.

Sume TTS 1.0 returns an mp3 unless you say otherwise: output_format defaults to mp3 with sample_rate 44100 and bit_rate 128000. Gemini 3.8 TTS goes the other way for unary requests, returning a complete WAV with a RIFF header. If your code was saving Gemini output straight to .wav, set output_format.container to wav on Sume.
Gemini facts are from its speech-generation guide; Sume facts are from the API reference. Read 2026-10-01.
What does Gemini 3.8 return by default?
The guide says unary requests (stream=False) return complete audio/wav with a standard RIFF header at 24 kHz, mono, 16-bit signed little-endian PCM. Streaming requests return headerless raw linear PCM (audio/l16) by default.
| Item | Gemini 3.8 TTS | Sume TTS 1.0 |
|---|---|---|
| Default container | WAV (unary), raw L16 (streaming) | mp3 |
| Default sample rate | 24 kHz | 44100 Hz |
| Other formats | audio/l16, audio/mulaw, audio/alaw | wav, raw |
How do I get WAV from Sume?
Send output_format with container: "wav". The API reference also says to pass wav, pcm_s16le and 44100 explicitly when feeding avatar mux. One catch: per-sentence audio slices need wav or raw; for mp3, timings are returned without segment audio_url.
{
"output_format": {
"container": "wav",
"encoding": "pcm_s16le",
"sample_rate": 44100
}
}What should I do next?
Set the container explicitly in every request so a default never decides your format. For a longer look at the containers, read mp3 or wav for TTS sample rates.
Sources
Related posts
More in Developers
- Gemini TTS reads stage directions aloud: Sume emotion field
Gemini 3.8 TTS speaks its text field verbatim, so style goes in speech_metadata. On Sume, keep the transcript clean and put delivery in generation_config.
- Gemini API file size limit: 2GB per file, 20GB storage
Gemini's rate-limits page lists a 2GB input file limit and 20GB file storage under Batch API limits. Sume takes public HTTPS URLs instead of uploaded files.
- Gemini Batch API rate limits vs Sume's 100-run bulk queue
Gemini Batch API allows 100 concurrent batch requests and a 2GB input file. Sume bulk runs queue up to 100 Format runs with concurrency 1 to 16.
- Gemini image_size 1k rejected: use 1K, and Sume resolution tiers
Gemini rejects a lowercase image_size such as 1k; use an uppercase K. Sume's images API takes a resolution tier, and only values the model lists.
Written by Sume