← heapsort
ARTICLE25

Building Dynamic Audio with Emotion & Pace: Gemini 3.1 Flash TTS, Angular & Firebase Cloud Functions

DEV.to AIΒ·May 2, 2026

This content describes migrating an application to the new Gemini 3.1 Flash TTS Preview model for AI audio generation, which supports expressive emotions and pace. The application uses Firebase AI Logic to analyze images, generate obscure facts, and convert them into expressive audio via Firebase Cloud Functions, streamed to an Angular app.

Read original β†—