Prerequisites
1
Sign Up & Get API Key
- Visit vox.timepay.ai and sign up for an account.
- Navigate to the API Keys tab.
- Create a new API Key and copy it immediately.
2
Set Environment Variable
It is best practice to keep your key secure. Export it in your terminal:
Generate Speech
Since Vox is designed for flexibility, you can interact with the API using any standard HTTP client.Note on Streaming: The endpoint streams audio data in chunks to ensure ultra-low latency. The examples below demonstrate how to capture this stream and save it to a file.

