v1
latestOpenAPI 3.1.02026-07-26273351.7 KBAI-Music-Generator
V2 Generate Music
Music generation task submission endpoints:
- Make a request with the required parameters (parameters are described in detail in the schema below).
- the endpoint will return the song information, including the song id and audio audition and image routing and task processing status (stream, error, complete).
- Song id can query song information and generation status through the query interface.
- In particular, do not use the V2 interface for arguments or responses in V1, it is just not allowed
post/v2/submit
Headers
x-api-keystring
Request body
Example request
{
"is_auto": 1,
"model_version": "v3.5",
"prompt": "Happy songs",
"lyrics": "Enter the lyrics you've created",
"title": "AI Music"
}Response
Successful Response
{"stackTrail":"paths:/v2/submit:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}