POST
/
generate-music
curl --request POST \
  --url https://api.musicfy.lol/v1/generate-music \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "Electronic guitar"
}'
[
  {
    "file_url": "https://audio.musicfy.lol/file_id",
    "type": "music"
  }
]

Body

application/json
prompt
string

Response

200 - application/json
file_url
string
type
string