Skip to main content
Google Gemini Google Gemini provides text-to-speech capabilities through its generative AI models, enabling natural voice synthesis directly from the Gemini API. Netra helps you trace TTS operations, monitor synthesis performance, and analyze usage patterns.

Installation

Usage

Initialize Netra before using Gemini audio APIs:

Examples

Text-to-Speech with Gemini

Track TTS generation using Netra decorators:

Manual Span Creation with Action Tracking

For detailed control over tracing:

Supported Models

Next Steps

Last modified on August 28, 2026