Gemini Speech Preview Dies Nov. 17, and Its Successor Returns WAV Firebase AI Logic's preview text-to-speech model gemini-3.1-flash-tts-preview shuts down Nov. 17, and Firebase's Nov. 11 release notes direct apps to migrate to the stable gemini-3.8-flash-tts or gemini-3.8-flash-lite-tts models. The migration changes prompt format — delivery style moves into SpeechMetadata.style on each TextPart, multi-speaker scripts become one TextPart per turn with a speaker, and square-bracket tags like [sigh] become angle-bracket tags like — while unary generateContent responses now return a complete WAV file with a 44-byte RIFF header instead of headerless raw PCM at 24 kHz, mono, 16-bit, and systemInstruction, temperature, topP, topK, candidateCount, presencePenalty and frequencyPenalty are rejected with 400 INVALID_ARGUMENT. Google's Gemini API deprecations page lists the same Nov. 17 date for gemini-2.5-flash-preview-tts and gemini-2.5-pro-preview-tts and retires the gemini-3.1-flash-live-preview and gemini-2.5-flash-native-audio-preview-12-2025 Live API previews in favor of gemini-3.8-live. Gemini Speech Preview Dies Nov. 17, and Its Successor Returns WAV Swap the model name, move voice styles out of prompts and stop adding WAV headers before Nov. 17, when Firebase AI Logic's TTS preview shuts down. Firebase AI Logic apps that generate speech with gemini-3.1-flash-tts-preview have until Nov. 17 to move to a new model, and the move changes how prompts are written and what audio comes back. Firebase announced the shutdown in its Nov. 11 release notes Firebase release notes, Nov. 11, 2026 https://firebase.google.com/support/releases , alongside support for the stable gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts models. Key Takeaways - The preview text-to-speech model shuts down Nov. 17. Firebase said apps using it should update the model name, prompt format and audio handling before that date. - Unary requests now return a complete WAV file instead of headerless raw PCM. Streaming still returns raw PCM. - Voice styles move out of the prompt text, and systemInstruction , temperature and other sampling settings now fail with a 400 error. What Changes Firebase added text-to-speech to AI Logic on July 30, with gemini-3.1-flash-tts-preview as the model its client SDKs could call directly. The Nov. 11 notes replace it with the two 3.8 models, which Firebase said support more than 100 languages, 30 core prebuilt voices and multi-speaker dialogue. The migration guide in Firebase’s speech-generation docs lists the changes: - Model name: replace the preview name with gemini-3.8-flash-tts or gemini-3.8-flash-lite-tts . - Prompt format: delivery style goes into SpeechMetadata.style on each TextPart . Multi-speaker scripts become one TextPart per turn, each with a speaker . Square-bracket tags such as sigh become angle-bracket tags such as