Text-to-Speech API
Learn how to make your first Text-to-Speech API call with Dubverse
Prerequisites
Before you begin, ensure you have:
- Your Dubverse API key (If you haven’t obtained one, visit the API Key page)
- A tool for making HTTP requests (e.g., Postman, cURL, or your preferred programming language)
API Request Details
HTTP Method
POST
string
requiredThe HTTP method for the TTS API call.
Endpoint URL
https://audio.dubverse.ai/api/tts
string
requiredThe endpoint URL for the TTS API.
Headers
X-API-Key
string
requiredYour Dubverse API key.
Content-Type
string
requiredapplication/json
Request Body
text
string
requiredThe input text you want to convert to speech.
speaker_no
number
requiredThe ID of the speaker voice.
config
object
Additional configuration options.
callback_url
string
URL to receive the API response if different from the origin.