Skip to main content
POST
Text to Speech

Make an API call

Replace YOUR_API_KEY with your actual Dubverse API key to make a real API call. (If you haven’t obtained one, visit the API Key page) The response will be an audio file that you can play directly in the browser.

Headers

X-API-KEY
string
required

API key for authentication

Body

application/json
text
string
required

The input text you want to convert to speech.

Example:

"Welcome to Dubverse AI. Convert your text to lifelike speech with our advanced AI models."

speaker_no
integer
required

The ID of the speaker voice.

Example:

1190

config
object
callback_url
string

URL to receive the API response if different from the origin.

Response

200 - audio/wav

Successful response

The response is of type file.