AI Music Maker GPT – Song Lyrics to Music
AI Music Maker GPT – Song Lyrics to Music · GPT 작업
Music
Free music generation API
POST /make_music_gptsGenerate music based on user-provided prompts
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Music",
"description": "Free music generation API",
"version": "v2.1.0"
},
"servers": [
{
"url": "https://aimusiclab.co/api"
}
],
"paths": {
"/make_music_gpts": {
"post": {
"operationId": "makeMusic",
"summary": "Generate music based on user-provided prompts",
"requestBody": {
"description": "Required information for generating music",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MusicRequest"
},
"example": {
"lyrics": "[Verse 1] First verse lyrics here\n[Chorus] Chorus lyrics here\n[Verse 2] Second verse lyrics here",
"title": "Your song title",
"style": "pop",
"gpts": "musicmaker2"
}
}
}
},
"responses": {
"200": {
"description": "Returns a link to the generated music",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MusicResponse"
}
}
}
},
"400": {
"description": "Invalid input",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"MusicRequest": {
"type": "object",
"properties": {
"lyrics": {
"type": "string",
"description": "Complete lyrics with section tags ([Verse], [Chorus], etc.)"
},
"title": {
"type": "string",
"description": "Title of the song"
},
"style": {
"type": "string",
"description": "Musical style or genre of the song"
},
"gpts": {
"type": "string",
"description": "Source GPTs identifier",
"default": "musicmaker2"
}
},
"required": [
"lyrics",
"title",
"style",
"gpts"
]
},
"MusicResponse": {
"type": "object",
"properties": {
"music_link": {
"type": "string",
"format": "uri",
"description": "Link to the generated music with the lyrics_id and gpts parameters (e.g. https://aisonggenerator.ai/create?lyrics_id=123&gpts=lyrics)",
"example": "aimusiclab.co/create?lyrics_id=123"
}
}
},
"ErrorResponse": {
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Error message describing what went wrong"
}
}
}
}
}
}