Create your first voice generations
First, you’ll need to obtain your API key from the Vogent dashboard.
This is a private API key; make sure to never expose it client-side.
Let’s start with a simple text-to-speech request:
After running the code above, you should have an audio file called my-first-voice.wav
. Play it to hear the generation!
Now let’s try the multispeaker feature to create a conversation:
For real-time applications, you can use WebSockets to stream text and receive audio chunks as they’re generated:
WebSocket streaming is perfect for:
Congratulations! You’ve successfully generated your first AI voices. Here’s what to explore next:
Learn about different AI models and their capabilities
Browse our complete voice library and cloning options
Detailed API documentation with all parameters
Discover advanced features like voice cloning and SSML
Create your first voice generations
First, you’ll need to obtain your API key from the Vogent dashboard.
This is a private API key; make sure to never expose it client-side.
Let’s start with a simple text-to-speech request:
After running the code above, you should have an audio file called my-first-voice.wav
. Play it to hear the generation!
Now let’s try the multispeaker feature to create a conversation:
For real-time applications, you can use WebSockets to stream text and receive audio chunks as they’re generated:
WebSocket streaming is perfect for:
Congratulations! You’ve successfully generated your first AI voices. Here’s what to explore next:
Learn about different AI models and their capabilities
Browse our complete voice library and cloning options
Detailed API documentation with all parameters
Discover advanced features like voice cloning and SSML