Skip to main content
Cartesia Cartesia provides ultra-low latency text-to-speech (Sonic models) and speech-to-text (Ink models) capabilities. With first-byte latency as low as 40ms for TTS and real-time streaming for STT, Cartesia is ideal for conversational AI. Netra helps you track both TTS and STT operations, monitor performance metrics, and analyze usage patterns.

Installation

Usage

Initialize Netra before using Cartesia:

Examples

Text-to-Speech with Sonic Models

Track Cartesia TTS operations using Netra decorators:

Speech-to-Text with Ink Models

Track Cartesia STT operations using Netra decorators:

Manual Span Creation with Action Tracking

For detailed control over tracing with both TTS and STT:

Next Steps

Last modified on March 17, 2026