POST
/
MusicAI
curl --request POST \
  --url https://api.musicgpt.com/api/public/v1/MusicAI \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "music_style": "<string>",
  "lyrics": "<string>",
  "voice_id": "<string>",
  "webhook_url": "<string>"
}'
{
  "success": true,
  "message": "Message published to queue",
  "task_id": "4fc2cdba-005d-4d14-a208-5fb02a2809da",
  "conversion_id_1": "05092d5c-f8b1-4c96-a4a3-45bc00de6268",
  "conversion_id_2": "52fcd3b6-3925-41ed-b4c6-aee17a29e40b",
  "eta": 154
}

Authorizations

Authorization
string
header
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.