POST
/
TextToSpeech
curl --request POST \
  --url https://api.musicgpt.com/api/public/v1/TextToSpeech \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "voice_id": "<string>",
  "gender": "<string>",
  "webhook_url": "<string>"
}'
{
  "success": true,
  "task_id": "72eed5b0-8652-4bb4-9a95-eb0ad4850f12",
  "conversion_id": "648a6823-b2a4-47b3-801e-f452c567ae6f",
  "eta": 19
}

Authorizations

Authorization
string
header
required

Body

application/json

Response

200
application/json

Successfully initiated TTS conversion

The response is of type object.