Skip to main content
POST
V1 Generate Music

Headers

x-api-key
string

Body

application/json
is_auto
integer
required

Mandatory parameter, only the prompt parameter is valid if it is 1, otherwise, all parameters are valid.

Required range: 0 <= x <= 1
Example:

1

prompt
string
required

Mandatory parameter, generated song style

Example:

"Happy songs"

lyrics
string | null
default:""

Non-mandatory parameter, default is null

Example:

"Enter the lyrics you've created"

title
string | null
default:""

Non-mandatory parameter, default is null

Example:

"Happy Songs"

instrumental
integer | null
default:0

Non-mandatory parameter, default is 0

Required range: 0 <= x <= 1
Example:

0

Response

Successful Response