π The parameters below define the request body for this API.
Parameter | Type | Required? | Description |
---|---|---|---|
prompt | string | β Required | Text description of the music. |
styleOfMusic | string | β Required | Preferred style. Select one from supported styles listed below. |
audioUrl | string | β οΈ Optional | URL to a reference audio file for influence. |
styleOfMusic
parameter must be one of the following values:
π The parameters below define the request body for this API.
Parameter | Type | Required? | Description |
---|---|---|---|
styleOfMusic | string | β οΈ Optional (Either styleOfMusic or audioUrl must be present) | Preferred style. Select one from supported styles listed above. |
lyrics | string | β Required | Lyrics to be converted into a song. |
audioUrl | string | β οΈ Optional (Either styleOfMusic or audioUrl must be present) | URL to a reference audio file for influence. |