API Documentation
Keep in mind
Features
- POSTMusic AI
- POSTCover Song
- POSTText To Speech
- POSTSound Generator
- POSTExtraction
- POSTVoice Changer
- POSTDenoise
- POSTDeecho
- POSTDereverb
- POSTFile Conversion
- POSTAudio Transcribe
- POSTKey & BPM Extraction
- POSTAudio to MIDI
- POSTAudio Cutter
- POSTAudio Speed Changer
- POSTAudio Mastering
- POSTRemix
- POSTExtend
- POSTInpaint
- POSTSing Over Instrumental
- GETLyrics Generator
Sample Request Endpoints
Conversion Endpoints
- POSTMUSIC AI
- POSTCover
- POSTVoice Changer
- POSTText To Speech
- POSTExtraction
- POSTSound Generator
- POSTDeNoise
- POSTDeEcho
- POSTDeReverb
- POSTFile Conversion
- POSTAudio Transcribe
- POSTExtract Key BPM
- POSTAudio To MIDI
- POSTAudio Cutter
- POSTAudio Speed Changer
- POSTAudio Mastering
- POSTRemix
- POSTExtend
- POSTInpaint
- POSTSing Over Instrumental
- GETLyrics Generator
Sample Request Endpoints
Sample Conversion Request
Create music powered by AI using just a prompt, lyrics, or a defined music style.
POST
/
MusicAI
Generate Custom Music
Copy
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>",
"make_instrumental": false,
"vocal_only": false,
"voice_id": "<string>",
"webhook_url": "<string>"
}'
Copy
{
"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
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Generate Custom Music
Copy
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>",
"make_instrumental": false,
"vocal_only": false,
"voice_id": "<string>",
"webhook_url": "<string>"
}'
Copy
{
"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
}
Assistant
Responses are generated using AI and may contain mistakes.