Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Body

application/json
prompt
string

A natural language prompt for music generation. Keep it under 280 characters for guaranteed results, but detailed—the clearer and more descriptive it is, the better the outcome.

music_style
string

Style of music to generate (e.g., Rock, Pop)

lyrics
string

Custom lyrics for the generated music

title
string

Title of the generated music track

make_instrumental
boolean
default:false

Whether to make the music instrumental

vocal_only
boolean
default:false

Whether to generate only vocals of output audio

gender
string

Gender of the voice model

voice_id
string

Voice model to convert generated audio

generate_album_cover
boolean
default:false

Whether to generate an album cover for the generated audio

webhook_url
string

URL for callback upon completion

Response

Successful response

success
boolean
message
string
task_id
string
conversion_id_1
string
conversion_id_2
string
eta
integer