Skip to content

Text To Speech Client Get Service Metadata

This example assumes using Cartesia; is in scope and apiKey contains your Cartesia API key.

1
2
3
4
5
using var api = new CartesiaClient("dummy-key");
ITextToSpeechClient speechClient = api;

// Retrieve metadata about the text-to-speech provider.
var metadata = speechClient.GetService<TextToSpeechClientMetadata>();