Stream a short audio preview of a specific TTS voice from a given provider.
x-api-key header to authenticate this request.providerId: The ID of the provider hosting the voice (e.g., elevenlabs, cartesia).url: The exact URL of the preview audio file. You can find this URL inside the previewUrl field when querying the List Provider Voices endpoint.The internal ID of the TTS provider hosting the voice.
cartesia, elevenlabs, deepgram, inworld, rime, sarvam "elevenlabs"
The specific preview URL for the voice (typically obtained from the tts-voices or realtime-options endpoints).
"https://example.com/audio/voice_sample.wav"
Audio bytes streamed successfully with the provider's content-type.
The raw binary audio stream of the voice preview.