Generate Music

Generate music by providing a text description. Generations usually take bettween 1-3 minutes. Total generation time depends on the duration you select. This endpoint will submit the generation job and return immediately. To retrieve the results you must provide a webhook URL or query/poll the Get a Music Generation Job endpoint.

Body Params
string
required
Defaults to An electronic music soundtrack with a trumpet solo

A description of the music you want to generate.

string
enum
required
Defaults to melody

Select a mode, each option generates different results. Melody is best for melody, music is best for full songs

Allowed:
number
required
Defaults to 28

Duration of the generated audio in seconds. Max 30 seconds.

Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json