Skip to main content
In this tutorial, you will learn how to use the Vox platform to synthesize text to speech both synchronously and asynchronously. By the end of this tutorial, you will be able to convert text into speech using our API.

Requirements

Before you begin, ensure you have:
  • Nodejs
  • A Vox API Key
  • Basic understanding of HTTP and JSON

API Endpoint

POST /api/v1/get_speech

Generates and streams speech audio.

Headers

Body

Response

  • Streams audio/wav bytes
  • Headers include:
    • X-Request-ID

Sample cURL request

Below is a synchronous example using Python + requests.

Parameters


Need Help?

If you have any questions or need assistance, please contact our support team at support@timepay.ai.