Text To Music

Generate music from text

Args: prompt (str): the prompt duration (int, optional): the duration of the music. Defaults to 15.

Returns: MusicGeneration: generated music row

post/v1/generate-music

Request body

promptstring required
durationinteger

Response

Successful Response

{"stackTrail":"paths:/v1/generate-music:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.