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
required

The HTTP method for the TTS API call.

Endpoint URL

https://macaque.dubverse.ai/api/merlin/services/tts
string
required

The endpoint URL for the TTS API.

Headers

X-API-Key
string
required

Your Dubverse API key.

Content-Type
string
required

application/json

Request Body

text
string
required

The input text you want to convert to speech.

speaker_no
number
required

The ID of the speaker voice.

config
object

Additional configuration options.

callback_url
string

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