provider text-to-voice GET
/v1/text-to-voice/{generated_voice_id}/stream @utdk/elevenlabs
/v1/text-to-voice/{generated_voice_id}/stream Text To Voice Preview Streaming
Stream a voice preview that was created via the /v1/text-to-voice/design endpoint.
- generated_voice_id path required
- The generated_voice_id to stream.
- string
- xi-api-key header
- Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.textToVoicePreviewStream()